-
Notifications
You must be signed in to change notification settings - Fork 142
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
Wierd behavior in tree view with open file scan #536
Comments
@Gruntfuggly I found #507 (comment) which changed the default regex to solve an issue with the regex matching across lines. However, I think there is still a gap, which is causing this issue. Therefore, I propose the following fix (I included the default regex history as well as a reference)
I also wonder if my proposed fix might also fix #560, #527, and #511. Also, I think it would be helpful for users that have customized their regex to have some documentation that the default regex has changed (along with why), and/or a notification that the default regex has changed. Otherwise, users with a customized regex lose out on fixes/tweaks to the default regex. This probably doesn't need to be over-engineered since the default regex shouldn't change too often, but something to help users stay up to date might be nice. |
Example configuration
Steps:
The issue seems to be a difference in the regex match of open files vs workspace files. In the example above, icons.js line 8 ends with a
;
. If I remove the;
from icons.js line 8, OR I remove the;
from the "todo-tree.regex.regex" setting, the issue does not happen (the tag is always displayed correctly like in step 1 above)The text was updated successfully, but these errors were encountered: