Comments (3)
@ajitid You are the master at finding inconsistencies!
Looks like the top example you gave is an issue with the textmate scope and not the theme. When typed exactly as you wrote it, the inner string is scoped as a regexp, which is why the \E
and \n
are highlighted as escape sequences.
I could fix that one singular issue, but by doing that I'd be breaking several other things. So the real fix would need to be made in (I believe) the python package.
Re: lines 2 and 3 -- not 100% certain, but from a google search, it appears that \E is not valid in python.
Closing this because it's out of scope.
from visual-studio-code.
I don't know much about theming, but other themes don't highlight escape characters in raw string.
I know \E is not an escape character.
I don't know whether I'm helping you or annoying you, but I like Dracula theme, and that's why so many issues 😅.
from visual-studio-code.
I don't know much about theming, but other themes don't highlight escape characters in raw string.
I know \E is not an escape character.
Yeah, unfortunately with the python textmate scopes, you either get highlighted escape characters or you don't; the scope is the same either way.
Additionally, \E
, \Q
, \B
, \X
, and anything in between is counted as an escaped character with the current textmate scopes, whether they are valid or not. The issue is the non-specific selectors used in the actual scope files and not the theme itself.
I don't know whether I'm helping you or annoying you, but I like Dracula theme, and that's why so many issues.
Nope, not annoying at all! Keep firing away as you see inconsistencies!
from visual-studio-code.
Related Issues (20)
- Kjjnjnjn
- Peek view background color should be BGLight instead of BG? HOT 1
- Table visibility in Jupyter HOT 1
- Visual Studio On ARM64 not Support
- JSX-tags are white and textMateRules doesn't apply HOT 3
- Markdown strikethrough font style/color is missing. HOT 1
- [Bug] bash alias syntax highlighting issues HOT 2
- PHP commands in green
- Extension removed from marketplace? HOT 1
- Extension missing HOT 1
- Horizontal separator does not match theme background color
- Unclear active tab HOT 1
- Color Change in Git Diff mode HOT 5
- F-String and # wrong colouring brackets
- Syntax Highlighting not working properly for JS/TS HOT 19
- Add V Programming Language Support
- report bug for go language when use parameter of function color not match HOT 3
- Installation issue in VScode HOT 5
- so many points in vscode
- Ruby - hash Keys & named parameter values color issue HOT 1
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 visual-studio-code.