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

Support for detecting a "default" Julia environment without project structure #10

Open
christiankral opened this issue Aug 17, 2024 · 3 comments
Labels
external:lsp Related to LanguageServer.jl

Comments

@christiankral
Copy link

This is a feature request that is derived from #4 (comment) and zed-industries/zed#16102 (comment):

In the development process of a technical project I very often DO NOT have full project structure of a Julia package containing

  • a src directory
  • a project description Project.toml
  • etc.

Instead I am using standalone Julia files that I want to test and develop in a "default" Julia environment, as installed on my computer. This feature request asks for the support of standalone Julia files with no project stucture and no dependency of specific package versions. The requested functionallity is basically comparable to the Python implemention of Zed.

@whiterock for your information

@piechologist
Copy link
Collaborator

Do you know if VSCode handles your use case? The Zed extension just loads LanguageServer.jl and I would expect the same feature set in both editors.

I'm not very familiar with the LS part (and honestly, I have disabled it) but if it's only a command line parameter to pass or an environment variable to set… that would be trivial to implement.

I assume you want all LanguageServer.jl features? I'm happy with JuliaFormatter.jl and Zed's Snippet extension but that is probably too limited for most (all?) people.

@christiankral
Copy link
Author

christiankral commented Aug 25, 2024

Do you know if VSCode handles your use case? The Zed extension just loads LanguageServer.jl and I would expect the same feature set in both editors.

I am actually not familiar with VSCode as I was using Atom and Pulsar for my developments, so far.

I would expect to have the very same lanugage environment available as if started though the command line. This is basically what the Atom.jl package enabled through Juno in the Atom editor.

I assume you want all LanguageServer.jl features? I'm happy with JuliaFormatter.jl and Zed's Snippet extension but that is probably too limited for most (all?) people.

I agree, that the Zed Snippet extensions are in general too limited.

@savq savq added the external:lsp Related to LanguageServer.jl label Aug 28, 2024
@Pangoraw
Copy link
Member

Pangoraw commented Sep 3, 2024

This ought to work. May be related to this issue julia-vscode/LanguageServer.jl#1287.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external:lsp Related to LanguageServer.jl
Projects
None yet
Development

No branches or pull requests

4 participants