-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Visual Studio, use latest tsc release #1110
Comments
@jbondc do you want to use the latest tsc.js form master or latest public release (1.1)? and do you want to just build or you mean for the VS language service (like completion and quick info)? |
Myself – I would love to use the latest tsc.js from master so I can report any issues as they come up. |
You can do it, but this is really at your own risk - we provide no guarantees if you do decide to try it out, but generally you should be fine. 😄 Using the Latest TypeScript Build in
|
Ahh thanks @DanielRosenwasser. @mhegazy I'm interested in both (compiling with latest tsc & using language services). jake build Or the other way around, if I could configure the paths that Visual Studio points to I'm ok with things breaking, would make it easier to experiment with the language & test new features (union) |
Yes, @mhegazy did suggest this as an alternate option, and he would be more knowledgeable in doing something like this. I'm not 100% certain, but I think that would only be possible for using the latest compiler in Visual Studio, not for the latest language service. Using the latest language service might require the same steps that I mentioned above. |
i like the idea of making VS pick the latest form your local enlistments. it is not clear to me what is the best way to define these values. |
Maybe something like nightlies would also work for the language service (so a nightly for the VS plugin)? |
I went with 'jake link-vs' and 'jake unlink-vs', seems to work with 1.4 and latest power build: |
Hi @DanielRosenwasser , in the "Replacing the Language Service" part of your post, I think you meant to replace typescriptServices.js in step 4, not tsc.js. Could you fix that? Also, can you add a step of copying over lib.d.ts to both parts as well? |
@Arnavion, sorry about that, but thanks for the tip! I've corrected it. I'll document replacing your Using an alternative
|
I guess this is fixed by the https://github.com/Microsoft/TypeScript/blob/master/scripts/VSDevMode.ps1 script? |
yup your are right.. as always thanks @DickvdBrink :) For future searches, here is the wiki for enabling the dev mode: https://github.com/Microsoft/TypeScript/wiki/Dev-Mode-in-Visual-Studio |
How would I go about using the latest TypeScript with Visual Studio?
Or making a patch and testing the Visual Studio integration with a locally built TypeScript?
The text was updated successfully, but these errors were encountered: