Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Hover on bookmark icon to show the content of the bookmark #661

Closed
IsLand-x opened this issue Nov 8, 2023 · 2 comments
Closed
Labels
depends on Depends on issues from VS Code duplicate enhancement

Comments

@IsLand-x
Copy link

IsLand-x commented Nov 8, 2023

Hello Fragnani, thanks for your great work!

The bookmark extension is very useful when I read the source code, I can mark the confusing code and ask the author later. But when I show the source code to others where bookmarked, I hover on the icon and the title doesn't show up. So I have to open the bookmark browser on the sidebar, and find the bookmark by filename and location manually.

I think it will be more convenient if this feature was completed.

Also, I found the earlier issues where you said the reason you didn't develop the feature is the absence of vscode api.

#494
#375

I found the issue below in vscode's repository, and a comment seems already completed the gutter hover feature. So maybe today's vscode api is capable for developing the hover feature of bookmark extension. Hoping it can bring you some idea~

microsoft/vscode#5455 (comment)

Also, I am interested in developing the feature if the vscode-bookmark-core repository can be set to public.

Thanks again, and hoping this feature can be completed by you and the community.

@alefragnani alefragnani added duplicate depends on Depends on issues from VS Code labels Nov 8, 2023
@alefragnani
Copy link
Owner

Hi @IsLand-x ,

First of all, thank you for your kind words. I'm glad to know the extension is helpful!

About the feature, in fact, the video on that comment is not displaying an icon in the gutter (with the line numbers), but in the text area, moving the text itself a bit to the right. If you use the GitLens extension, it is like the GitLens: Toggle File Blame command.

The original issue that asks for hover in the gutter is still open in VS Code repo microsoft/vscode#28080. But, I have the feeling that it could come to their backlog in the near future, since the mouse click API was added recently.

Hope this helps

@alefragnani alefragnani closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@nolimitdev
Copy link

If hover is not support by VSCode what about for example click and show in some dialog/modal window etc.? It is really frustrating to see icon that there is a bookmark but can not see label! I feel like blind man.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on Depends on issues from VS Code duplicate enhancement
Projects
None yet
Development

No branches or pull requests

3 participants