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

Smarter way to add (and autoclose) brackets #13982

Closed
EmmanuelBeziat opened this issue Oct 19, 2016 · 4 comments
Closed

Smarter way to add (and autoclose) brackets #13982

EmmanuelBeziat opened this issue Oct 19, 2016 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-autoclosing Editor automatic closing of parens / brackets / etc. feature-request Request for new features or functionality
Milestone

Comments

@EmmanuelBeziat
Copy link

EmmanuelBeziat commented Oct 19, 2016

Hi,

Here’s a feature request for a thing I miss from SublimeText: opening a {  / [ and have it automatically closed after an indented part of code.

Here’s the behavior that I expect:

And what we got in VSC at the moment:

Of course, this should obviously work with a bigger part of code, as long as it's indented, and for any language.

Many thanks!

@roblourens roblourens added feature-request Request for new features or functionality editor labels Oct 19, 2016
@alexdima alexdima added the editor-core Editor basic functionality label Oct 27, 2016
@alexdima alexdima added this to the Backlog milestone Oct 27, 2016
@alexdima alexdima removed their assignment Oct 27, 2016
@EmmanuelBeziat
Copy link
Author

Hi,

Is there any plan to implement this yet ? Thanks :)

@alexdima alexdima added editor-autoclosing Editor automatic closing of parens / brackets / etc. and removed editor-core Editor basic functionality editor labels Nov 23, 2017
@EmmanuelBeziat
Copy link
Author

Still pushing for this 😛 Thanks!

@MooseV2
Copy link

MooseV2 commented Mar 9, 2018

For the time being, this extension appears to meet at least the basic needs:
https://marketplace.visualstudio.com/items?itemName=stringham.cursor-move

Note: the bracket functionality is not very well advertised in the description, but it does work.

@rebornix
Copy link
Member

rebornix commented Sep 5, 2018

Right now our auto closing feature doesn't take language semantics into account. Let's track this issue in #6841 which is the earliest issue. Thanks for your feedback!

@rebornix rebornix closed this as completed Sep 5, 2018
@rebornix rebornix added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 5, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-autoclosing Editor automatic closing of parens / brackets / etc. feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants