Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

How add support for new language with language server #2751

Open
PerMildner opened this issue Jul 10, 2019 · 1 comment
Open

How add support for new language with language server #2751

PerMildner opened this issue Jul 10, 2019 · 1 comment

Comments

@PerMildner
Copy link

I want to make Oni use my language server for my language.

I tried to get Oni to use my language server. I added the following to config.tsx:

  "language.prolog.languageServer.command": "/usr/bin/nc",
  "language.prolog.languageServer.arguments": [
    "localhost",
    "56789"
  ],

(my language server is listening on port 56789 on the local machine).

When opening a file "foo.pl" the lower left corner of the windows says "prolog" so I assume Oni correctly identified the file as "prolog", but it does not seem that "nc" is run, so no connection is made to my language server.

I could not find any information on how to add a new "language identifier", so perhaps that is the problem.

I am new to Oni. I do not know what I am doing, I am just guessing how to configure Oni.

@oni-bot
Copy link

oni-bot bot commented Jul 10, 2019

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant