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

Support basic formatting in hint popup for no-restricted-* #1719

Open
Samuel-Therrien-Beslogic opened this issue Oct 17, 2023 · 2 comments
Open
Labels
feature-request Request for new features or functionality upstream
Milestone

Comments

@Samuel-Therrien-Beslogic

I'd like custom error messages set in rules like no-restricted-syntax, no-restricted-globals, no-restricted-imports, @typescript-eslint/no-restricted-imports, etc. to support basic formatting. Namely to have clickable links and support backticks for code:
image
image

I'm not sure if this is rather a core ESLint issue, if so, please let me know and I'll re-open over there.

@Samuel-Therrien-Beslogic Samuel-Therrien-Beslogic changed the title Support basic formatting for no-restricted-* Support basic formatting in hint popup for no-restricted-* Oct 17, 2023
@dbaeumer
Copy link
Member

This is currently not possible. Major reason is that VS Code doesn't support messages for diagnostics other than strings. I will keep the issue around but it needs to be supported by VS Code first.

@dbaeumer dbaeumer added the feature-request Request for new features or functionality label Oct 18, 2023
@dbaeumer dbaeumer added this to the Backlog milestone Oct 18, 2023
@Samuel-Therrien-Beslogic
Copy link
Author

Should probably open, or link to an existing, issue on VSCode's repo then. I'll see if I can find one.

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 upstream
Projects
None yet
Development

No branches or pull requests

2 participants