redhat-developer / redhat-developer/yaml-language-server
Absent --help
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
Hi!
I'm trying to set this up, with LanguageClient-NeoVim — and it doesn't work — and I don't know why. Any help?
$ yaml-language-server --help
/usr/local/lib/node_modules/yaml-language-server/node_modules/vscode-languageserver/lib/main.js:700
throw new Error("Connection input stream is not set. " + commandLineMessage);
^
Error: Connection input stream is not set. Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'
at _createConnection (/usr/local/lib/node_modules/yaml-language-server/node_modules/vscode-languageserver/lib/main.js:700:15)
at Object.createConnection (/usr/local/lib/node_modules/yaml-language-server/node_modules/vscode-languageserver/lib/main.js:647:12)
at Object.<anonymous> (/usr/local/lib/node_modules/yaml-language-server/out/server/src/server.js:258:42)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/usr/local/lib/node_modules/yaml-language-server/bin/yaml-language-server:3:1)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the bin/yaml-language-server entry point and trace the command-line handling into out/server/src/server.js. Run yaml-language-server --help while following how the connection is created; done means the command prints usage information and exits without requiring a transport such as --stdio or --node-ipc.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100