Julia LanguageServer.jl and Kate Editor's LSP Client

SOC VIRNYL ESTELA socvirnyl.estela at g.msuiit.edu.ph
Wed Apr 14 01:50:53 BST 2021


Hello. I have tried setting up Julia's LanguageServer.jl  on Kate but it
currently does not work. Here is my configuration:
```json
{
    "servers": {
        "julia": {
             "command": ["julia",

 "--project/home/tricks/.julia/packages/LanguageServer/y1ebo/src/",
                         "--startup-file=no",
                         "--history-file=no",

 "--sysimage=/home/tricks/Developer/Julia/julials.so",
                         "--sysimage-native-code=yes",
                         "-e",
                         "using Pkg; Pkg.instantiate(); using
LanguageServer; using SymbolServer; depot_path = get(ENV,
\"JULIA_DEPOT_PATH\", \"\");project_path =
dirname(something(Base.current_project(pwd()),
Base.load_path_expand(LOAD_PATH[2])));@info \"Running language server\"
env=Base.load_path()[1] pwd() project_path depot_path\nserver =
LanguageServer.LanguageServerInstance(stdin, stdout, project_path,
depot_path);server.runlinter = true; run(server);"
                        ],
              "url": "https://github.com/julia-vscode/LanguageServer.jl",
              "highlightingModeRegex": "^Julia$"
        }
    }
}
```
Even without using the sysimage, the server still crashes. The logs are
attached to this email named as julials.log. If I missed something, are
there any ways to make LanguageServer.jl work on Kate?

-- 
---*DISCLAIMER AND CONFIDENTIALITY NOTICE* The Mindanao State 
University-Iligan Institute of Technology <http://www.iit.edu.ph/> 
(MSU-IIT) makes no warranties of any kind, whether expressed or implied, 
with respect to the MSU-IIT e-mail resources it provides. MSU-IIT will not 
be responsible for damages resulting from the use of MSU-IIT e-mail 
resources, including, but not limited to, loss of data resulting from 
delays, non-deliveries, missed deliveries, service interruptions caused by 
the negligence of a MSU-IIT employee, or by the User's error or omissions. 
MSU-IIT specifically denies any responsibility for the accuracy or quality 
of information obtained through MSU-IIT e-mail resources, except material 
represented as an official MSU-IIT record. Any views expressed in this 
e-mail are those of the individual sender and may not necessarily reflect 
the views of MSU-IIT, except where the message states otherwise and the 
sender is authorized to state them to be the views of MSU-IIT. The 
information contained in this e-mail, including those in its attachments, 
is confidential and intended only for the person(s) or entity(ies) to which 
it is addressed. If you are not an intended recipient, you must not read, 
copy, store, disclose, distribute this message, or act in reliance upon the 
information contained in it. If you received this e-mail in error, please 
contact the sender and delete the material from any computer or system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20210414/42962c5a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: julials.log
Type: text/x-log
Size: 2942 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20210414/42962c5a/attachment.bin>


More information about the KWrite-Devel mailing list