-
Notifications
You must be signed in to change notification settings - Fork 13
Description
✋Hello, dear friend first of all thanks for your great theme (I use it every day).
I have a couple of question I'm hoping you'll find ⌚ time to respond to them.
📝 ## ISSUE WITH BOLD.
1. For some tokens, the colors do not change:
C++
his tokens are:
keyword.operator
keyword.operator.delete.array.cpp

for these symbols ::
his tokens are:
punctuation
punctuation.separator.scope-resolution.constructor.cpp
Dart
code looks like this: <int>
his tokens are:
keyword.operator
keyword.operator.comparison.dart
2. If the "fontStyle": "bold" then the adjacent (brackets square and curly and other keywords and in general "all code") become an automatic "BOLD".
Question is... why all code bolded❓
C++
if I set "bold" only for "w", code:
C
if I set "bold" only for "key", code:

his tokens are:
source
meta.block.c
Python
if I set "bold" only for "one", code:
his tokens are:
source
source.python
Ruby
if I set "bold" only for "mutex", code:
his tokens are:
source
source.python
📝 ## THE HIGHLIGHTING OF A PARTICULAR WORD.
1. Why one TOKEN highlights everything... if, else, else if, return, break, ExitApp, Exit, Try, Continue .etc
How for one 1 keyword set his "own diffrent color" and make this trick for all languages❓ For example, for these files (languages):
.ahk
→ keyword.control.ahk
.c
→ keyword.control.c
.go
→ keyword.control.go
.java
→ keyword.control.java
.lua
→ keyword.control.lua
.py
→ keyword.control.flow.python
.rust
→ keyword.control.rust
.vb
→ keyword.control.asp
🔹With C# have no problem, you can highlight each keyword separately. Like this:
keyword.control.conditional.if.cs
keyword.control.loop.foreach.cs
keyword.control.conditional.else.cs
keyword.control.flow.return.cs
P.S. ··· also with C++ have no problem.
2. How to set for false red for true green color❓ For these files (languages) I find only 1 token and it colors both in one color 😞
With C# have no problem
.ahk
→ support.type.builtin.ahk
.dart
→ constant.language.dart
.rb
→ constant.language.ruby
.rs
→ constant.language.boolean.rust
.vb
→ constant.language.asp
.json
→ constant.language.json.comments
🔹 With C# no problem, you can highlight each keyword separately. For example, like this:
constant.language.boolean.true.cs
constant.language.boolean.false.cs
3. We got... library, getwd, setwd, round, cor, subset, plot, hist, abs, cor, cbind, var - how to highlight var❓
.dart - we got the token:
→ storage.type.primitive.dart
.py - we got the token
→ support.function.r
🔹 With C# no problem can only be highlighted var. For example, like this:
keyword.other.var.cs
4. For key points and alliances =, +, ==, <=, or, and, not, .., *, #. For all these, I find this token:
keyword.operator.lua
...but if I don't wanna colored words like "or, and, not" what I should do❓
🔹 With C# no problem, you can highlight each keyword separately. For example, like this:
keyword.operator.assignment.cs
keyword.other.new.cs
keyword.operator.arrow.cs
keyword.operator.comparison.cs
keyword.operator.null-coalescing.cs
keyword.operator.logical.cs
keyword.operator.relational.cs
keyword.operator.arithmetic.cs
5. For AutoHotkey (.ahk), ··· how to highlight: , $, @ ❓
📝 ## COMMENT.
1. For .ahk, .dart, .rs for these tokens:
comment.block.slashstar.ahk
comment.block.dart
…how to use the backlight only on the beginning and end of a comment, not the whole text❓
In other languages, it is implemented as follows:
punctuation.definition.comment.begin
punctuation.definition.comment.end
2. For TypeScript I find that commenting like so /// comment that has the ability to highlight each word, how can we do the same for all languages❓
📝 ## FOR THOSE LANGUAGES for which HIGHLIGHTING does not work!
.mysql, .wasm - the syntax highlighting doesn't work. Any recommendation for it❓
This is THE END, best regards! 😀





