Comments (4)
Thanks @Paiusco
I'm not entirely sure what you're proposing. Could you please have a side-by-side comparison photo or something?
We can scope the highlighting to specific language, so we can introduce this change for C++ only if you think that'd help C++ dev.
from vscode-theme-gruvbox.
I actually think that would help any OO language
Take a look into this example:
class A {
public:
A() {};
bool foo(int parameter_int);
private:
int internal_int;
}
bool
A::foo(int external_int)
{
return external_int == internal_int; // Tag: Here!!!
}
int main()
{
A a;
a.foo(2);
}
Here!!! : How does one know, by gruvbox colours which int
is a class member and which isn't??
My project nowadays uses Hungarian notation for member variables (m_
), e.g. in my example internal_int
would necessarily become m_internal_int
. Which IMHO seems good enough, however, still error prone. Meaning that every new dev has to know that and check every review for it.
In Monokai, as previously mentioned by me, they even use different colours for methods parameters (colour + italic) and local variables.
from vscode-theme-gruvbox.
Thanks @Paiusco , I'm happy to accept what would help. Do you have time to work on a PR ? It'd be helpful to include some screenshots before & after the change.
If you think you can target other languages, that's fine, just please make sure that the changes won't completely modify the views. There's a few code examples in this repo, feel free to use to test & add more if needed.
from vscode-theme-gruvbox.
Sorry for the long delay on this.
I've started to play around those issues, as I don't have a good knowledge on JS, it took me a while to realise that it's not a matter of changing colours.
So here is a Monokai scope of a class member variable:
What's exactly missing there for gruvbox be able to see it as it should? So if anyone can help I'd be happy to open a PR and also add an specific '.cpp' test file (that's compile-able) :)
from vscode-theme-gruvbox.
Related Issues (20)
- go language full support - enhancement req HOT 2
- Typescript bad highlighting with `typeof x extends...` HOT 1
- Not consistent color HOT 2
- Python match/case syntax highlight is not supporting HOT 2
- Want a nvim version of this theme HOT 1
- Python, a bug when using "type hints" HOT 1
- Inlay hints show odd colour HOT 1
- Syntax highlighting in documentation
- Improve inlayHints colors HOT 1
- Add support for language Rust
- json syntax highlighting changes color depending on the scope depth HOT 1
- Python syntax highlighting is worse after the latest update HOT 19
- C# syntax highlighting is broken after the latest update HOT 3
- TS syntax color is very orange after update HOT 9
- double outline
- markup.bold shouldn't have foreground color like markup.heading
- vue custom component tag highlight HOT 1
- Custom background color HOT 1
- white text changed to blue
- Support for Material theming?
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 vscode-theme-gruvbox.