TSGO is needed, extension not available in cursor

Typescript go native is superfast. This is needed for any typescript project.
I am currently running both vscode and cursor, and using vscode for lsp errors. As difference is 2 seconds vs 2 minutes for lsp to update.

1 Like

Changing market place worked vscodium/DOCS.md at 6a5ba92d108f0eaa65ee0021d9a7bed2ea9d085b · VSCodium/vscodium · GitHub

also after this add TypeScriptTeam.native-preview by tmm1 · Pull Request #905 · EclipseFdn/publish-extensions · GitHub it should be available

1 Like

For those who want to run TypeScript (Native Preview) on the latest preview/beta builds of Cursor, I’ve found a workaround that works. You’ll likely need to repeat this after each update.

Here are the steps:

  1. Download the VSIX: Go to the VS Code Marketplace within VSCode, search for the extension, right click and click Download VSIX.
  2. Extract the VSIX: Rename the .vsix file to .zip and unzip its contents into a new folder.
  3. Modify Compatibility: Open the folder in e.g. VSCode or Cursor and search and replace all instances of ^1.100.0 to ^1.99.0.
  4. Repackage: Zip up the contents of the folder (not the folder itself) and rename the resulting .zip file back to .vsix.
  5. Install in Cursor: Open Cursor, go to the Extensions view, click the ... menu, and select “Install from VSIX…”.

This should get it working!

1 Like
  1. Open vscode
  2. Go to extension marketplace
  3. find the typescript native preview extension
  4. click on the cog near where it says install
  5. click on the download vsix format
  6. change the .vsix extension to .zip, then unzip
  7. go into the folder called “extension”, located in the folder you just extracted
  8. open package.json
  9. replace all places where it says ^1.100.0 to ^1.99.3 (or whatever vscode version your cursor is currently running)
  10. remove “license” from the files list in the package.json
  11. run npm install in this extension folder
  12. also install vsce globally using npm, I think its npm i -g @vscode/vsce, but double check that
  13. once you have vsce installed run “vsce package” from the root of that extension folder.
  14. you will get a .vsix file output.
  15. go back to cursors extension side panel
  16. drag and drop the .vsix file into cursors extension side panel.
  17. click cmd + shift + p in the menu type typescript
  18. you should see something about native typescript enabled, click on it.
  19. finished, it should be running. You may have to repeat this for new versions of cursor… I don’t know, I only just tried this and its working. Much faster btw its great… :slight_smile:

For folks here for the VSIX thing, I created a quick userscript that adds a “Download VSIX” button to the VSCode Extension Marketplace page, allowing you to circumvent the need to use VSCode to download it. You can install it in TamperMonkey to be there all the time or just copypasta into your console on the page you need it. After downloading, just drag-drop it into Cursor’s extension panel and you’re good to go!
Userscript: VSCode Extension Marketplace – Direct VSIX Download Button · GitHub

Isn’t this the same thing I recommended but with more steps?