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

[SUGGESTION] Disable or Ability to Disable Autocomplete for XML Documentation Comments #6349

Closed
arunchndr opened this issue Sep 12, 2023 · 0 comments · Fixed by #7381
Closed

Comments

@arunchndr
Copy link
Member

From vscode-dotnettools created by Sour-Codes: microsoft/vscode-dotnettools#475

Describe the feature you'd like

The swap from Omnisharp has really put a damper on my productivity. I know it takes a while to iron things out to be smooth, but this feels like we're walking backwards...

As you type ///, LSP is quick to transform it into...

///	<summary>
///	
///	</summary>

...which is great and all, but subsequent line breaks after generates...

///	<summary>
///	
///	</summary>
///	

or when I type in anything that Intellisense can determine is XML documentation comments for autocompletion, it fails horribly.

For example, if I start typing a type reference <see cref="System.Object" />, the context menu will show <see cref="System.Object" /> for autocompletion, but will only output <s and then I am stuck typing the rest of it out anyway. In fact, any of the autocompletion for XML documentation comments will have a similar effect, unfortunately.

To be honest, I've got so used to this not being automated going from Visual Studio, which handles this effectively, to Omnisharp, where it didn't automate this at all. These automation attempts with errors makes me wish that /// didn't autocomplete without my choice.

(I force <GenerateDocumentationFile> to true on all of my projects and a client's project has over 1,200 warnings of missing XML documentation comments. My plan was to tackle them this weekend, but not with this /// bug...)

Alternatives considered

No response

Environment Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants