manifold icon indicating copy to clipboard operation
manifold copied to clipboard

Support for the VS Code IDE

Open gae123 opened this issue 5 years ago • 18 comments

I started using this technology to call GQL from a Java client. I am very impressed.

However, we use VS Code as our IDE and without IDE support guessing the generated method names etc is very challenging.

Please consider a VS Code plugin..

gae123 avatar Nov 27 '19 03:11 gae123

Excellent suggestion. I'll have a look at the VS Code extension API, with any luck it'll provide the necessary hooks. Manifold is currently supported exclusively on IntelliJ IDEA. Other IDEs on the list include Eclipse and NetBeans, but (shhhh) I think I'm going to support VS Code first. Thanks again for suggesting this!

rsmckinney avatar Nov 27 '19 05:11 rsmckinney

A cursory examination of the VS Code extension API reveals the Java LSP is a retread of the Eclipse JDT running in the background (LOL). I was hoping for a nicer architecture similar to IntelliJ IDEA. The silver lining: implementing a Manifold plugin for Eclipse equates to implementing a plugin for VS Code. I guess my work is cut out.

rsmckinney avatar Nov 27 '19 21:11 rsmckinney

Relates to: https://github.com/manifold-systems/manifold/issues/18

rsmckinney avatar Nov 27 '19 21:11 rsmckinney

in progress

rsmckinney avatar Nov 27 '19 21:11 rsmckinney

I've suspended further development on this, will consider reopening at a later date.

rsmckinney avatar Jan 31 '20 19:01 rsmckinney

Just a suggestion: you could remove this from the roadmap at https://manifold.systems/roadmap.html

ivarec avatar Feb 10 '21 14:02 ivarec

Heheh. Thanks. I still haven't quite ruled it out.

rsmckinney avatar Feb 11 '21 05:02 rsmckinney

Why was development suspended? Especially since Eclipse is such a commonly used IDE? (Yes, I'm aware this is the VSCode thread, but I use VSCode, and VSCode just uses Eclipse)

Gaming32 avatar Sep 17 '21 13:09 Gaming32

Hi @Gaming32. Put simply, I don’t have the time. Manifold itself + the IntelliJ plugin are quite a lot for a side project. Adding an Eclipse plugin would send me to divorce court.

rsmckinney avatar Sep 17 '21 14:09 rsmckinney

The problem is that I legit can't use Manifold unless it has some sort of VSCode support. Can you add support for APT at least? (also I feel like this is the second time I'm writing this, but I guess it's not)

Gaming32 avatar Dec 18 '21 02:12 Gaming32

Hi @Gaming32. Can you explain why you need VSCode support? Would APT support be enough to justify using manifold with VSCode as-is?

I'm not quite sure what APT support entails, sorry, I'm not a frequent linux user and know little about apt beyond it being a packaging/deployment tool. If supporting APT isn't crazy, I'll have a look at implementing that.

Also, a couple of recent developments:

  • I may be assisting a company some time next year to build a manifold LSP plugin for VSCode. It will implemented by them and it was agreed to be shared and open source. I don't think they are looking at full coverage of manifold, probably just the features they require. The ball is currently in their court, I'm not sure of the timeframe.

  • JetBrains is working on a new "light weight" IDE: Fleet. At least part of the plugin API will be LSP-based. If there is enough overlap between their LSP (it's not quite standard) and VSCode LSP, that will change my outlook toward supporting VSCode.

rsmckinney avatar Dec 18 '21 03:12 rsmckinney

Oh, by APT support, I meant Annotation Processing Tool, not Linux Aptitude. The Eclipse JDT supports APT through Maven, with some fiddling.

Gaming32 avatar Dec 18 '21 11:12 Gaming32

Ah, ok that makes more sense

rsmckinney avatar Dec 19 '21 18:12 rsmckinney

Can this be reopened? Even if you don't intend to work on it, people browsing through the issues tab might see it and decide to work on it themselves. I do plan to begin working on this myself as well.

Gaming32 avatar Apr 04 '22 14:04 Gaming32

@Gaming32 It’s open now.

rsmckinney avatar Apr 04 '22 15:04 rsmckinney

Do you have a Discord or some other way we could talk more in real time? I think I have Eclipse JDT AST manipulation almost down, but I don't really understand how Manifold itself works, so I need some help with that.

Gaming32 avatar Apr 05 '22 17:04 Gaming32

The Slack channel is probably the right place for this. I'm there on and off throughout the day.

rsmckinney avatar Apr 05 '22 18:04 rsmckinney