Skip to content
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

Merged

Conversation

akhera99
Copy link
Member

@akhera99 akhera99 commented Jul 22, 2024

Roslyn side fix: dotnet/roslyn#74485
To fix: #6349

@akhera99 akhera99 requested a review from a team as a code owner July 22, 2024 21:05
@akhera99 akhera99 requested a review from dibarbet July 22, 2024 21:05
@@ -732,6 +732,11 @@
"title": "Text Editor",
"order": 1,
"properties": {
"dotnet.autoInsert.enableAutoInsert": {
Copy link
Member

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.

Copy link
Member

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": {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@dibarbet dibarbet left a 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

@dibarbet
Copy link
Member

dibarbet commented Dec 4, 2024

/azp run dotnet.vscode-csharp

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@akhera99 akhera99 enabled auto-merge (squash) December 5, 2024 00:12
@akhera99 akhera99 merged commit 817f841 into dotnet:main Dec 5, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SUGGESTION] Disable or Ability to Disable Autocomplete for XML Documentation Comments
4 participants