Skip to content

Files

Latest commit

244855b · Jul 11, 2018

History

History
37 lines (23 loc) · 1.7 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.7 KB

IMPORTANT: On NetBeans 9, use only version 2.9.1.1 or above. Using any previous version of this plugin on NetBeans 9 will cause severe IDE-wide indexing slowdown.

NetBeans TypeScript Editor

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

Installation

For this plugin to work, you will need:

  • NetBeans 8.0.2 or later
  • Node.js 0.8.0 or later
  • TypeScript 1.5.3 or later

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".

Open a .ts file, right-click on its source code window and select "TypeScript Setup...". Locate the "lib" directory from your TypeScript installation.

Notes

  • 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.

Contributing

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.

Building

To build the plugin yourself, you may need to make some small edits to build.xml. See the comments in that file for details.