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

Code should be able to fold on braces instead of indents. #18994

Closed
Jaykul opened this issue Jan 22, 2017 · 1 comment
Closed

Code should be able to fold on braces instead of indents. #18994

Jaykul opened this issue Jan 22, 2017 · 1 comment

Comments

@Jaykul
Copy link
Contributor

Jaykul commented Jan 22, 2017

I get that you're imitating the awesomeness of Sublime Text, but it was written for Python...

In VS Code, most languages are are braces languages like C/C#, Javascript, PowerShell, Php ...

For VB and Python, you can fold on indents, but for braces languages, you need to enable folding based on pairs of characters, and make that work so that braces fold in pairs without regard for indenting, and ends up looking like:

{...}

instead of

{...
}
@Jaykul
Copy link
Contributor Author

Jaykul commented Jan 22, 2017

Bah, I searched harder, and finally found #3422 and #3352

@Jaykul Jaykul closed this as completed Jan 22, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant