Skip to content
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

Add node_args, tsserver_args, tsserver_env options #730

Merged
merged 2 commits into from
Jan 15, 2020

Conversation

mattbroussard
Copy link
Contributor

This adds configurable options for the way the tsserver Node.js project is started up:

  • node_args: array of command line arguments sent to the tsserver Node.js process before the tsserver script path (useful for e.g. changing max heap size or attaching debugger to the tsserver process)
  • tsserver_args: array of command line arguments sent to tsserver Node.js process after the tsserver script path (useful for e.g. overriding tsserver error message locale)
  • tsserver_env: environment variables to set for the tsserver Node.js process (useful for e.g. setting TSS_LOG). These variables are merged with the environment variables available to Sublime.

This is heavily inspired by #697 (which was abandoned) since I have the same problem that inspired it.

@msftclas
Copy link

msftclas commented Nov 6, 2019

CLA assistant check
All CLA requirements met.

@orta
Copy link
Contributor

orta commented Jan 15, 2020

Thanks for the PR, I've given this PR a test run and its looking good for me. Thanks @mattbroussard 👍

@orta orta merged commit 913aefc into microsoft:master Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants