Skip to content
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

IDE Support: Tracking Issue #10

Open
7 of 10 tasks
Jamalam360 opened this issue Mar 13, 2023 · 28 comments
Open
7 of 10 tasks

IDE Support: Tracking Issue #10

Jamalam360 opened this issue Mar 13, 2023 · 28 comments
Assignees
Labels
enhancement New feature or request new editor

Comments

@Jamalam360
Copy link
Contributor

Jamalam360 commented Mar 13, 2023

This issue tracks progress on support for IDEs other than VSCode.

Progress

General Tasks

  • Pull request and merge the rewrite to Tower LSP, allowing us to communicate over std i/o as defined via the LSP specification.
  • Create an XML TextMate syntax - I haven't seen another editor that supports the JSON TextMate bundles that VSCode uses (maybe VSCode can use the XML ones so that there's only one source of syntax truth?).

Editor List

  • VSCode
  • Sublime Text
  • Helix
  • (Neo)vim
  • Emacs
  • Lapce; on hold, see comments
  • IntelliJ IDEs
  • Zed

Do you use an editor that isn't on this list? Please let us know in the comments so we are aware.

@Jamalam360 Jamalam360 added enhancement New feature or request new editor labels Mar 13, 2023
@Jamalam360 Jamalam360 self-assigned this Mar 13, 2023
@Jamalam360 Jamalam360 pinned this issue Mar 13, 2023
@tomtau
Copy link

tomtau commented Mar 14, 2023

Emacs? I don't use it for Rust much though

@tomtau
Copy link

tomtau commented Mar 17, 2023

https://lapce.dev/ - I haven't tried this editor, but looks cool for Rust

@elenakrittik
Copy link

Getting working lsp integration in Helix is straightforward but without syntax highlighting it looks quite incomplete. Unfortunately, Helix only supports Tree-sitter grammars and not TextMate ones, so there should be a TS grammar to make full experience. Thanks for your work!

@Jamalam360
Copy link
Contributor Author

That is unfortunate but I will look into making a tree-sitter grammar as well

@Jamalam360
Copy link
Contributor Author

As far as I understand we can send a pull request to https://github.com/helix-editor/helix/blob/master/languages.toml to get the server added officially. @ItsAleph do you know if that is correct?

@elenakrittik
Copy link

Yes, the file you linked is the one controlling built-in support for language servers (though user can override these using user-scope ~/.config/helix/languages.toml or project-scope .helix/languages.toml).

@Jamalam360
Copy link
Contributor Author

Thank you

@elenakrittik
Copy link

elenakrittik commented Apr 17, 2023

https://lapce.dev/ - I haven't tried this editor, but looks cool for Rust

Just tried it out and it looks like the plugin providing rust support suffers from several high-severity issues (up to not working at all, see lapce/lapce-rust#24, which happened to me too). There isn't any active development happening on it either. Since one would likely want to work with both pest and rust in the same editor, there isn't much reason to put effort into creating a plugin for lapce right now.

@Jamalam360
Copy link
Contributor Author

Thank you for bringing this up

@wale
Copy link

wale commented Jun 12, 2023

Update the IntelliJ plugin to use the LSP?

@Jamalam360
Copy link
Contributor Author

No, probably not going to happen unfortunately. Intellij IDEs (other than the upcoming Fleet) don't support the LSP natively.

@Jamalam360
Copy link
Contributor Author

Good news! This news just came out today, the future is looking good!

https://blog.jetbrains.com/idea/2023/06/intellij-idea-2023-2-eap-7/

@TiemenSch
Copy link

Would you mind publishing the VSX extension to the https://open-vsx.org/ registry as well?
That would enable VSCodium support :)

@Jamalam360
Copy link
Contributor Author

We will look into it

@tomtau
Copy link

tomtau commented Jul 30, 2023

Would you mind publishing the VSX extension to the https://open-vsx.org/ registry as well?
That would enable VSCodium support :)

@TiemenSch I manually published it here: https://open-vsx.org/extension/pest/pest-ide-tools for the time being, but it should be easy to add it to the existing automated pipeline for new versions later

@Jamalam360
Copy link
Contributor Author

CI set up for OpenVSX

@Jamalam360
Copy link
Contributor Author

helix-editor/helix#7878

@inferiorhumanorgans
Copy link

inferiorhumanorgans commented Nov 21, 2023

FWIW I've created a rough tree-sitter parser here:

https://sr.ht/~az1/tree-sitter-pest/

@TheBlckbird
Copy link

TheBlckbird commented Dec 9, 2023

What about Zed?
But I’m not sure if it has extension support

@tomtau
Copy link

tomtau commented Dec 9, 2023

What about Zed? But I’m not sure if it has extension support

From their website:

Rust remains our primary focus in the short term, but Zed currently has hard-coded language server support for:

So I think it's not possible at the moment, but given they use LSP, I assume it won't be too complex to add once they allow arbitrary extensions.

@Jamalam360
Copy link
Contributor Author

Yeah, we'll just have to wait and then I imagine it will be similar to (neo)vim in terms of what's needed from us

@tomtau
Copy link

tomtau commented Feb 8, 2024

@TheBlckbird I opened this issue: zed-industries/extensions#194

@TheBlckbird
Copy link

@tomtau Thank you!

@tomtau
Copy link

tomtau commented Mar 21, 2024

@huacnlee FYI this issue tracks the Zed support: zed-industries/extensions#194
there was this previous tree sitter grammar: https://sr.ht/~az1/tree-sitter-pest/

@huacnlee
Copy link
Member

@tomtau
Copy link

tomtau commented Mar 21, 2024

@huacnlee awesome work!

@erasin
Copy link

erasin commented Apr 30, 2024

helix-editor/helix#10616 helix supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new editor
Projects
None yet
Development

No branches or pull requests

9 participants