vscode-comment-anchors icon indicating copy to clipboard operation
vscode-comment-anchors copied to clipboard

Section problems

Open yalcomania opened this issue 1 year ago • 2 comments

Firstly, thanks for great extension. I am having problems with sections.

1- It would be great to see all anchors in quick navigation. My main code includes two main section and I am only seeing two entries on quick nav. 2- Cusrsor position doesn't work either on sections. It just positioned under section and ignores anchors inside it.

Thank you.

yalcomania avatar Apr 28 '23 14:04 yalcomania

Wanted to second item #2 and provide more details.

When "Show Cursor" is enabled, it only works properly within a section if the section doesn't have closing tags (i.e., if there's no /! SECTION/.

You can see in the working screenshot that the section has a ? for the end line, and the cursor indicator is correctly positioned next to the section selected. working

Here the section has a start and end line, but the cursor indicator, instead of being near the middle (given the line number, 2744), it's at the bottom/end of the section anchors. notworking

lulufredo avatar Jul 20 '23 21:07 lulufredo