Skip to content

Labling parts of code #60

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
tmr232 opened this issue Jan 8, 2025 · 1 comment
Open

Labling parts of code #60

tmr232 opened this issue Jan 8, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tmr232
Copy link
Owner

tmr232 commented Jan 8, 2025

I want to be able to add a special comment in the source, and have it reflected in the graph, letting me know that a certain part is responsible for a certain thing.

Say, add a comment saying // CFG-Note: Do the cool thing and have it render as:
image

@tmr232 tmr232 added the enhancement New feature or request label Jan 8, 2025
@tmr232 tmr232 self-assigned this Jan 9, 2025
@tmr232
Copy link
Owner Author

tmr232 commented Jan 13, 2025

Currently enabled under the showRegions feature flag.
Once enabled, use cfg-overlay-start: My Message and cfg-overlay-end comments to delimit regions and show them in the graph.

Example
image

@tmr232 tmr232 added this to the 1.0.0 milestone Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant