non-Jedi / eglot-jl

Wrapper for using Julia LanguageServer.jl with emacs eglot
Creative Commons Zero v1.0 Universal
62 stars 11 forks source link

Eglot-jl doesn't initialize properly #29

Closed surya-chak closed 1 year ago

surya-chak commented 2 years ago

Hello,

I am trying to get this to work and even after doing everything that was prescribed in the read.md file, the eglot-jl doesn't want to work. It creates gives me no suggestions at all and does not allow flymake to work either. Attached below is the initial compile log after starting eglot. I'm not sure what is it that I'm doing wrong but a couple of things that stood out to me are

1.) the value of depot_path="" which doesn't seem to be right 2.) when I tried to evaluate the eglot-jl.jl from my .emacs.d that doesn't seem to run error-free either.

I'd appreciate absolutely any help that you can give me with respect to this.

[client-request] (id:1) Sat Dec 11 19:25:57 2021: (:jsonrpc "2.0" :id 1 :method "initialize" :params (:processId 2012173 :rootPath "/home/surya/" :rootUri "file:///home/surya" :initializationOptions #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ()) :capabilities (:workspace (:applyEdit t :executeCommand (:dynamicRegistration :json-false) :workspaceEdit (:documentChanges :json-false) :didChangeWatchedFiles (:dynamicRegistration t) :symbol (:dynamicRegistration :json-false) :configuration t) :textDocument (:synchronization (:dynamicRegistration :json-false :willSave t :willSaveWaitUntil t :didSave t) :completion (:dynamicRegistration :json-false :completionItem (:snippetSupport t) :contextSupport t) :hover (:dynamicRegistration :json-false :contentFormat ["markdown" "plaintext"]) :signatureHelp (:dynamicRegistration :json-false :signatureInformation (:parameterInformation (:labelOffsetSupport t) :activeParameterSupport t)) :references (:dynamicRegistration :json-false) :definition (:dynamicRegistration :json-false :linkSupport t) :declaration (:dynamicRegistration :json-false :linkSupport t) :implementation (:dynamicRegistration :json-false :linkSupport t) :typeDefinition (:dynamicRegistration :json-false :linkSupport t) :documentSymbol (:dynamicRegistration :json-false :hierarchicalDocumentSymbolSupport t :symbolKind (:valueSet [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26])) :documentHighlight (:dynamicRegistration :json-false) :codeAction (:dynamicRegistration :json-false :codeActionLiteralSupport (:codeActionKind (:valueSet ["quickfix" "refactor" "refactor.extract" "refactor.inline" "refactor.rewrite" "source" "source.organizeImports"])) :isPreferredSupport t) :formatting (:dynamicRegistration :json-false) :rangeFormatting (:dynamicRegistration :json-false) :rename (:dynamicRegistration :json-false) :publishDiagnostics (:relatedInformation :json-false)) :experimental #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data ())))) [stderr] nil [stderr] No Changes to ~/.emacs.d/elpa/eglot-jl-20211208.359/Project.toml [stderr] No Changes to ~/.emacs.d/elpa/eglot-jl-20211208.359/Manifest.toml [stderr] [ Info: Environment successfully resolved [stderr] ┌ Info: Running language server [stderr] │ env = "/home/surya/.emacs.d/elpa/eglot-jl-20211208.359/Project.toml" [stderr] │ src_path = "/home/surya/" [stderr] │ project_path = "/home/surya/.julia/environments/v1.6" [stderr] └ depot_path = ""

non-Jedi commented 1 year ago

Hi @surya-chak. Sorry I missed this issue; not sure how that happened. If you're still having this same issue with newest tags of eglot-jl, let me know, and we can reopen this, and I can try to help troubleshoot.