Closed homezonebenny closed 1 day ago
How I see it ...
@fade2gray That's interessting! I saw on your screenshot that you use the new Dark Theme and instantly tested it if this is the solution and it was.
@mark-wiemer It looks like that the code coloring have a bug when you are using the "old" VSCode Theme "Dark (Visual Studio)".
When I switch the theme to the new "Dark Modern" then it seems working:
So that's the issue I want to report. :-) I hope this information helps to address the problem.
The red one is the bugged one, but green one works, and it's the same color theme like the red one:
So I "fixed" the bug for me, but still this should be adressed somehow, but maybe it's for the VSCode Developer team directly, not for your plugin.
I edited the original post to address the issue directly.
@homezonebenny This is a feature, not a bug ;)
In the default Visual Studio Dark theme, function names are white by design. You can see the same behavior in TypeScript:
export function deactivate() {
return client?.stop();
}
function decode(buf: Buffer) {
for (const td of textdecoders) {
try {
return td.decode(buf);
} catch { };
}
return buf.toString();
}
Visual Studio Dark (not recommended by me):
Default Dark+ (recommended by me):
Closing as by design / out of scope, please review issues in the VS Code repo itself to see if this is tracked work, but I'd recommend simply using Dark+ :)
There's an issue with the VSCode Theme: "Dark (Visual Studio)" and your AutoHotkey Plus Plus extension.
The coloring is messed up:
When I switch the theme to the new "Dark Modern" then it seems working:
So that's the issue I want to report. :-) I hope this information helps to address the problem.
The red one is the bugged one, but green one works, and it's the same color theme like the red one:
So I "fixed" the bug for me, but still this should be adressed somehow, but maybe it's for the VSCode Developer team directly, not for your plugin.