Giter VIP home page Giter VIP logo

Comments (8)

brawaga avatar brawaga commented on May 28, 2024 1

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.

SerCeMan avatar SerCeMan commented on May 28, 2024

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.

IAMtheIAM avatar IAMtheIAM commented on May 28, 2024

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:

solid_2017-06-14_1316

Hmm, still no syntax highlighting expect for keywords

from intellij-solidity.

IAMtheIAM avatar IAMtheIAM commented on May 28, 2024

I was using Intellij 2016.2 - Now Using 2017.1.4 with same results.

from intellij-solidity.

dzarezenko avatar dzarezenko commented on May 28, 2024

@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.

brawaga avatar brawaga commented on May 28, 2024

@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.

SerCeMan avatar SerCeMan commented on May 28, 2024

@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.

SerCeMan avatar SerCeMan commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.