🐛 Relative rome.lspBin
doesn't work in VSCode
#3218
Replies: 3 comments 2 replies
-
Hi @lgarron , thank you for reporting the issue. Could you let us know what you're trying to accomplish by changing this setting? We usually use this setting only for local development, so knowing that there's some other use case might help us understand how to document the setting and solve the issue |
Beta Was this translation helpful? Give feedback.
-
Same as for TypeScript: ensuring that the extension has the same behaviour as any CLI invocations by the project. |
Beta Was this translation helpful? Give feedback.
-
I've run into issues several times at this point, due to a mismatch between the version of Rome installed in |
Beta Was this translation helpful? Give feedback.
-
Environment information
What happened?
In a repo with
rome@next
installed, try to use:Then "Reload Window" and make sure a
.ts
file is open.This results in an error:
Rome client: couldn't create connection to server.
These also don't work:
"./node_modules/./bin/rome"
"../node_modules/./bin/rome"
"node_modules/rome/bin/rome"
"./node_modules/rome/bin/rome"
"../node_modules/rome/bin/rome"
Expected result
I'm hoping to configure a relative path, similar to how TypeScript supports:
Using an absolute path is not an option, given that the repo-specific config needs to work across different environments and architectures (include GitHub Codespaces)
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions