Colors...
@liuxy0551 ci sta già lavorando.
Dal 9/5/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Not really an issue, more a few improvements for colorization ;-)
Currently, I'm using the onigasm with vsdarkplus theme for pgplsql.
This is an example how my code looks like:
When I paste this in your playground; I get the following:
A few things caught my mind:
- The "replace" part of "create or replace" is recognized as function rather than statement.
- The word "begin" at the start of the function body should be colored as control flow
- The column- and table names have no special meaning, so the default colorizer keeps them uncoloured. In your version, I do not see a difference. I would imagine that I can feed a data model to the language server in order to perform auto complete and may be to colorize them in a special color when the table name is recognized (as Dbeaver now does, see below)
- I changed one rule in the original colorizer: I colorize words that start with an underscore with an alternate color. That's just a personal taste because I always declare variables with underscores to prevent ambiguity. You can see the effect in the "select ... into..." part.
dbeaver example:
- Lingua principale
- TypeScript
- Stelle
- 295
- Fork
- 50
- Merge medio
- 1h 21m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DTStack/monaco-sql-languages
-
DTStack/monaco-sql-languages#215 · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
DTStack/monaco-sql-languages#213 · 1 commento ·
-
add support for clickhouse Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
DTStack/monaco-sql-languages#210 · 1 commento ·
-
add support for mssql Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
DTStack/monaco-sql-languages#209 ·
-
documentation help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
DTStack/monaco-sql-languages#204 ·
Tutte le issue di DTStack/monaco-sql-languages
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100