Skip to content

SymbolPane: improve tooltips for C tags #1636

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jul 17, 2025

We implemented more informative tooltips for Vala symbols recently. This does the same for C tags (as far as the parser allows).

The parser does not provide start and end lines for the tags, only the line on which the tag name occurs. As C methods often have the type on the previous line, the start line is decremented for methods. It is necessary to use Markup.escape_text as some C symbol definitions contain markup characters.

Screenshot from 2025-07-17 19 08 02

@jeremypw jeremypw mentioned this pull request Jul 18, 2025
2 tasks
@jeremypw jeremypw added this to the 8.2 milestone Aug 6, 2025
@jeremypw jeremypw requested a review from a team August 9, 2025 15:42
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

Successfully merging this pull request may close these issues.

1 participant