JuliaEditorSupport / zed-julia

Julia support for Zed.
MIT License
43 stars 7 forks source link

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

Open christiankral opened 2 months ago

christiankral commented 2 months ago

This is a feature request that is derived from https://github.com/JuliaEditorSupport/zed-julia/issues/4#issuecomment-2282894402 and https://github.com/zed-industries/zed/issues/16102#issuecomment-2284239325:

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

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 commented 2 months ago

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 commented 2 months ago

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.

Pangoraw commented 2 months ago

This ought to work. May be related to this issue https://github.com/julia-vscode/LanguageServer.jl/issues/1287.