Code Monkey home page Code Monkey logo

Comments (6)

samdark avatar samdark commented on May 25, 2024 3

Yeah. Can not fix it until PhpStorm will see these as different types.

from intellij-visual-studio-code-dark-plus.

adrien-cuisse avatar adrien-cuisse commented on May 25, 2024

The problem is that PhpStorm puts all keywords in the same bag.

Here's a piece of code using VSCode, you can see conditions and return getting another highlight
image

The same piece of code on PhpStop
image

You can notice the isset having wrong color too (keyword for PhpStorm)

ArchLinux
Java 11
PhpStorm 2020.3
Plugin v1.4

from intellij-visual-studio-code-dark-plus.

dinbtechit avatar dinbtechit commented on May 25, 2024

Perhaps it's a good idea to have a separate plugin for PhpStorm? Or Having at least import(s) and return(s) highlighted as purple/pink would be cool :). Thoughts?

from intellij-visual-studio-code-dark-plus.

samdark avatar samdark commented on May 25, 2024

@dinbtechit well, extra tokenizing could theoretically be done in this plugin but I doubt I currently have enough time to implement it.

from intellij-visual-studio-code-dark-plus.

dinbtechit avatar dinbtechit commented on May 25, 2024

@samdark - I have time to work on this but having a hard time wrapping my head around how tokenizing works. Can you give me a basic example of how to create tokenization in this plugin?

Like you said, class, implementation, etc and import are in the same bucket keyword. Which makes impossible to change just the import's color without affecting other keyword's color. Is it possible to create a "sub-bucket" under the keyword. Sadly, JetBrain's documentation is very limited on this.

image

from intellij-visual-studio-code-dark-plus.

samdark avatar samdark commented on May 25, 2024

@dinbtechit I'm not aware of it :(

from intellij-visual-studio-code-dark-plus.

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.