codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Question : Meaning of Digging : Navigation : center on whole item / name only

Open PaltryProgrammer opened this issue 2 years ago • 1 comments

May i please inquire meaning of Settings : Digging : Navigation : "center on whole item" and of "name only" i see no difference in behavior i.e. in each case upon navigation cursor lands on name Thank You Kindly

PaltryProgrammer avatar Jan 21 '23 04:01 PaltryProgrammer

Sure thing. The difference is about how we choose to center the code as we scroll to it in the document window. If we're trying to center on the name only, then the name of the method will be close to the center of the page. If we're trying to center on the whole item, such as a function that is 20 lines long, then the middle of the function (e.g. line 10) would be close to the center of the page. Hope it helps!

codecadwallader avatar Feb 12 '23 19:02 codecadwallader