redhat-developer / redhat-developer/lsp4ij
Improve hover with DocMarkdownToHtmlConverter
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 344
- Forks
- 113
- Avg merge
- 5h 22m
- Merged PRs (30d)
- 15
Description
I discovered that IJ provides a MarkDown HTML converter https://github.com/JetBrains/intellij-community/blob/master/platform/markdown-utils/src/com/intellij/markdown/utils/doc/DocMarkdownToHtmlConverter.kt which is available since 3 months and it seems it support code block https://github.com/JetBrains/intellij-community/blob/e9b759abf53d772d360495571377b6c1a3a64770/platform/markdown-utils/src/com/intellij/markdown/utils/doc/DocMarkdownToHtmlConverter.kt#L104
to highlight code block with syntax coloration(textmate?)for hover.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced IntelliJ DocMarkdownToHtmlConverter.kt, especially its code-block handling, then locate the lsp4ij hover rendering entry point. Compare the current hover output with the converter's capabilities; done means hover code blocks render with syntax coloration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100