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

Feature Request: Populate Tree View in Order of appearance #9

Closed
patmar74 opened this issue Mar 11, 2018 · 4 comments
Closed

Feature Request: Populate Tree View in Order of appearance #9

patmar74 opened this issue Mar 11, 2018 · 4 comments

Comments

@patmar74
Copy link

As a user I would like to see all of my todo's for a file in the tree view in the order that they appear in the file, to make navigating sequential todo's significantly easier without being jumped to a potentially unrelated segment of the file.

For background I'm using the ToDo feature to navigate everything that needs to be done in a plain text file where one ToDo depends on the previous one.

@Gruntfuggly
Copy link
Owner

What order do they appear in? It always seems to do them in order for me. Is it possible to send me a copy of the file your're using, or part of it?

@patmar74
Copy link
Author

I've attached a copy of the file I was using and a screenshot of the tree-view. The first tree-view entry corresponds with Line 3164, the second, Line 1202, the third, Line 3165, the fourth, Line 1239.

I've read that ripgrep uses parallel processing to search faster but as a result the output is not in any particular order. The -j1 option that's mentioned by BurntSushi here might help.
treeview
KH1_FinalMix_Guide.txt

@Gruntfuggly
Copy link
Owner

Thanks for the file - that made it obvious what the problem was. The extension gets all the results and then sorts them before adding them to the tree - and there was a bug in the sort function. 8-)
I've uploaded a fixed version.

@patmar74
Copy link
Author

Perfect! I just opened VS Code and got the update. It works perfectly now! Thanks for your help!

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