Highlight line should provide a parameter for tooltip
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13k
- Forks
- 1.4k
- Avg merge
- 15h 36m
- Merged PRs (30d)
- 3
Description
It would be a nice enhancement, if the highlighting of lines plug-in would have the possibility to provide an optional tooltip that describes the reason why the lines are highlighted.
Maybe my use case is not typical, but I would like to include PrismJS in my Jenkins static code analysis plugins to visualize source code and associated warnings. I.e., you see the source code, the line that contains a warning and - what is currently missing in PrimsJS - the description of the warning (output of lint, findbugs, etc.).
Contributor guide
No contributing guide indexed for this repository
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
Locate the line-highlighting plugin entry point and review how highlighted lines are configured and rendered. Use the Jenkins static-analysis warning example to determine the expected optional tooltip behavior, then verify that highlighted lines work both with and without tooltip text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100