This plugin allows editing of TypeScript code within NetBeans. Many IDE features are supported:
- Code completion
- Error checking
- Find usages
- Go to Declaration
- Syntax highlighting
For this plugin to work, you will need to have Node.js version 0.8.0 or later installed.
Download the latest netbeanstypescript.nbm file from the Releases page. Then, in NetBeans, go to Tools > Plugins, and select the "Downloaded" tab. Click "Add Plugins..." and locate the netbeanstypescript.nbm file. The TypeScript Editor should appear in the list. Select it and click "Install".
- All .ts/.tsx files under a directory containing a tsconfig.json file are assumed to be part of that TypeScript project.
- By default, "implicit any" errors are enabled, but are shown as warnings rather than errors. You may explicitly specify
"noImplicitAny": false
in a TypeScript project's tsconfig.json to disable "implicit any" errors altogether.
The version number of this plugin reflects the version of TypeScript it incorporates (currently 2.5.3), with an extra digit for new versions that do not involve a TypeScript update. We intend to keep this plugin up to date with new versions of TypeScript when they come out.
We are happy to receive Pull Requests. If you are planning a big change, it's probably best to discuss it as an Issue first.
To build the plugin yourself, you may need to make some small edits to build.xml
. See the comments in that file for details.