-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
Expose Typescript insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces rule in VS Code settings #18043
Labels
formatting
Source formatter issues
javascript
JavaScript support issues
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
Comments
This was referenced Jan 3, 2017
magnushiie
added a commit
to magnushiie/vscode
that referenced
this issue
Mar 1, 2017
mjbvz
pushed a commit
that referenced
this issue
Apr 13, 2017
* Expose insert..Braces rule in VS Code settings Fixes #18043 * Add requirement blurb for insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces * Revert tsfmt change
@magnushiie, @mjbvz; thanks for the pull request and merging, really appreciated! |
3 tasks
I added this rule "javascript.format.javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true, getting unknown rule error |
@nomantintash Try |
ALREADY ADDED BUT NOT ADDING SPACE AFTER OPENING AND BEFORE CLOSING OF
THESE BRACKETS {}
…On Wed, Oct 11, 2017 at 12:04 PM, Matt Bierner ***@***.***> wrote:
@nomantintash <https://github.com/nomantintash> Try "javascript.format.
insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18043 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AeLoddtFo6h1ciJZ8aLn091IWsz8yB7mks5srGiagaJpZM4LZt5B>
.
--
Best Regrads
Noman Maqsood
|
@nomantintash Please open a new issue if you don't see this working |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
formatting
Source formatter issues
javascript
JavaScript support issues
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
verification-needed
Verification of issue is requested
verified
Verification succeeded
Typescript has the
insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces
rule, but this rule cannot be configured in the VS Code settings.Please add
javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces
and
typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces
to the VS Code settings, to be able to prevent
{key: 'value'}
being changed to{ key: 'value' }
when formattingThanks!
The text was updated successfully, but these errors were encountered: