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

Highlighting as a comment when the # is after text #63

Closed
baderbuddy opened this issue Apr 20, 2017 · 4 comments
Closed

Highlighting as a comment when the # is after text #63

baderbuddy opened this issue Apr 20, 2017 · 4 comments
Milestone

Comments

@baderbuddy
Copy link
Contributor

The syntax highlighting is showing the following as a comment.

Given some precondition #Hello

When Cucumber should only recognize it as a comment if the # is at the start of the line or only has white space.

@alexkrechik
Copy link
Owner

All the comments are handling by VSCode, not by extension itself. Unfortunately, there are no ability to set any comments restriction, we can only provide "lineComment" an "blockComment" symbols, that will be used by VSCode to determine comments.

@baderbuddy
Copy link
Contributor Author

There is a fix possible, it's just changing the syntax file.
#75

@alexkrechik
Copy link
Owner

Its really works, thank you.

@alexkrechik alexkrechik reopened this May 9, 2017
@alexkrechik alexkrechik added this to the 2.2.0 milestone May 9, 2017
@baderbuddy
Copy link
Contributor Author

No problem, all I ask is a statue made in u honor.

I'm joking. Thanks for accepting the pull :)

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

No branches or pull requests

2 participants