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

Focus and comment labels #332

Open
gurkerl83 opened this issue Mar 15, 2023 · 2 comments
Open

Focus and comment labels #332

gurkerl83 opened this issue Mar 15, 2023 · 2 comments

Comments

@gurkerl83
Copy link

Just a quick question, is a combination of focus and a comment label possible? I thought when you focus, it would be very nice to activate the corresponding comment label so the code itself does not have to include any comments. Anyway, thx for the great library you have built!

@pomber
Copy link
Contributor

pomber commented Mar 15, 2023

what do you mean by "activate the comment label"?

@gurkerl83
Copy link
Author

When you hover over a link with the focus protocol set to line 3 it gets highlighted.

line 1   function adipiscing(...elit) {
line 2      // label something something
line 3      console.log("hover me")            => would be nice if the comment shows on the right side, 
                                                  not requiring a separate hover over line 3 
line 5      return elit.map((ipsum) => ipsum.sit)
line 6   }

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