TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Visual Studio: Support "Automatic brace completion"

Open catvec opened this issue 11 years ago • 38 comments

In Visual Studio if you go into the options for TypeScript(Tools > Options > Text Editor > TypeScript > General) the "Automatic brace completion" option is grayed out.

Automatic brace completion options grayed out

I was wondering why this is and if there is any way to turn this on.

Visual Studio Version: Visual Studio Express 2013 for Web v12.0.31101.00 Update 4
OS: *Windows 8.1

catvec avatar Dec 15 '14 01:12 catvec

+1

BrianMikinski avatar Mar 11 '16 15:03 BrianMikinski

+1

eijoac avatar Mar 11 '16 16:03 eijoac

With new reactions added to github issues I suggest adding the "+1" to the the main issue to indicate an "up vote"

mhegazy avatar Mar 11 '16 17:03 mhegazy

+1

anmolg26 avatar Mar 16 '16 06:03 anmolg26

+1 Also I still do not see split window support ( for ts => js )returned, despite several post saying it was...

pgorbas avatar Mar 17 '16 20:03 pgorbas

@pgorbas were did you see the split window support mentioned? It never was a feature of TypeScript, but part of Web Essentials.

paulvanbrenk avatar Mar 17 '16 21:03 paulvanbrenk

Dear anyone who is going to post "+1" in the future!

Please note that Github recently added reactions. Just scroll up to the top and click the little smiley button

Add a reaction

catvec avatar Mar 17 '16 21:03 catvec

Wondering if there is an update?

Started with Angular 2 + TypeScript, and really looking for this feature on Visual Studio 2015 (Even not available with latest Update 2).

Thanks a bunch!

abdu292 avatar Apr 15 '16 05:04 abdu292

@abdu292 I checked in the script side changes, but there needs to be Visual Studio support to make this work, that should be in the next release for TypeScript.

paulvanbrenk avatar Apr 15 '16 20:04 paulvanbrenk

Yeah kind of crazy that this is in code but not enterprise, vs 2015 update 2 just came out and this still isn't there after being in the backlog for almost 2 years.

brendon-colburn avatar Apr 18 '16 17:04 brendon-colburn

@brendon-colburn I feel your pain, and that's the reason I stick to pure VS. We're getting some breathing room to spend more time on features, by making improvements to our infrastructure. And hopefully we can publish nightly drops of the VS tools soon.

paulvanbrenk avatar Apr 18 '16 18:04 paulvanbrenk

Interesting. Could you define "pure VS" for me? It's just a nuisance really, but I felt a need to say something due to the length of time this has been in backlog status. Not trying to be a nag, I understand that certain development tasks take priority.

Thanks,

Brendon

On Mon, Apr 18, 2016 at 2:03 PM, Paul van Brenk [email protected] wrote:

@brendon-colburn https://github.com/brendon-colburn I feel your pain, and that's the reason I stick to pure VS. We're getting some breathing room to spend more time on features, by making improvements to our infrastructure. And hopefully we can publish nightly drops of the VS tools soon.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Microsoft/TypeScript/issues/1484#issuecomment-211504997

brendon-colburn avatar Apr 19 '16 14:04 brendon-colburn

"pure vs" == no extensions like ReSharper etc.

paulvanbrenk avatar Apr 19 '16 17:04 paulvanbrenk

This is nonsense. When are we going to get this?? How hard could it be to implement this???

vsg24 avatar Jun 14 '16 20:06 vsg24

@VSG24 it's not the work itself, it's just that this will be part of a release. we should have it in TypeScript 2.0, but you'll have to be patient in the mean time.

DanielRosenwasser avatar Jun 14 '16 21:06 DanielRosenwasser

This is the first feature I turn OFF immediately if the editor does it. I know EXACTLY when and why I will add a closing brace to my code, and I don't need some dumb software appending it for me.

Hopefully this stays WONTFIX forever

trollcop avatar Sep 07 '16 07:09 trollcop

Automatic brace completion should be supported with TS 2.0 RC and later. The feature can be enabled/disabled from tools options (as noted in the OP).

mhegazy avatar Sep 07 '16 16:09 mhegazy

Instead of saying won't fix for all the people that want it, wouldnt making it a toggle option be better?

pgorbas avatar Sep 07 '16 19:09 pgorbas