tsserver stdio example #857
Unanswered
m-anish-gupta
asked this question in
Q&A
Replies: 1 comment
-
I would recommend that you set it up to run in an editor of your choice, enable LSP logging there and figure out what to call based on its logs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can anyone share a sample on how to interact with the tsserver in stdio mode?
In my setup, i'm using a python wrapper on top of this which starts a async process in the background to launch tsserver in stdio mode using
typescript-language-server --stdio
command.I constructed the
initialize
request params by reading the doc here but when I try to resolve for symbol definitions I'm observing that the symbol is only resolved to the import statement and not to the specific file.Any thoughts on this?
Also, is there any specific path where it's logs will be dumped?
Beta Was this translation helpful? Give feedback.
All reactions