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

C# /* */ comments: an extra invalid * gets added when pressing enter #11057

Closed
0xd4d opened this issue May 4, 2016 · 3 comments
Closed

C# /* */ comments: an extra invalid * gets added when pressing enter #11057

0xd4d opened this issue May 4, 2016 · 3 comments
Assignees
Labels
Area-IDE Bug Community The pull request was submitted by a contributor who is not a Microsoft employee.
Milestone

Comments

@0xd4d
Copy link

0xd4d commented May 4, 2016

bug2-1
bug2-2

Version Used:

VS2015 Update 2

Steps to Reproduce:

  • Create a new C# Console project or use an existing C# project
  • Add a new line and add this comment: /**/ (can't have a space after the first *)
  • Move the caret to just before the first /* example: |/* where | is the caret
  • Press ENTER

Expected Behavior:

A new line is added, but no extra * character(s)

Actual Behavior:

A new * is added before /*.

@davkean
Copy link
Member

davkean commented May 4, 2016

Nice one, thanks! cc @DiryBoy

@pawchen
Copy link
Contributor

pawchen commented May 4, 2016

Ops, let me fix it. Thanks.

@davkean davkean added Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. labels May 5, 2016
@Pilchie Pilchie added this to the 1.3 milestone May 6, 2016
@Pilchie Pilchie added the Bug label May 6, 2016
@davkean
Copy link
Member

davkean commented May 11, 2016

Once again, thanks for the bug report, this will appear in the next update of Visual Studio 2015.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Community The pull request was submitted by a contributor who is not a Microsoft employee.
Projects
None yet
Development

No branches or pull requests

4 participants