Getting TypeScript in Visual Studio 2015 to automatically complete input and auto-fill parantee

I just started using TypeScript and used TypeScript Playground here: https://www.typescriptlang.org/play/index.html

It has decent intellisense and autocompletes in input, and it also automatically terminates the brackets and brackets.

However, as soon as I decided to use it in VS 2015, I noticed that input no longer selects the proposed drop-down menu, and neither parentheses nor parentheses are added automatically. When programming in C #, these functions work fine.

How to enable this behavior in Visual Studio? I would suggest that if it exists on a website, it will definitely exist in a full-blown IDE such as VS.

Is it possible to include similar refactoring functions in C #, like automatically renaming a variable / property in a project if I change the variable name? Using Ctrl-R Ctrl-R to rename a variable does not seem to work, it only changes the line in which I am included.

Edit:

  • VS 2015 Update 3
  • Typescript for VS 2015 v 1.8.6.0
  • Typescript for VS 2015 v 2.0

Edit2 : upgraded to TS 2.0 VS plugin. The Automatic Brace Completion box is no longer grayed out, but turning it on does not seem to affect the completion of the layout.

Edit3 . These features are in Visual Studio Code.

+5
source share
2 answers

TypeScript 2.0.2 RC for Visual Studio 2015 - August 30, 2016 fixed this problem. You can download here .

Click Details to see a list of all versions.

0
source

Make sure you have the latest TypeScript VS extension installed.

-1
source

All Articles