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# XML Comments highlighting non existent blocks. #134

Open
benny-yamagata opened this issue Apr 11, 2024 · 1 comment
Open

C# XML Comments highlighting non existent blocks. #134

benny-yamagata opened this issue Apr 11, 2024 · 1 comment

Comments

@benny-yamagata
Copy link

When writing XML Comments in C# programs, I have noticed that sometimes blockman highlights non existent or incorrect blocks in the comments.

Here is an example:

image

@leodevbro
Copy link
Owner

I see. Blockman uses third party libraries (with some additional custom code) to detect tokens like HTML/XML tags, curly/square/round brackets, Python/Yaml indentation and so on. Blockman cannot use the native tokens of VS Code, because VS Code extension API does not have this feature. Those third party libraries (with some additional custom code) are not smart enough to ignore some comments in different languages like C#.

I'll try to find smarter libraries.

Also, you can disable HTML/XML tag detection by Blockman. Go to VS Code settings, search Blockman: N25 Analyze Tags and uncheck it.

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