mirror of
https://github.com/chylex/IntelliJ-Inspection-Lens.git
synced 2026-02-15 09:06:17 +01:00
Compare commits
3 Commits
41063fb895
...
ij2026
| Author | SHA1 | Date | |
|---|---|---|---|
|
86567eddfc
|
|||
|
caff100d67
|
|||
|
04323478cc
|
@@ -6,7 +6,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "com.chylex.intellij.inspectionlens"
|
group = "com.chylex.intellij.inspectionlens"
|
||||||
version = "1.6.0"
|
version = "1.6.1"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@@ -18,7 +18,7 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
intellijPlatform {
|
intellijPlatform {
|
||||||
intellijIdeaUltimate("2024.2")
|
intellijIdeaUltimate("261.17801.55-EAP", useInstaller = false)
|
||||||
bundledPlugin("tanvd.grazi")
|
bundledPlugin("tanvd.grazi")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ intellijPlatform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
jvmToolchain(17)
|
jvmToolchain(25)
|
||||||
|
|
||||||
compilerOptions {
|
compilerOptions {
|
||||||
freeCompilerArgs = listOf(
|
freeCompilerArgs = listOf(
|
||||||
|
|||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ rootProject.name = "InspectionLens"
|
|||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.9.24" // https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#bundled-stdlib-versions
|
kotlin("jvm") version "2.3.0" // https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#bundled-stdlib-versions
|
||||||
id("org.jetbrains.intellij.platform") version "2.6.0" // https://github.com/JetBrains/intellij-platform-gradle-plugin/releases
|
id("org.jetbrains.intellij.platform") version "2.10.5" // https://github.com/JetBrains/intellij-platform-gradle-plugin/releases
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ internal value class EditorLensLineBackground(private val highlighter: RangeHigh
|
|||||||
get() = !highlighter.isValid
|
get() = !highlighter.isValid
|
||||||
|
|
||||||
fun onFoldRegionsChanged(editor: Editor, severity: LensSeverity) {
|
fun onFoldRegionsChanged(editor: Editor, severity: LensSeverity) {
|
||||||
|
if (isInvalid) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (highlighter is RangeHighlighterEx) {
|
if (highlighter is RangeHighlighterEx) {
|
||||||
highlighter.textAttributes = getAttributes(editor, highlighter.startOffset, highlighter.endOffset, severity)
|
highlighter.textAttributes = getAttributes(editor, highlighter.startOffset, highlighter.endOffset, severity)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,12 @@
|
|||||||
]]></description>
|
]]></description>
|
||||||
|
|
||||||
<change-notes><![CDATA[
|
<change-notes><![CDATA[
|
||||||
|
<b>Version 1.6.1</b>
|
||||||
|
<ul>
|
||||||
|
<li>Fixed exception caused by accessing disposed editors.</li>
|
||||||
|
<li>Fixed exception caused by accessing disposed line background highlighters.</li>
|
||||||
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.6.0</b>
|
<b>Version 1.6.0</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added action to <b>View | Show Inspection Lenses</b> that temporarily toggles visibility of all inspections.</li>
|
<li>Added action to <b>View | Show Inspection Lenses</b> that temporarily toggles visibility of all inspections.</li>
|
||||||
@@ -22,17 +28,20 @@
|
|||||||
<li>Clicking an inspection now only shows relevant quick fixes (not supported for ReSharper-based languages, which use a non-standard popup).</li>
|
<li>Clicking an inspection now only shows relevant quick fixes (not supported for ReSharper-based languages, which use a non-standard popup).</li>
|
||||||
<li>Tried to work around an issue where the IDE randomly fails to load the plugin.</li>
|
<li>Tried to work around an issue where the IDE randomly fails to load the plugin.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.5.2</b>
|
<b>Version 1.5.2</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added option to change maximum description length.</li>
|
<li>Added option to change maximum description length.</li>
|
||||||
<li>Added button to <b>Settings | Tools | Inspection Lens</b> that resets all settings to default.</li>
|
<li>Added button to <b>Settings | Tools | Inspection Lens</b> that resets all settings to default.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.5.1</b>
|
<b>Version 1.5.1</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added option to change the behavior of clicking on inspections.</li>
|
<li>Added option to change the behavior of clicking on inspections.</li>
|
||||||
<li>Fixed broken quick fixes in Rider and CLion Nova.</li>
|
<li>Fixed broken quick fixes in Rider and CLion Nova.</li>
|
||||||
<li>Fixed hover underline not rendering correctly with some combinations of high DPI and line height settings.</li>
|
<li>Fixed hover underline not rendering correctly with some combinations of high DPI and line height settings.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.5</b>
|
<b>Version 1.5</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added possibility to left-click an inspection to show quick fixes.</li>
|
<li>Added possibility to left-click an inspection to show quick fixes.</li>
|
||||||
@@ -42,51 +51,62 @@
|
|||||||
<li>Improved descriptions of Kotlin compiler inspections.</li>
|
<li>Improved descriptions of Kotlin compiler inspections.</li>
|
||||||
<li>Fixed visual artifacts in Rendered Doc comments.</li>
|
<li>Fixed visual artifacts in Rendered Doc comments.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.4.1</b>
|
<b>Version 1.4.1</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Fixed warnings in usage of IntelliJ SDK.</li>
|
<li>Fixed warnings in usage of IntelliJ SDK.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.4</b>
|
<b>Version 1.4</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added configuration of visible severities to <b>Settings | Tools | Inspection Lens</b>.</li>
|
<li>Added configuration of visible severities to <b>Settings | Tools | Inspection Lens</b>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.3.3</b>
|
<b>Version 1.3.3</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Partially reverted fix for inspections that include HTML in their description due to breaking inspections with angled brackets.</li>
|
<li>Partially reverted fix for inspections that include HTML in their description due to breaking inspections with angled brackets.</li>
|
||||||
<li>Fixed plugin not working when installed on JetBrains Gateway Client.</li>
|
<li>Fixed plugin not working when installed on JetBrains Gateway Client.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.3.2</b>
|
<b>Version 1.3.2</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Fixed inspections randomly not disappearing.</li>
|
<li>Fixed inspections randomly not disappearing.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.3.1</b>
|
<b>Version 1.3.1</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Updated minimum version to IntelliJ 2023.3 due to breaking API changes.</li>
|
<li>Updated minimum version to IntelliJ 2023.3 due to breaking API changes.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.3.0</b>
|
<b>Version 1.3.0</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added background colors to lines containing inspections. (<a href="https://github.com/chylex/IntelliJ-Inspection-Lens/pull/15">PR #15</a> by <a href="https://github.com/synopss">synopss</a>)</li>
|
<li>Added background colors to lines containing inspections. (<a href="https://github.com/chylex/IntelliJ-Inspection-Lens/pull/15">PR #15</a> by <a href="https://github.com/synopss">synopss</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.2.0</b>
|
<b>Version 1.2.0</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Support for IntelliJ 2023.2 EAP.</li>
|
<li>Support for IntelliJ 2023.2 EAP.</li>
|
||||||
<li>Added distinct colors for typos and Grazie inspections.</li>
|
<li>Added distinct colors for typos and Grazie inspections.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.1.2</b>
|
<b>Version 1.1.2</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added plugin icon.</li>
|
<li>Added plugin icon.</li>
|
||||||
<li>Updated minimum version to IntelliJ 2023.1 due to deprecated APIs.</li>
|
<li>Updated minimum version to IntelliJ 2023.1 due to deprecated APIs.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.1.1</b>
|
<b>Version 1.1.1</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Multiple inspections at the same place in the document are now ordered by severity.</li>
|
<li>Multiple inspections at the same place in the document are now ordered by severity.</li>
|
||||||
<li>Improved performance of processing inspections which do not contain HTML.</li>
|
<li>Improved performance of processing inspections which do not contain HTML.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.1.0</b>
|
<b>Version 1.1.0</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Fixed showing inspections that include HTML in their description. (<a href="https://github.com/chylex/IntelliJ-Inspection-Lens/pull/3">PR #3</a> by <a href="https://github.com/KostkaBrukowa">KostkaBrukowa</a>)</li>
|
<li>Fixed showing inspections that include HTML in their description. (<a href="https://github.com/chylex/IntelliJ-Inspection-Lens/pull/3">PR #3</a> by <a href="https://github.com/KostkaBrukowa">KostkaBrukowa</a>)</li>
|
||||||
<li>Fixed exception when asynchronous inspections run on a non-EDT thread.</li>
|
<li>Fixed exception when asynchronous inspections run on a non-EDT thread.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
<b>Version 1.0.0</b>
|
<b>Version 1.0.0</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Initial version with support for IntelliJ 2022.2 and newer.</li>
|
<li>Initial version with support for IntelliJ 2022.2 and newer.</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user