-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper IDE support for Wasp projects #570
Comments
Feedback from @joanreyero:
Can we provide some quick solution via prettier? At least to get the formatting working? |
Discussion about an idea on how to get IDE to nicely treat special
|
Btw here is a bit of experimenting in the direction of Wasp via TS: https://github.com/wasp-lang/ast-wasp . |
Also, I bet there are some other projects out there with similar challenges like this! We should try searching for such projects and investigating how are they implementing their IDE support. |
Nice idea by @realamirhe -> add the ability to jump between the Wasp definition of Operation (Query, Action) and JS definition of it. |
State on 5.7.2023.
Wasp already has LSP support (#204) and a VS Code plugin.
A list of IDE support issues:
Some of these are probably editor-specific but related. If not, we can later break them up into multiple tasks.
A list of relevant RFCs and docs:
Original issue
When developing a Wasp project, we want all the expected IDE functionalities to be there for the developers. We can focus on VSCode first, but would also want to support other popular editors.
Features we want:
And we want this for .wasp files, and also for js/ts/html/css/... files. Also, for pieces of Prisma Schema Language that we use in .wasp files.
This is a big undertaking, and biggest part of it is probably developing LSP for Wasp, and figuring out how to integrate existing LSPs for TS/JS/HTML/... with it, especially while taking into account that Wasp is transpiler and generates code.
We currently have Wasp language extension for VSCode, but it is outdated and does only syntax highlighting, very crude.
Two main directions that we have been thinking about are:
The text was updated successfully, but these errors were encountered: