Closed JoJoAtkinson closed 3 years ago
Hello,
I tried reproducing this on v1.9.3 after fixing #120 but I was unable to reproduce. Could you provide further information and confirm this is still a bug? If not, please close the issue.
Thank you!
I think I was describing the "Document sliding up when comment with link behaviour is present in it" in the issue 109, which was resolved int he last patch. "https://github.com/ExodiusStudios/vscode-comment-anchors/issues/109"
I could not reproduce with the latest, closing with comment.
@JordanDi123 With the latest version (v1.9.4), I continue to observe the bug.
A few important notes is that the document must have enough content. The python file I had open had 600 lines. It only occurs if there is a code lens on a tag that is above your current view, out of sight, and you are scrolled below the tag, E.I, you must scroll up to see the tag once again.
Steps to reproduce
these are the current extensions I'm using, all latest (not including your extension) "vscode-icons-team.vscode-icons", "gruntfuggly.todo-tree", "hbenl.vscode-test-explorer", "clarkyu.vscode-sql-beautify", "adrianwilczynski.terminal-commands", "ptweir.python-string-sql", "littlefoxteam.vscode-python-test-adapter", "njpwerner.autodocstring", "ms-python.python", "ms-python.vscode-pylance", "codezombiech.gitignore", "donjayamanne.githistory", "mhutchie.git-graph", "jbockle.jbockle-format-files"
@JoeyAtkinson We just released version 1.9.5 which has replaced the CodeLens implementation with inline document links. Could you confirm whether the issue has been resolved in this latest version?
Woot! @macjuul, "Replace link anchor CodeLens with clickable link" completely resolves the issue -- also, I personally prefer it over the CodeLens as I sometimes have muti-lined comments where I want to anchor or link, but don't want a awkward space.
Thank you for resolving this issue, and improving the experience! 🎉🎉🎉
Great to hear it's working!
If I have a
line 10: # LINK ./scope.py#wildcards
followed by
line 900: # ANCHOR[id=wildcards]
on the same page, when I add a comment like
# xxxxxxx
Each 'x' will cause the page to to scroll up one line. If I kept putting 'x's my comment will scroll up and out of view.
This bug only appear if the #LINK is out of view of the ANCHOR.