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
[Feature Request] Support using nightly TypeScript #1332
Comments
Seems not work in latest version. @johnsoncodehk |
@tjx666 What behavior are you expecting and it doesn't work? |
When I open .ts file, I can easily toggle to typescript version to ts4.8 with extension JavaScript and TypeScript Nightly by command 2022-07-20.16.41.51.movBut when I open .vue file, using command |
@johnsoncodehk So, how can I easily toggle ts version to 4.8. Seems I have to install 4.8 as dependency now. |
@tjx666 This "JavaScript and TypeScript Nightly" extention goes into the extension folder installed by the user. Try setting {
"typescript.tsdk": "/Users/yaegassy/.vscode/extensions/ms-vscode.vscode-typescript-next-4.8.20220719/node_modules/typescript/lib",
} You will probably see more items available for selection in "Use Workspace Version". Perhaps, but it is also (As a supplement, I have not checked the operation in detail.) REF: |
I think volar can search the folder JavaScript and TypeScript Nightly is the official recommend extension to using the latest typescript. |
@tjx666 Are there any other VSCode extensions that support this? |
Seems very few extensions will manage typescript version by themself. |
If you are a user with a high technical level who uses TypeScript's Nightly, setting up
I think this is the related code. (and there may be others) |
Ok, I will try to implement this and make a pr this weekend |
@johnsoncodehk @yaegassy any way to get currrent used ts version? using |
As we know, there is an extension JavaScript and TypeScript Nightly which enables the nightly build of TypeScript (typescript@next) as VS Code's built-in TypeScript version used to power JavaScript and TypeScript IntelliSense.
But now volar only support toggle typescript version between builtin and workspace version:
It would be helpful to support using the nightly typescript version. For example, I can using the latest
got to source definition
function comes with the latest typescript.The text was updated successfully, but these errors were encountered: