Configure Netbeans With Typescript
Install NodeJS if you haven't got it already.
Go to the latest release page of the Netbeans plugin and download the
Open Netbeans and click Tools > Plugins. Then go to the
Downloaded tab and click
Select the .nbm file you just downloaded.
Now make sure the plugin is selected and click install. Keep clicking continue and accept the warning message stating that the plugin is not signed.
Set the Lib Directory
Right click in the window of a tpescript file and select TypeScript Setup...
Put in the path:
sudo find / | grep typescript.js and had to try a few before I found the one that had the version of typescript I needed.
You have now installed support for Typescript in Netbeans. You can now create Typescript (
.ts). For an extremely basic example, you can create a
HelloWorld.ts file with the following contents:
var x: number = 4; var y: string = x
First published: 16th August 2018