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

The default #if code snippet always insert white space end of $selected$ #76116

Open
vsfeedback opened this issue Nov 27, 2024 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


The default #if code snippet always insert white space end of $selected$. This issue has suddenly appeared in recent visual studio versions.
visual studio space.jpg


Original Comments

Feedback Bot on 20/11/2024, 08:10 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Alisa Qu [MSFT] on 20/11/2024, 02:56 PM:

Hi Shell Lee,

Thanks for your feedback, we were unable to reproduce your issue in our side. In order to investigate your issue further, can you help to confirm several questions?

  1. Could you help to check if this issue still reproduces after repairing your VS via installer?
  2. Are you installed other extensions in your machine? (Such as Resharper? Could you try to uninstall other extensions and then check whether your issue also reproduces or not?)
  3. Does this issue only reproduce in one special file type? Can you try to create a new C# Console App and check if this issue also reproduces?
  4. Could you provide us a repro video using https://www.screentogif.com/ or more information(detailed repro steps and simple repro file) about your issue if this issue still reproduces?

Thanks

Shell Lee on 20/11/2024, 06:01 PM:

  1. My cpp editor is OK, but csharp editor has the issue.
  2. I have no plugin which will format code.
  3. Not need to record screen for I only select the code by mouse (or shift + up arrow) and then perform use ctrl+k,ctrl+s shortcut to select #if code snippet then the issue reproduced. Right click to pop context menu and then add #if code snippet can also reproduce the issue.

Feedback Bot on 21/11/2024, 01:17 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 27, 2024
@deepakrathore33 deepakrathore33 added this to the 17.13 milestone Nov 27, 2024
@deepakrathore33 deepakrathore33 removed the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants