-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Suggestion: Favorite files, functions, types #231
Comments
I think Favorites feature would be nice, and I do agree that the existing Bookmarks feature of VS is rather limited, since it is text-based only and lacks semantic understanding, which would needed to "bookmark" a type or a function. I do not at the moment see how it can be easily combined with my Tab Groups feature suggestion, since these two seem to be different features, although they can certainly interoperate. Personally I am more in need of tab groups and saving multiple Solution Explorer views than Favorites, but this feature is certainly nice to have. Perhaps this Favorites feature can be made into advanced Object Browser / Class View feature, since the VS's built-in Class View is very limited. The way I see it, ideally it would be a combination of Object Browser and Class View with Favorites, where Favorites would simply reference items from the combined Object Browser / Class View. Implementing this "Type View" if I may call this should be easy since you likely already have most of the code in the NaviBar, it's just a matter of slightly different presentation - in a tool window, instead of as part of the document or in floating windows, and using TreeView instead of a List. This tool window can then have 2 tabs: the main Type View and Favorites. Some ideas about Favorites in particular:
Lastly, to tie it with Tab Groups feature in the future, perhaps there can be the ability to open all items from a particular Favorites folder in a new tab group (similar to how you can open multiple bookmarks in Firefox web browser for example). |
Good to hear that. Unfortunately, several days ago our country has abruptly loosen the counter-COVID measures. We've been so well protected for these 3 years, most of the time free to go everywhere in our mainland without a mask, and now we are suddenly on our own. I am not very sure about my own health and in a panic of learning and preparing for the upcoming virus wave. |
I agree, this is similar to what I had in mind.
I also agree with these suggestions. @wmjordan that's unfortunate; I pray for your safety. Thank you again for your great work on this extension and supporting it. |
@wmjordan Please stay safe! Hopefully this will be over soon. And once again thank you for all your efforts with this amazing extension! I hope you will continue to add great new features in the future! |
Thank you for your blessing, my friends. Just two questions off-topic: |
I think I have had it twice. Both times it was like a mild flu - fever for a few days, and then I recovered over the next week. I think you should be ok. From what I read, it is usually only the elderly people or people with some lung or other conditions who are at a high risk. Still, best to be safe and use all the precautionary measures - masks, etc. Hope all will be well! |
@fitdev Thank you for sharing. The death ratio of COVID-19 in our country is still very low at this moment, since the virus has not yet fully spread. About 300 thousands of people were infected this year and few died according to official reports. |
What do you think about Class explorer, i requests? I think it should fit the needs!
|
In previous commits, I solved some problems with namespaces, which inspired me something about this request. The most challenging part is to relocate the symbols after source changes. For methods, since there can be quite a few overloads for them, we have to make an efficient way to identify them. |
Yes, I think your suggestion for methods is how it should work to avoid unnecessary complications. Because not only can there be different overloads, but method signatures may change too. So I think, it would be enough to identify a methopd by its name, containing type, and possibly a return type. |
@wmjordan Are you talking about symbols as in |
No. I was talking about the |
Thank you for sharing your thoughts, @fitdev . |
Darn, the economy is getting bad. Time for Codist in the upcoming year will be scarce. |
Hopefully things will improve next year economy-wise! Perhaps then only language-related features and serious bug fixes/crashes should then be prioritized? |
Yes, bug fixes/crashes will be always be addressed. |
I need a tree view control to present the favorite elements. Ideally, we should have a multi-column tree view, with drag & drop support |
I don't know much about WPF unfortunately. Perhaps you can take a look at the one used by ILSpy, though it is not a multi-column one, but perhaps it can be a good start, with multi-column support planned for the future. |
All I know of is |
Hmm, maybe multi-column is not a must. But drag-and-drop should be the feature your want. |
If you want multi-column, you could use |
@wmjordan in regards to your problem with uniquely identifying symbols:
...
Most structures in the .NET CLR have a unique metadata token. See this MSDN article, for example. All |
@Decimation |
Theoretically this function is implemented. However, I have not yet made an interface for it, which requires much more time. |
Problem
By default, Visual Studio has bookmarks which bookmark line numbers in files. However, these bookmarks are limited in their bookkeeping/organizational ability:
Solution: Favorites
Favorites would function similar to bookmarks but would keep track of the specified favorite in a more organized fashion.
For example, the user could favorite the following items:
The text was updated successfully, but these errors were encountered: