Comments (5)
Thank you very much for this.
I did two things in v1.1.21
:
- fix an obvious issue with spaces around '=' as you noticed
- made an additional guard for when there are certain user errors (or even further highlighter issues) inside (...) so that the problem doesn't break the highlighting further down... on example where problem doesn't spread out of brackets anymore is this user typo:
for (strinfg i = 0; i < n; i++) {
I hope this fix didn't break something else, I checked on example contracts and the highlighter code itself is of enough quality that this should not be the case but still - would be grateful for checks by others... as always, report if you still find something, will be fixed....
from sublimeethereum.
Thank you very much for this report. Fixed in 1.1.10
. Please write back if you find any other issue.
from sublimeethereum.
Thank you!
from sublimeethereum.
Still have the problem of loop.
It doesn't work when the code is like
for (i=1; i < n; i ++)
but it works when the code is like:
for (i = i; i < n; i++)
Is that as expected? I just feel really weird...
My Ethereum package version: v1.1.20, Sublime Text: v3.2.1
Screenshots attached:
Thanks!
from sublimeethereum.
Thanks so much!
from sublimeethereum.
Related Issues (20)
- Highlighter fails on "mapping" function arguments
- double slash inside string is causing a comment HOT 1
- Blocks inside a function break syntax highlighting HOT 2
- Wrong highlighting on anonymous function arguments with location HOT 3
- Any plan to make one for Atom? HOT 4
- Add support for Solidity 0.6 features HOT 17
- Solidity 0.6 top-level structs HOT 6
- Solidity 0.6 custom type + immutable HOT 1
- Add support for do...while loops HOT 5
- Incompatibility with different strings specifiers HOT 4
- Package Cotrol installation issue HOT 1
- add EtherumSoliditySnippets package in sublime4,but doesn't work HOT 1
- Syntax-color does not work in helper HOT 1
- How To Install without error's HOT 7
- Modifier in constructor doesn't work and breaks other highlightings HOT 4
- calldata keyword doesn't get highlighted in a variable declaration HOT 2
- A constant as the array size in a function declaration breaks highlighting of following elements HOT 3
- Add natspec support HOT 2
- Package Not In List for Sublime 4 MacOS HOT 1
- Quotes are not escaped inside of strings HOT 3
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 sublimeethereum.