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

Allow different syntactic elements have different indentation #2226

Open
vladima opened this issue Mar 6, 2015 · 1 comment
Open

Allow different syntactic elements have different indentation #2226

vladima opened this issue Mar 6, 2015 · 1 comment
Labels
Help Wanted You can do this Suggestion An idea for TypeScript
Milestone

Comments

@vladima
Copy link
Contributor

vladima commented Mar 6, 2015

Original issue: [st3] keeps indenting by 4 ws when typing

@mprobst
Copy link
Contributor

mprobst commented Mar 6, 2015

Or more precisely: many styles require indentation depth to go up by some amount (e.g. +2 ws) for syntactical structures that introduce nesting (blocks, conditional branches, loop bodies, object literals, etc). But when a line is too long and must be wrapped, it should visually stand out from normal indentation, which is achieved by doubling the indent, e.g. +4 ws.

@mhegazy mhegazy added the Help Wanted You can do this label Dec 9, 2015
@mhegazy mhegazy added this to the Community milestone Jan 4, 2018
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

4 participants