Skip to content

Feature Request: Auto-label blank inline bookmarks with code content #82

@mishaxz

Description

@mishaxz

Bookmark Label Enhancement Proposal

Currently, when using inline bookmarks like //@todo, if no label is provided, the bookmark appears as just @todo in the explorer and inline view. This can make it harder to distinguish or locate relevant bookmarks when scanning through code.

Proposed Behavior

If a bookmark tag (e.g. //@note, //@todo, etc.) is left blank, automatically populate its label with the associated line of code. For example:

print("hi"); //@todo

…would be displayed as:

@todo print("hi"); 

This would make bookmarks more informative by default.

Setting
If this behavior isn't desirable for all users, consider making it a setting.

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions