-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work when the server library prints to standard output #2013
Comments
Troubleshooting copy-pasteVersion
Server Test Run
Server Configuration
[
"${node_bin}",
"${server_path}",
"--stdio"
]
/usr/bin/node "/path/to/LSP-eslint/18.7.0/language-server/out/eslintServer.js" --stdio
{}
{
"codeAction": {
"disableRuleComment": {
"enable": true,
"location": "separateLine"
},
"showDocumentation": {
"enable": true
}
},
"codeActionOnSave": {
"enable": true,
"mode": "all"
},
"format": false,
"nodePath": null,
"onIgnoredFiles": "off",
"options": {},
"packageManager": "npm",
"probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown"
],
"quiet": false,
"rulesCustomizations": [],
"run": "onType",
"useESLintClass": false,
"validate": [
"javascript",
"javascriptreact"
]
}
{
"PATH": "/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:/usr/bin:"
} Active view
{
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
"lsp_active": true,
"syntax": "Packages/JavaScript/TypeScript.sublime-syntax"
}
Project / Workspace
[
"/path/to/lsp-eslint-config-auto-repro"
]
LSP configuration{
"clients": {},
"diagnostics_gutter_marker": "circle",
"inhibit_snippet_completions": true,
"log_debug": true,
"log_server": [
"panel"
],
"show_diagnostics_panel_on_save": 0,
"show_view_status": false
} |
I narrowed this down to the fact that |
Transferred to LSP repo as that is something that would need to be fixed there. Looks like the Initial thoughts:
|
Looks like this is a duplicate of #1612, I'll move the discussion there! |
Thanks for digging the original issue out. :) |
LSP-eslint
doesn't highlight anything when used in a project witheslint-config-auto
. I created a super minimal repro here.npx eslint .
produces correct output:So does VSC:
But nothing in ST:
LSP logs:
This is with the published version of the package. Updating the server to 2.2.6 didn't help.
LSP-eslint
does work for me on a project with a bunch of configs and plugins, e.g.:So this isn't a configuration issue.
How do I debug this? Thanks!
The text was updated successfully, but these errors were encountered: