Comments (8)
Now works fabulously. Guess all problems went from lack of RAM, I was running some heavy software in parallel, that's why the plugin broke down. After freeing and webStorm restart all started to work fine.
from intellij-solidity.
Hi, @IAMtheIAM!
Please ignore the previous answer, I misunderstood you.
How do we get intellij to turn on the Syntax Highlighting?
It turned on, I think your theme has the same colour for different elements. Can you enable the darkula
theme temporarily to check if the theme is the problem?
Also, it would be great to be able to customize the syntax highlighting in the Settings > Editor > Colors & Fonts menu
That functionality is not implemented yet.
from intellij-solidity.
Hi. I deleted custom theme plugin, restarted, enable Darcula theme - looks same as my original screenshot. if I use IntelliJ default theme, look like this:
Hmm, still no syntax highlighting expect for keywords
from intellij-solidity.
I was using Intellij 2016.2 - Now Using 2017.1.4 with same results.
from intellij-solidity.
@IAMtheIAM , looks like I see what you mean. The reason is grammar, a lot of lexems detects like keyword in terms of IDEA and local variables and parameters detects all like local variables. Contract name is not detects like class name etc.
I hope this will be changed in future, as I used sublime before and migrate to IDEA. I hope it will be possibility to set the same colors in future.
from intellij-solidity.
@SerCeMan, BTW, how to turn on syntax highlighting? Seems it does not automatically associate .sol files with the extensions, but even if I right click the file and select ‘Mark as Solidity’ in the context menu, it remains in default colors and even keywords aren't highlighted. I tried to reinstall the extension and some older versions too, nothing changes. Hence it does not allow debug, and without any syntax highlight support the extension looks useless.
from intellij-solidity.
@brawaga Hi! The issue title is misleading, the plugin associates *.sol
files automatically. It might not work for you if you've previously tried to associate *.sol
with something else. You can change that or add an association manually in the IntelliJ settings (Editor->File Types->Solidity
).
from intellij-solidity.
The colour scheme panel has been implemented. I'm closing this issue now; please open a new one if needed.
from intellij-solidity.
Related Issues (20)
- Some contracts are not indexed and not found when imported. HOT 3
- function arg validation doesn't work for abi HOT 1
- #region comments are not expanded as expected
- Wrong type of slashes in import on Windows
- Named mapping support HOT 1
- Error "thread limit exceeded replacing blocked worker" HOT 6
- Ctrl+Click on struct name doesn't work in some cases
- feature request: inlay gas estimation for functions HOT 2
- Fixed-size arrays code alignment
- cmd/ctrl-click on import identifier doesn't work on npm packages HOT 6
- Ctrl+Click on IShortInterfaceName does not follow to ILongInterfaceName when importing it using `as` HOT 1
- it can't report the error after I have commented a variable HOT 1
- Got error when try to parse solidity file HOT 1
- Current version [2.4.2] not compatible with current IntelliJ [222.3345.118] HOT 3
- Classes not exposed?
- Resolving reference in the same solidity file takes 5minutes! HOT 2
- 这个插件是不维护了么? HOT 1
- No Usages found / Import File HOT 4
- Add support to Ernest Young's Starlight HOT 2
- Stack overflow when resolving references in Balancer V2 repository
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 intellij-solidity.