Omnisharp-vscode: How to stop auto closing comment?

Created on 17 Jul 2017  路  4Comments  路  Source: OmniSharp/omnisharp-vscode

Environment data

version 1.11
VS Code version: 1.14

Steps to reproduce

type /*

Expected behavior

Just emit /*

Actual behavior

It emit /* */

I have my habit to switch active block for debugging by using */ and /* around it. But not only the autocomplete not aware of existing */. When typing /*, it emit the unneccessary */ to have me delete it. This behaviour should have setting to shut it somewhere

Question

Most helpful comment

VS Code has a setting to disable automatic closing brackets. You can use "editor.autoClosingBrackets": false in your settings.json.

All 4 comments

VS Code has a setting to disable automatic closing brackets. You can use "editor.autoClosingBrackets": false in your settings.json.

@DustinCampbell Always set that to false for my whole life. And it seem it work only on bracket, not a comment

Unfortunately, it doesn't appear that there's a way to do this in VS Code, though there's an issue tracking it: https://github.com/Microsoft/vscode/issues/1966.

We actually don't do anything special for closing brackets and comments in C# for VS Code. We've defined the delimiters here but the auto-closing behavior is in VS Code itself.

I see thank you very much

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hamhub7 picture hamhub7  路  3Comments

ghost picture ghost  路  3Comments

olfek picture olfek  路  3Comments

ZeldaZocker picture ZeldaZocker  路  3Comments

Alumniminium picture Alumniminium  路  3Comments