Skip to content

editor.insertSpaceAfterComment setting - #41747

Merged
Alexandru Dima (alexdima) merged 7 commits into
microsoft:masterfrom
muravjov:insertSpaceAfterComment
Jan 19, 2020
Merged

Alexandru Dima (alexdima) merged 7 commits into
microsoft:masterfrom
muravjov:insertSpaceAfterComment

Conversation

@muravjov

Copy link
Copy Markdown

Hi,

Please look at my PR, which introduces setting editor.insertSpaceAfterComment to make VScode to format line comments like

		//model.tokenizeIfCheap(startLineNumber);

instead of

		// model.tokenizeIfCheap(startLineNumber);

(no space just after //)

By default original behaviour is remained, with the space.

@msftclas

Microsoft Contribution License Agreements (msftclas) commented Jan 17, 2018 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@muravjov

Copy link
Copy Markdown
Author

One more need about not inserting space: #9879 (comment)

@muravjov

Copy link
Copy Markdown
Author

Finally I've been able to get through all checks.

@muravjov

Copy link
Copy Markdown
Author

Hi alexandrudima ,
any chance for taking up my PR?

@alexdima Alexandru Dima (alexdima) added this to the April 2018 milestone Mar 29, 2018
@alexdima Alexandru Dima (alexdima) removed this from the April 2018 milestone Apr 27, 2018
@lbmaian

lbmaian commented Sep 26, 2019

Copy link
Copy Markdown

Any possibility of getting this merged in? I've been resorting to local patching _createAddLineCommentsOperations to get rid of the space after the //, which of course results in an "unsupported" warning for VS Code.

@kirkouimet

Copy link
Copy Markdown

Let's merge this in!

@alexdima

Copy link
Copy Markdown
Member

Thank you!

@alexdima
Alexandru Dima (alexdima) merged commit a3d4675 into microsoft:master Jan 19, 2020
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 29, 2020
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.

5 participants