-
Notifications
You must be signed in to change notification settings - Fork 685
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
Adds an option to disable auto insert #7381
Adds an option to disable auto insert #7381
Conversation
@@ -732,6 +732,11 @@ | |||
"title": "Text Editor", | |||
"order": 1, | |||
"properties": { | |||
"dotnet.autoInsert.enableAutoInsert": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will auto insert be used for more than doc comments? Perhaps the settings should be dotnet.autoInsert.insertDocComments
imagining that certain auto inserts might be disabled without disabling all auto inserts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do just want one big switch, then I would suggest dotnet.autoInsert.enabled
@@ -732,6 +732,11 @@ | |||
"title": "Text Editor", | |||
"order": 1, | |||
"properties": { | |||
"dotnet.autoInsert.enableAutoInsert": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be covered by test.
https://github.com/dotnet/vscode-csharp/blob/main/test/lsptoolshost/unitTests/configurationMiddleware.test.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine - but we should include the server side update in this PR as well
/azp run dotnet.vscode-csharp |
Azure Pipelines successfully started running 1 pipeline(s). |
Roslyn side fix: dotnet/roslyn#74485
To fix: #6349