Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No parenthesis auto-complete w/ es6 intellisense #1209

Closed
plushy1anthony999 opened this issue Aug 16, 2016 · 3 comments
Closed

No parenthesis auto-complete w/ es6 intellisense #1209

plushy1anthony999 opened this issue Aug 16, 2016 · 3 comments
Labels

Comments

@plushy1anthony999
Copy link

plushy1anthony999 commented Aug 16, 2016

Expected Behavior
  • When making a function declaration, after typing function foo I want to type ( and have a pair of parenthesis be inserted, resulting in function foo()
Actual Behavior
  • Only a single ( gets inserted, leaving me with function foo(

Visual Studio Setup:

  • NTVS Version: 1.2
  • Visual Studio Version: Community 2015 w/ Update 3
  • Node.js Version: 4.4.4
  • Node es6 intellisense selected

I get a pair of parenthesis inserted when I tried nodejstools on VS2013, and also with VS2015 when I changed the node intellisense to es5. I thought about changing the intellisense mode because of here: https://github.com/Microsoft/nodejstools/issues/1142

I had problems with auto brace completion as well, but the thread didn't talk about paranthesis, so I'm wondering if the issue also has to do with the typescript-powered es6 intellisense the editor uses?

@mjbvz
Copy link
Contributor

mjbvz commented Aug 17, 2016

Yes, I believe you are correct that this is another manifestation of #1142. The Typescript bug tracking this feature mentions parens and other elements besides braces.

I'm following up with the Typescript team to verify this and see if there is any pre-release TS build for VS2015 that have this feature enabled.

@mjbvz mjbvz added the editor label Aug 17, 2016
@plushy1anthony999
Copy link
Author

I'm following up with the Typescript team to verify this and see if there is any pre-release TS build for VS2015 that have this feature enabled.

Will this be possible without TS 2.0.1 or will the feature have to wait 'till after TS 2.0.1 comes out?

@mjbvz
Copy link
Contributor

mjbvz commented Aug 18, 2016

@plushy1anthony999 I don't think so. To get brace completion today, you can try NTVS on the VS15 preview. That should have brace completion enabled. Other than that, I'm still trying to work with the Typescript team to get this feature into VS2015 as soon as possible.

I'm closing this as a duplicate of #1142 so that everything is tracked in a single location.

Thanks.

@mjbvz mjbvz closed this as completed Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants