Skip to content

Add a rule to toggle space after opening brace and before closing brace#10447

Merged
zhengbli merged 4 commits into
microsoft:masterfrom
zhengbli:rule
Sep 6, 2016
Merged

Add a rule to toggle space after opening brace and before closing brace#10447
zhengbli merged 4 commits into
microsoft:masterfrom
zhengbli:rule

Conversation

@zhengbli

Copy link
Copy Markdown

Fixes #7540 (Though it is already fixed, it is a popular request that people want to configure whether to add the space or not in the comments).

Comment thread src/services/services.ts Outdated
InsertSpaceAfterFunctionKeywordForAnonymousFunctions: boolean;
InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: boolean;
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: boolean;
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: boolean;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be optional

@zhengbli

zhengbli commented Sep 6, 2016

Copy link
Copy Markdown
Author

Ping @mhegazy

@mhegazy

mhegazy commented Sep 6, 2016

Copy link
Copy Markdown
Contributor

👍

@zhengbli zhengbli merged commit bef6a66 into microsoft:master Sep 6, 2016
@zhengbli zhengbli deleted the rule branch September 6, 2016 23:15
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets not behaving correctly

3 participants