Giter VIP home page Giter VIP logo

Comments (5)

dparnell avatar dparnell commented on June 13, 2024

That's a really interesting idea. I think it should be possible to have a special comment at the top of the file that tells the plugin which version of the wgsl spec the file contains. How does that sound?

from intellij-wgsl.

maccesch avatar maccesch commented on June 13, 2024

Yeah that would be a possibility. Another one would be to have a per project setting. Not sure which is better.
I guess whatever is easier for you to implement 😄

from intellij-wgsl.

dparnell avatar dparnell commented on June 13, 2024

This should be available in the next release. It will probably take the Jetbrains team a couple of days to approve the new version of the plugin.

The following is taken from the change log:

  • allow older syntax deprecation warnings to be turned off - #38
    • adding a comment as the first line in the file like the following will allow deprecation warnings to be disabled
      \\+ old-attribute-syntax old-struct-syntax old-attributes
      
      • old-attribute-syntax disables the warning on the old bracket style attributes
      • old-struct-syntax disable the warning for semicolons separating stuct members
      • old-attributes disables the warning for old deprecated attributes such as stage

Let me know if this does what you need

from intellij-wgsl.

dparnell avatar dparnell commented on June 13, 2024

This should be available in the Jetbrains marketplace now. Let me know if this works for you

from intellij-wgsl.

maccesch avatar maccesch commented on June 13, 2024

Thank you very much!

from intellij-wgsl.

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.