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

Single-line comments at end of line change syntax highlighting when character after the first space is typed #1091

Closed
chronicgamedev opened this issue Dec 26, 2016 · 2 comments

Comments

@chronicgamedev
Copy link

Environment data

dotnet --info output: .NET Command Line Tools (1.0.0-preview2-003121)
VS Code version: 1.9.0-insider
C# Extension version: 1.6.2

bug

Steps to reproduce

  1. create a class
  2. create an abstract function
  3. add a // comment to the end of the line
  4. type comment, press space bar, type another character

Expected behavior

The function's syntax coloring remains the same and the comment stays comment-colored

Actual behavior

The function's syntax coloring changes when adding the space and the comment takes on keyword colors. The auto-complete suggestion list appears as well.

@DustinCampbell
Copy link
Member

Thanks for the report!

@DustinCampbell DustinCampbell changed the title C++ style comments at end of line change syntax highlighting when character after the first space is typed Single-line comments at end of line change syntax highlighting when character after the first space is typed Dec 26, 2016
@DustinCampbell DustinCampbell self-assigned this Jan 7, 2017
DustinCampbell added a commit to DustinCampbell/vscode-csharp that referenced this issue Jan 10, 2017
@DustinCampbell
Copy link
Member

This should look much better in the next release:

image

image

image

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

No branches or pull requests

2 participants