ReSharper 2020.1 Help

ReSharper by Language: TypeScript

ReSharper 2020.1 fully supports TypeScript from v. 1.4 to v. 3.0. ReSharper automatically detects TypeScript version by the <TypeScriptToolsVersion> property in the Visual Studio project file. But you can specify the target TypeScript version explicitly using the TypeScript language level selector on the Code Editing | TypeScript | Inspections page of ReSharper options.

Code inspection and other features analyze TypeScript code in different ways depending on the selected language version.

Descriptions of ReSharper features for TypeScript are grouped in the following topics:

Making ReSharper ignore specific code

ReSharper allows you to ignore specific files, folders and file masks in different ways. You can configure ignored files on the following options pages:

  • Code Inspection | Settings to exclude files, folders, and masks from code inspection.

  • Code Inspection | Generated Code to partly disable code inspection for generated code.

  • Environment | Search & Navigation to specify files and folders that should be ignored by Search by Name commands.

  • Code Editing | Third-Party Code to add C++, JavaScript, TypeScript, CSS, HTML and JSON files, folders and wildcards to be treated either as 'skipped' or 'library'. ReSharper will completely ignore 'skipped' files, and treat 'library' files as read-only — indexed for navigation, but no inspections, quick-fixes and refactorings.

Last modified: 2 July 2020