LanguageServer.jl icon indicating copy to clipboard operation
LanguageServer.jl copied to clipboard

An implementation of the Microsoft Language Server Protocol for the Julia language.

Results 195 LanguageServer.jl issues
Sort by recently updated
recently updated
newest added

We need to actually check the client's capabilities on startup and adjust the responses to requests accordingly, for example not all clients support snippet completions.

bug
vim

Turns out that for example the github extension will open files that do not exist on disc via `didOpen`, with a URI that starts with `pr:`. So I think in...

bug

My proposal here would be the following: - we never add a file to the `server._documents` collection if that file is outside of the current workspace, _unless_ we receive a...

discussion

It should be possible to declare that `DocumentUri` is just an alias for `URI2`, and then all these `uri` fields would have the right type from the beginning.

enhancement

From crash reporting [here](https://portal.azure.com/#blade/AppInsightsExtension/DetailsV2Blade/ComponentId/%7B%22Name%22%3A%22julia-vscode-dev%22%2C%22SubscriptionId%22%3A%226803c4ed-bcb4-41d4-bceb-7faf5e7a3469%22%2C%22ResourceGroup%22%3A%22Default%22%7D/DataModel/%7B%22eventId%22%3A%22b9bd5d80-4191-11ea-839a-df6149a8f5f6%22%2C%22timestamp%22%3A%222020-01-28T05%3A47%3A37.843Z%22%2C%22cacheId%22%3A%22cb358880-64b0-4836-b24d-c88b426b3d5c%22%2C%22eventTable%22%3A%22exceptions%22%7D). ``` EOFError: at read (iobuffer.jl212) at read (io.jl697) at get_offset(::LanguageServer.Document, ::Int64, ::Int64) (./scripts/languageserver/packages/LanguageServer/src/document.jl68) at get_offset (./scripts/languageserver/packages/LanguageServer/src/document.jl84) at process(::LanguageServer.JSONRPC.Request{Val{Symbol("textDocument/codeAction")},LanguageServer.CodeActionParams}, ::LanguageServerInstance) (./scripts/languageserver/packages/LanguageServer/src/requests/actions.jl5) at run(::LanguageServerInstance) (./scripts/languageserver/packages/LanguageServer/src/languageserverinstance.jl185) at top-level scope...

bug

From [crash reporting](https://portal.azure.com/#blade/AppInsightsExtension/DetailsV2Blade/ComponentId/%7B%22Name%22%3A%22julia-vscode%22%2C%22SubscriptionId%22%3A%226803c4ed-bcb4-41d4-bceb-7faf5e7a3469%22%2C%22ResourceGroup%22%3A%22Default%22%7D/DataModel/%7B%22eventId%22%3A%22874cc961-873e-11ea-84c3-bf4f2fa54ef2%22%2C%22timestamp%22%3A%222020-04-25T21%3A48%3A26.456Z%22%2C%22cacheId%22%3A%22fcd2e963-df13-4965-be22-688695f38c3f%22%2C%22eventTable%22%3A%22exceptions%22%7D). Error message: ``` BoundsError: attempt to access 0-element Array{Any,1} at index [1] ``` Stack trace: ``` BoundsError: at getindex (array.jl729) at show_import_path(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Expr) (show.jl1082) at show_import_path(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Expr)...

bug

We've talked a fair bit about getting Revise to work properly in vscode's terminal, but I've finally noticed that some of my problems with vscode itself may be specific to...

bug

From [crash reporting](https://portal.azure.com/#blade/AppInsightsExtension/DetailsV2Blade/ComponentId/%7B%22Name%22%3A%22julia-vscode%22%2C%22SubscriptionId%22%3A%226803c4ed-bcb4-41d4-bceb-7faf5e7a3469%22%2C%22ResourceGroup%22%3A%22Default%22%7D/DataModel/%7B%22eventId%22%3A%225cf8dec1-688e-11ea-837a-3feac4fb451b%22%2C%22timestamp%22%3A%222020-03-17T20%3A31%3A49.117Z%22%2C%22cacheId%22%3A%22fd2abbd0-8af3-471a-aa7a-050745131602%22%2C%22eventTable%22%3A%22exceptions%22%7D). Stack trace: ``` LanguageServer.JSONRPCEndpoints.JSONRPCError: at send_request(::LanguageServer.JSONRPCEndpoints.JSONRPCEndpoint, ::String, ::LanguageServer.ConfigurationParams) (.\scripts\languageserver\packages\LanguageServer\src\jsonrpcendpoint.jl161) at request_julia_config(::LanguageServerInstance) (.\scripts\languageserver\packages\LanguageServer\src\requests\workspace.jl77) at process(::LanguageServer.JSONRPC.Request{Val{:initialized},Dict{String,Any}}, ::LanguageServerInstance) (.\scripts\languageserver\packages\LanguageServer\src\requests\init.jl159) at run(::LanguageServerInstance) (.\scripts\languageserver\packages\LanguageServer\src\languageserverinstance.jl233) at top-level scope (.\scripts\languageserver\main.jl28) at include (boot.jl328) at...

bug

From [crash reporting](). Error message: ``` get_offset crashed. More diagnostics: line=2 character=1 position(io)=33 line_offsets='[0, 13, 25]' text='aaaaaaaaaaaa aaaaaaaaaaa aaaaaaaa' original_error=ERROR: EOFError: read end of file Stacktrace: [1] read at ./iobuffer.jl:212...

bug
upstream

I am using LanguageServer with eglot and a recent update (to something) has broken things. I had customized a lint variable thru eglot. Apparently eglot sends Nothings for unchanged options...

bug
non-vscode