Giter Club home page Giter Club logo

Comments (11)

ice1000 avatar ice1000 commented on May 24, 2024

I know it's deprecated

from intellij-zig.

ice1000 avatar ice1000 commented on May 24, 2024

I just lost interest in developing idea plugins. I think someone should take the code and make a better plugin.

from intellij-zig.

koekiebox avatar koekiebox commented on May 24, 2024

Ok @ice1000 . I will do a merge request if you have the time to review and approve/merge? I have never done an IntelliJ plug-in and keen to try it out. Thank you!

from intellij-zig.

ice1000 avatar ice1000 commented on May 24, 2024

Ok @ice1000 . I will do a merge request if you have the time to review and approve/merge? I have never done an IntelliJ plug-in and keen to try it out. Thank you!

It is very hard to make IDEA plugins. Also, users won't be nice to you. They'll yell at you because of your free work. I've tasted that before.

My recommendation is: don't do it.

However, PRs are welcomed. Go for it, and I'll review. I expect a few lines of changes.

from intellij-zig.

anatol avatar anatol commented on May 24, 2024

@ice1000 thank you for all the work you've done for the language and for the community. It would be really great if this plugin continue developed. Maybe you can send a message to Zig reddit and ask for volunteers to step up?

from intellij-zig.

ice1000 avatar ice1000 commented on May 24, 2024

@ice1000 thank you for all the work you've done for the language and for the community. It would be really great if this plugin continue developed. Maybe you can send a message to Zig reddit and ask for volunteers to step up?

I would expect potential volunteers to be coming here and PR/asking me questions/create new projects directly, and if they're reluctant (or do not have the programming capabilities, as creating IJ plugin = debug a 1M loc Java project everyday) they won't response either.

I've experienced the same with the Julia plugin. The Julia language, I believe, has more users than Zig. The situations are the same.

from intellij-zig.

anatol avatar anatol commented on May 24, 2024

For the original problem, the fix should be relatively simple, something like

class ZigRunConfigurationFactory(type: ConfigurationType) :
...
   override fun getId() = ZIG_RUN_CONFIG_ID
...

I briefly looked at the plugin sources, and I could say that it is indeed a heroic effort to implement and maintain something like this. And it would be a pity to lose such a useful project.

I tried to build the project against the latest idea plugin SDK. I see there are numerous incompatibilities (+ a lot of deprecated API use).

@ice1000 Is there any chance you can reconsider dropping this plugin? I feel you have a lot of Intellij plugin development experience, and somebody like you would be a great leader for the project.

from intellij-zig.

anatol avatar anatol commented on May 24, 2024

A bit of context about why I posted my questions. I am trying to learn Zig. It has some interesting language features that I want to try.

I came from Golang development land and one of the reasons I like Go is that it has great IDE support. Having a good language plugin makes the learning/development process much more pleasant. Zig language definitely needs such IDEA plugin.

from intellij-zig.

ice1000 avatar ice1000 commented on May 24, 2024

It has some interesting language features that I want to try.

It was also the reason why I made this project. Unfortunately, I had too many classes in my sophomore year (2019) so I abandoned almost all of my intellij plugin projects.

I tried to build the project against the latest idea plugin SDK. I see there are numerous incompatibilities (+ a lot of deprecated API use).

Yes. I do not have time to fix all of them. What users see is just one error -- the id thing. What I see is those numerous incompatibilities. IntelliJ SDK is changing every single day. I am not paid to do this.

from intellij-zig.

ice1000 avatar ice1000 commented on May 24, 2024

Right now, in 2022, I'll have to apply for graduate school, so I have even less time.

from intellij-zig.

ice1000 avatar ice1000 commented on May 24, 2024

Basically, there are many issues. I'll try to list the ones I can think of, in case any potential next-hero stumble by.

  1. The obvious problems. Fix the build script (it has some hacks on finding a local IDE so you don't have to download the intellij source to build the project) and the deprecations if possible.
  2. Update the grammar. The Zig language is evolving. The syntax needs to be updated.
  3. Update the way it runs Zig code. See my comment #35 (comment)
  4. Implement stub indices. This part is undocumented and is the most important thing to make cross-file support work. If you try to do this you'll see how hard ij plugin dev is.

from intellij-zig.

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.