-
Notifications
You must be signed in to change notification settings - Fork 226
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
Restart Typespec Language Server when it's not started before or settings changed #4912
Conversation
All changed packages have been documented.
|
You can try these changes here
|
@timotheeguerin , the build in ci failed because of error "SyntaxError: Octal escape sequences are not allowed in strict mode.", but I didn't use any Octal escape sequences and the build can pass properly in my local. Do you have any idea about it? or do you know any change in CI recently that may trigger it? thanks. |
yeah not sure works for me locally too |
only seems to fail on windows, probably why I can't repro |
ok so I fixed it by reverting the use of |
…ings changed (microsoft#4912) 1. TypeSpec Language Server would be restarted with new settings when setting "typespec.tsp-server.path" is changed 2. Typespec Language Server can be restarted properly when the server wasn't running before 3. Code refactor in vscode extension. related issues: microsoft#2996, microsoft#4765 --------- Co-authored-by: Timothee Guerin <[email protected]>
related issues:
#2996, #4765