Comments (4)
Ah, here's the offending line:
I just need to add \b
around those keywords to force a word boundary, so I'll have that fixed in the next release.
Follow-up question:
Do you have semantic highlighting turned on? I would expect this issue to be hidden in that case, since semantic highlighting would override that styling.
from stitch.
I'm not sure how to check.
I added this to my settings.json
just to test it out:
"editor.semanticHighlighting.enabled": true,
"editor.semanticTokenColorCustomizations": {
"[Dracula]": { // the theme you're using
"enabled": true, // enable semantic highlighting
"rules": {
"macro": "#A600FF",
"enum": "#FF0055",
"enumMember": "#e97400",
// Instance and struct variables
"property": "#FF00A5",
"property.static": "#FFF899",
"variable.local": "#00FFFF",
"parameter": "#10c3eb",
// Built-in variables and constants
"variable.defaultLibrary": "#58E55A",
// Your project's global variables
"variable.global": "#96FF4C",
// Built-in functions
"function.defaultLibrary": "#FFB871",
// Asset identifiers (like sprite IDs)
"variable.asset": "#d9760c"
}
}
},
"editor.tokenColorCustomizations": {
// Regular (non-contextual) syntax highlighting
"[Dracula]": {
"comments": "#7d7d7d",
"strings": "#FFFF00",
"numbers": "#FFFF00",
// etc.
}
}
After making the change, I still see the highlighting issue.
from stitch.
Huh. Does all of the rest of the highlighting work correctly? E.g with semantic highlighting enabled do you see all of the different colors you expect?
I just published 0.22.3, which fixes those patterns so that they shouldn't highlight improperly anymore. Once you get the update, please let me know if it's resolved!
from stitch.
I'm assuming this is resolved since I cannot replicate it. Closing.
from stitch.
Related Issues (20)
- Implement a TypeDefinitions provider
- Sometimes the sidebar play/edit/clean buttons don't do anything
- Add autoclean when Spine Sprites are updated
- Add option to suppress diagnostics by folder
- Add option to auto-declare global symbols by prefix
- Add workspace option to allowlist projects HOT 1
- Use GameMaker's default location for the runner cache HOT 1
- Add game icons to the tree
- New Sprites do not have their origin properly set HOT 1
- Add mechanism to boot into different configs HOT 1
- Add custom editor for sprites to allow setting the origin
- Add Spritely pipelines to VSCode HOT 1
- Checkouts causes Stitch to resave .yyp with lose of some resources HOT 2
- Add enum member value to hover tooltip? HOT 1
- When SpriteSources are not found an error icon should be added to the tree instead of having a popup
- When the runtime is not found, try to auto-install the IDE
- VSCode extenstion stopped loading project since v1.39.0 HOT 5
- MacOS & Linux Support HOT 2
- VSCode Extension: Cannot Parse GMImageFolderLayer HOT 1
- VSCode Quality of Life Improvements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stitch.