ImJustPassinBy

joined 11 months ago
[โ€“] [email protected] 1 points 9 months ago

You could try to add some manual padding on the top: https://elpa.gnu.org/packages/spacious-padding.html

[โ€“] [email protected] 1 points 11 months ago (1 children)

Melpa downloads might not be a 100% accurate measure for usage, but I think it's still 100x times better than a measure that relies on user reporting their key-strokes.

 

I just tried out eglot today, and I must say that I am very very impressed. However, like all software, the julia language server has a few quirks that need to be worked around. Long story short, I have two folders (not nested or anything):

  • folder1 - A git repository of a large julia project that I cloned. Starting eglot here only works partially. Anything imported from other packages is a missing reference.

  • folder2 - A folder I created with various scripts that I wrote for the project in folder1. It contains a Project.toml detailing the necessary julia environment for those scripts to work. Starting eglot here works flawlessly. Both functions defined in folder1 as well as the other packages folder1 relies upon are referenced correctly.

Is there a way for me to start eglot in folder2 but have it work as if I have started it in folder1?

I believe one potential solution might be to tell Project.el that the git repository in folder1 belongs to the project in folder2, but I couldn't find a command for doing so.

Alternatively, can I tell eglot in folder1 to connect to the language server that was started by eglot in folder2?

edit: Hope the question makes sense, and apologies if not everything is phrased in the correct language. I'm pretty new to both eglot and project.el. Many thanks in advance for any help or hints!