LanguageServer.jl
LanguageServer.jl copied to clipboard
An implementation of the Microsoft Language Server Protocol for the Julia language.
For example, in the root of the `Example.jl` repo when editiing a file `foo.jl` `using Example` gives "`Missing reference"` and same with functions defined within `Example`.
LanguageServer.jl can check calls with functions loaded using `include`, but when using Revise's `includet`, I'll get `Missing reference: FUNCTION_NAME`. Ex: main.jl ```julia using Revise includet("foo.jl") bar() #
In a very simple minimal environment with only `DiffEqOperators` added to the `Project.toml` and a `main.jl` that only contains the following code ```julia using DiffEqOperators: DiffEqOperators, CenteredDifference, Dirichlet0BC ``` Both...
Is it possible to specially parse the reexport using statement? ```julia using Reexport @reexport using SomePackage ``` so that it is parsed as without the @reexport macro. Now all the...
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%22413cf7b2-6538-11ea-bdc4-5bf5a63cfddc%22%2C%22timestamp%22%3A%222020-03-13T14%3A37%3A50.930Z%22%2C%22cacheId%22%3A%2220f3b128-2132-4027-82f4-d3de0fe22123%22%2C%22eventTable%22%3A%22exceptions%22%7D). More info in the link. Stack trace: ``` ArgumentError: at unsafe_convert (c.jl216) at stat(::String) (stat.jl67) at isfile (stat.jl311) at process(::LanguageServer.JSONRPC.Request{Val{Symbol("textDocument/definition")},LanguageServer.TextDocumentPositionParams}, ::LanguageServerInstance) (.\scripts\languageserver\packages\LanguageServer\src\requests\features.jl116) at run(::LanguageServerInstance) (.\scripts\languageserver\packages\LanguageServer\src\languageserverinstance.jl233) at top-level...
In the ```testfunc``` function, julia-vscode can normally provide the fields autocompletion of the variables ```eg``` and ```gp3```, but it can not provide the fields completion of the others ```gp1``` and...
Skeleton of changes for implementing [Semantic Tokens](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens). It has the method calls and the data types, and some simple demonstrations of semantic tokens that I've gotten to function in vscode...
This code causes a linter warning for a possible method call error, but I don't see an issue: ```julia struct Foo x::Int end bar(f::T) where {T
Recently, the PR https://github.com/JuliaLang/julia/pull/38791 for the REPL got merged to be included in the next Julia version. This means that the REPL will tab-complete statements like `?(x, y)` to yield...