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

[Feature Request] Ability to remove the limit on marker lines and hovers #4744

Open
2 tasks done
s5bug opened this issue Nov 8, 2024 · 0 comments
Open
2 tasks done
Labels
feature-request Request for new features or functionality

Comments

@s5bug
Copy link

s5bug commented Nov 8, 2024

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

I've a read-only diff editor with renderValidationDecorations set manually to on. This is because markers

  1. don't add any width to existing text
  2. can be hovered over
  3. can be copied from

Making them very useful for showing extra info for what I'm using Monaco for: a difference checker between an extant bytecode file and the bytecode generated by some compiled source code.

Image

With large bytecode files, as seen in the image, I quickly hit the 500 marker limit, disabling the marker underline or the ability to hover to see a quick description of the info I want.

#2042 previously asked about this, but renderValidationDecorations has been added since that issue, so I'd like to revisit discussion in this area. Perhaps there is a better mechanism to achieve what I'm looking for, but Hover Providers don't decorate the text and always interpret the strings given to them as markdown rather than verbatim.

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

@s5bug s5bug added the feature-request Request for new features or functionality label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

1 participant