That is a rule from the theme's tokenColors attribute and we need to override that using textMateRules in settings.json: "editor. This can be overridden as in Sean's answer by setting lorCustomizations in settings.json: "lorCustomizations": In this case, we notice it says "No theme selector." That means the tokenColors attribute of the theme is not setting this color, rather it is the ordinary colors attribute of the theme, specifically the editor.foreground color. Open the Command Palette (Ctrl+Shift+P) and run the "Developer: Inspect TM Scopes" command.Įdit : As of VSCode 1.47.2 (and perhaps a bit earlier), the command is now called " Developer: Inspect Editor Tokens and Scopes".Īfter invoking that command, move the cursor to an identifier. Then, select the Custom mouse cursor option on the far-right side of the list, which is denoted by a colorful. In Mouse Pointer and Touch options, expand the Mouse Pointer and Style menu if necessary by clicking it. For demonstration purposes I'll change it to "#080" (medium green, as RGB). In Settings, select the Accessibility section in the sidebar, and then click Mouse Pointer and Touch. In my setup, these identifiers have the color "#D4D4D4" (light gray, as RRGGBB). Let's be specific, and try to change the "normal" text color for identifiers, etc., in a C++ source file when using the "Dark+" theme.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |