Comments (3)
Fix: Change Inherited State Var color (you can also change other colors if you want):
- Locate the extension on your machine. I'm using WSL and I found mine simply at
home/.vscode-server/extensions/tintinweb.solidity-visual-auditor-0.2.0
. If you are viewing this later, the version or naming might be slightly different. - Go into
src/features/deco.js
- Search for
darkblue
. Line 627 has the darkblue CSS decoration style, change it to whatever color you want, likeaqua
. - Reload your project in VSCode and the color should update.
For some reason there is no color on my inherited functions, which were also dark blue. (But I think this is a general bug with VSCode because inherited functions sometimes simply don't register properly).
Find CSS colors here: https://www.w3.org/wiki/CSS/Properties/color/keywords
from vscode-solidity-auditor.
I agree++. I was looking for a way to change the color of dark blue semantic highlighting for inherited things to something more visible.
The documents currently seem to say that the colors are set in stone: https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor
"
Solidity-va.deco.statevars ... decorate statevars in code view (golden, green, blue boxes)
Solidity-va.deco.arguments ... enable/disable or select the mode for semantic highlighting of function arguments. (default: 'enable' = 'color and arrow')
Solidity-va.deco.argumentsMode ... select the mode for semantic highlighting of function arguments (may require a reload)
Solidity-va.deco.argumentsSuffix ... a custom Suffix/Symbol that is appended to the decoration when performing semantic highlighting for function arguments
"
from vscode-solidity-auditor.
@alexbabits great find! Will leave the issue open, so you can do a PR that changes the defaults if you want to :)
from vscode-solidity-auditor.
Related Issues (20)
- Bug: Named parameters incorrectly highlighted HOT 1
- ftrace doesn't work for huge functions. HOT 1
- Generating the graph with type casting address(...) as a function.
- RFE: Support foundry for the `UnitTest stub` feature
- Syura Graph Feature Doesn't Work for Contracts with Named Mappings (0.8.18+) HOT 3
- Overloaded function names not displayed as expected HOT 1
- Outline not loading for some files HOT 6
- Disable "Solidity Language & Themes" only HOT 4
- Modifiable overviewruler opacity
- Add more editor tokens and scopes
- Does vscode-solidity-auditor have the following features
- Dead link in README
- Call Graph is not working, no output
- graph (this) only works on first file HOT 1
- Symbol provider doesn't support receive and fallback functions
- Zoom shortcut? How to use with no mouse (Wacom tablet or other tablet)
- Coloring is broken for some contracts
- Error
- Not able to access UML diagrams
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-solidity-auditor.