mirror of
https://github.com/chylex/IntelliJ-Inspection-Lens.git
synced 2024-11-25 16:42:54 +01:00
Compare commits
No commits in common. "06c81654e818244b83af3b7fd6b0adb22c01feb4" and "55b71b982b23a760033474a73bcd13c44d581c5e" have entirely different histories.
06c81654e8
...
55b71b982b
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
@ -1,3 +0,0 @@
|
||||
github: chylex
|
||||
patreon: chylex
|
||||
ko_fi: chylex
|
BIN
.github/readme/intellij.png
vendored
BIN
.github/readme/intellij.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
@ -5,5 +5,3 @@ Simply install the plugin and inspection descriptions will appear on the right s
|
||||
The plugin is not customizable outside of the ability to disable/enable the plugin without restarting the IDE. If the defaults don't work for you, I would recommend either trying the [Inline Error](https://plugins.jetbrains.com/plugin/17302-inlineerror) plugin which can be customized, or proposing your change in the [issue tracker](https://github.com/chylex/IntelliJ-Inspection-Lens/issues).
|
||||
|
||||
Inspired by [Error Lens](https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens) for Visual Studio Code, and [Inline Error](https://plugins.jetbrains.com/plugin/17302-inlineerror) for IntelliJ Platform.
|
||||
|
||||
![Inspection Lens Screenshot](https://raw.githubusercontent.com/chylex/IntelliJ-Inspection-Lens/main/.github/readme/intellij.png)
|
||||
|
@ -53,7 +53,7 @@ class LensMarkupModelListener private constructor(editor: Editor) : MarkupModelL
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val MINIMUM_SEVERITY = HighlightSeverity.TEXT_ATTRIBUTES.myVal + 1
|
||||
private val MINIMUM_SEVERITY = HighlightSeverity.DEFAULT_SEVERITIES.toList().minusElement(HighlightSeverity.INFORMATION).minOf(HighlightSeverity::myVal)
|
||||
|
||||
private inline fun runWithHighlighterIfValid(highlighter: RangeHighlighter, actionForImmediate: (HighlighterWithInfo) -> Unit, actionForAsync: (HighlighterWithInfo.Async) -> Unit) {
|
||||
if (!highlighter.isValid) {
|
||||
|
Loading…
Reference in New Issue
Block a user