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

it doesn't work on vscode v1.71.2

Open dior1101 opened this issue 2 years ago • 6 comments

Now I‘ve installed Comment Anchors v1.10.1 on vscode v1.71.2,but the extension doesn't work. It works well on my colleague‘s vscode (v1.70.2), as well as before i updated vscode to v1.71.2. Is it caused by update of the extension or vscode? I need the extension so badly. Hope for your fixing. THANK U.

dior1101 avatar Nov 04 '22 08:11 dior1101

Now I‘ve installed Comment Anchors v1.10.1 on vscode v1.71.2,but the extension doesn't work. It works well on my colleague‘s vscode (v1.70.2), as well as before i updated vscode to v1.71.2. Is it caused by update of the extension or vscode? I need the extension so badly. Hope for your fixing. THANK U.

dior1101 avatar Nov 04 '22 08:11 dior1101

Hello,

Is this still an existing issue? I'm running the latest version of vscode (v1.74.2) using the latest version of comment anchors (v1.10.2) and I have no issues with the extension.

Hopefully its already resolved but let me know! :)

JordanDi123 avatar Dec 30 '22 03:12 JordanDi123

Stopped working for me since about 2 months ago here, don't know it's because of the plugin breaking update or vsc version. Have Comment Anchors v1.10.2 and VSC 1.74.2 (Universal) on an intel macOS Ventura 13.0.1.

Only the auto-completion part is working, but none of the configured anchors are highlighted or shown in the sidebar list.

lethefrost avatar Dec 31 '22 23:12 lethefrost

@lethefrost

Sorry to hear there are issues for you as well. Can you please provide full VS Code debug details using Help -> About -> Copy: image (a window will appear with the copy button after you hit about)

Additionally, if you could provide images (or even GIFs) showing what occurs that would be very much helpful and hopefully we can get to the bottom of this.

If anyone else has information to reproduce this, please feel free to share!

Thank you for your help and for your continued support of Comment Anchors.

JordanDi123 avatar Jan 23 '23 20:01 JordanDi123

I ran into this issue too in VS Code on a typescript project I'm working on! Setting the iconColor: "default" does not work to auto apply default color scheme.

Screen Shot 2023-04-29 at 5 58 29 PM

Reading through the ReadMe, I also tried iconColor: "auto" since that was mentioned somewhere in the ReadMe – but this did not work either.

Screen Shot 2023-04-29 at 5 58 44 PM

As well, If the iconColor setting is omitted and not defined at all for a tag, it also still does not work.

But there is one thing that works – when I moused over the blank field, Typescript gave me the typechecking suggestion note that:

"Incorrect type. Expected "string". The icon color as hex value. Set to null to default to highlightColor"

If I choose to set iconColor: null as a boolean, it then works as expected and the iconColor inherits the defined highlightColor.

Screen Shot 2023-04-29 at 5 59 07 PM

However at this point it is also going against the type requirement asking for a string for iconColor ... but it works! 🤷‍♂️

Sounds like there might be a type error somewhere in the anchorEngine.ts – Hope this helps track it down!

trevordcampbell avatar Apr 29 '23 22:04 trevordcampbell

@lethefrost

Sorry to hear there are issues for you as well. Can you please provide full VS Code debug details using Help -> About -> Copy: image (a window will appear with the copy button after you hit about)

Additionally, if you could provide images (or even GIFs) showing what occurs that would be very much helpful and hopefully we can get to the bottom of this.

If anyone else has information to reproduce this, please feel free to share!

Thank you for your help and for your continued support of Comment Anchors.

Hi! Sorry for the late reply. I now switched on an ARM mac and it's still not working at all. I copied the information as you requested as below:

Version: 1.80.1
Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771
Date: 2023-07-12T17:20:58.115Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.5.0

I hope this might help debugging! I am sorry that I cannot provide an image because it just doesn't have any visible effect, show any anchor as it did in the past, or even show error message popups, and I have nothing to take a screenshot on... If you need more information, please let me know.

lethefrost avatar Jul 24 '23 04:07 lethefrost