Closed paulverbeke closed 2 months ago
sure,i can accept a PR to support it.
Does your current regex only applies in comments ?
yes,sir
So I've made a simple PR to update the default regex to handle region comment (like requested in #79) but I suppose adding support for #region in C# will be harder because it is not a comment. Any hints to guide me in the good direction ? I'm not a kotlin dev 😅
I guess we need to find its specific type in the parse tree.The type of comment in the parse tree is com.intellij.psi.PsiComment
.
You can try use psiViewer plugin to find it. Parsing it requires great caution as this class is executed very frequently com.nasller.codeglance.extensions.visitor.MarkCommentVisitor
Hi,
Would you be opened to implement or accept a PR to support for dotnet #region like VS Code ?![image](https://github.com/Nasller/CodeGlancePro/assets/6412153/f8b67b12-732a-4886-9c98-d55853e5f417)
I suppose we only need to change the default value of the Mark regex ?
Thanks