Disable italic font in comments #351
-
Hello everyone, Is there a way to disable italic font in comments for this language? I like comments greyed-out like they are now, but I don't like them italic in AHK scripts. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Curious to see a screenshot. My comments use the same font style as the rest of the code, and they're green, not greyed-out. Maybe you changed a setting somewhere? |
Beta Was this translation helpful? Give feedback.
-
Heyo, checking in on old issues. Unfortunately this is outside the scope of this extension. The extension "tokenizes" the code and says "this part is comments, this is a variable, etc", that's the only info it provides. The VS Code theme says "oh, this token is a comment? Let me italicize it", and that theme is entirely separate from this repo. If you haven't found a workaround, I'd suggest just changing themes for your AHK workspaces. Unfortunately this isn't a language-specific feature and must apply to the entire workspace. |
Beta Was this translation helpful? Give feedback.
Heyo, checking in on old issues. Unfortunately this is outside the scope of this extension. The extension "tokenizes" the code and says "this part is comments, this is a variable, etc", that's the only info it provides. The VS Code theme says "oh, this token is a comment? Let me italicize it", and that theme is entirely separate from this repo.
If you haven't found a workaround, I'd suggest just changing themes for your AHK workspaces. Unfortunately this isn't a language-specific feature and must apply to the entire workspace.