oleg-shilo / PyMap.VSIX

CodeMap extension for Visual Studio 2017-2022
18 stars 3 forks source link

Instant map update after changing focus to a different document / Save settings on chekbox-click / Save vertical scroll value per document #6

Closed FinboxEntertainment closed 1 year ago

FinboxEntertainment commented 1 year ago

Hello oleg, first of all a very big thank you for creating the best extension ever. I have been looking for a Visual Studio outline that does not suck, for ages, not even CodeMaid could satisfy me because you cannot hide the entire list of member-variables, all I need is the functions and thats it.

So after trying out your extension I was in bliss, but I figured I could add the few changes that were missing for me and as a thank you, I am sharing it now with you.

Features added:

Changed files:

PyMap.VSIX-2.0.2.0.zip

oleg-shilo commented 1 year ago

I am glad you found this extension being useful.

I completely share your pain with the existing "code outline" solutions.

Being an extension developer by myself I am very respectful of other extensions authors desire to see their products evolving certain way. Thus I have done a few attempts to contribute the PRs to CodeMaid team but I did not succeed convincing them that they are not capturing all code navigation use-cases and actually overlooking the most important "code outline" user experience - navigation. I have described all this in the readme.md.

Thus I have created this extension for myself but shared with all. And it looks like it is getting a bit more and more attention.

As for your code contribution, ironically, I was already working on the feature that that deliverers the same user experience as you are looking for with your "save scroll position per doc". The latest release (today) allows synchronizing tree selection and scroll-to-view position with the caret position in the document. This synchronization can also be done automatically as you navigate within the file.

image

Thus I did not use your implementation of this feature but did take the other two.

Thank you for your contribution.

FinboxEntertainment commented 1 year ago

After testing your new version there is one thing i found: The Settings-File will only be saved when a checkbox is ticked active but not when ticked inactive.

Thank you and a happy new year :)

oleg-shilo commented 1 year ago

Thank you. You are right. I have subscribed to the wrong event. It's fixed now. Update through the extension manager to v2.1.1.0