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

Show full TODO comment on hover #860

Open
CelticMinstrel opened this issue Jul 12, 2024 · 2 comments
Open

Show full TODO comment on hover #860

CelticMinstrel opened this issue Jul 12, 2024 · 2 comments

Comments

@CelticMinstrel
Copy link

CelticMinstrel commented Jul 12, 2024

When I hover over an entry in the TODO list, it only shows me the file and line number of that comment.

image

It would be great if it could also show the full text of the comment.

@Ansa211
Copy link

Ansa211 commented Jul 23, 2024

This should be possible to configure via

    "todo-tree.tree.tooltipFormat": "${filename}:${line} ${before}${tag}${after}",

in your user settings file.

@CelticMinstrel
Copy link
Author

That worked, but I couldn't find any documentation about the variables that can be used there, and I think it would make more sense for the default to show the actual comment as well.

I don't mind whether you close this or turn it into a "please document it better" issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants