Skip to content

Commit

Permalink
Merge branch 'master' into dart-ref-support
Browse files Browse the repository at this point in the history
  • Loading branch information
mallowigi authored Sep 13, 2024
2 parents 826df84 + 668a4b2 commit f61960d
Show file tree
Hide file tree
Showing 50 changed files with 1,338 additions and 651 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.1.7
- name: Cache Pre-commit
uses: actions/cache@v4
with:
Expand All @@ -22,4 +22,4 @@ jobs:
~/.cache/pip
key: ${{ runner.os }}-${{ hashFiles('./.pre-commit-config.yaml') }}
- name: Pre-commit
uses: pre-commit/action@v3.0.0
uses: pre-commit/action@v3.0.1
8 changes: 1 addition & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import io.gitlab.arturbosch.detekt.Detekt
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

fun properties(key: String) = providers.gradleProperty(key).get()

Expand Down Expand Up @@ -88,7 +87,7 @@ repositories {
}

dependencies {
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.0")
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.23.6")
implementation("commons-io:commons-io:2.11.0")
implementation("com.thoughtworks.xstream:xstream:1.4.20")

Expand Down Expand Up @@ -188,11 +187,6 @@ tasks {
targetCompatibility = it
}

withType<KotlinCompile> {
kotlinOptions.jvmTarget = it
kotlinOptions.freeCompilerArgs += listOf("-Xskip-prerelease-check")
}

withType<Detekt> {
jvmTarget = it
reports.xml.required.set(true)
Expand Down
42 changes: 29 additions & 13 deletions docs/CHANGELOG.html
Original file line number Diff line number Diff line change
@@ -1,129 +1,145 @@
<h1>Changelog</h1>

<h2>Changelog</h2>

<h3>Features</h3>

<h3>Fixes</h3>

<h3>Removals</h3>
<hr />

<h3>Other</h3>
<h2>18.0.0</h2>

<hr />
<h2>18.1.0</h2>
<h3>Features</h3>
<ul><li>Support colorizing references to <code>Color</code> instances in Dart</li></ul>

<h2>17.0.1</h2>

<h3>Fixes</h3>

<ul><li>Fix exception when parsing Scala constructors or methods</li></ul>

<h2>17.0.0</h2>

<h3>Features</h3>
<ul><li>Add <em>Color constructor</em> and <em>Color Methods</em> detection for Scala (with Settings). Credits to <a href="https://github.com/OndrejSpanel">Ondřej Španěl</a></li><li>Improve hex detection by only detecting hex colors with 3, 6 or 8 digits.</li></ul>

<ul><li>Add <em>Color constructor</em> and <em>Color Methods</em> detection for Scala (with Settings). Credits
to <a href="https://github.com/OndrejSpanel">Ondřej Španěl</a></li><li>Improve hex detection by only detecting hex colors with 3, 6 or 8 digits.</li></ul>

<h2>16.0.0</h2>

<h3>Features</h3>

<ul><li>New <strong>Highlighting Styles</strong>: <em>Background</em>, <em>Foreground</em>, <em>Border</em>, <em>Underline</em> and <strong>Inline</strong></li><li>Support for <strong>Rust</strong></li><li>Support for <strong>Lua</strong></li><li>Support for <strong>Toml</strong></li><li>Support for <strong>Svelte</strong></li><li>Support for <strong>Vue</strong></li><li>Migrate Settings to Kotlin UI DSL</li><li>Add XML Visitor to be able to highlight colors inside XML nodes</li><li>Python: Recognize tuples</li><li>Toggle color names detection</li><li>Toggle tuple detection</li></ul>

<h3>Fixes</h3>

<ul><li>Fix short rgb highlighting</li><li>Fix deprecated usages</li><li>Fix the display name missing error</li><li>Make rgba format the default rather than argb</li><li>Detect Strings in Scala</li></ul>

<h2>15.0.0</h2>

<h3>Fixes</h3>

<ul><li>Support for 2023.1</li></ul>

<h2>14.0.0</h2>

<h3>Features</h3>

<ul><li>Support for <strong>R</strong> and <strong>SQL</strong> Languages</li></ul>

<h3>Fixes</h3>

<ul><li>Fix the issue where the &quot;<em>Use rgba instead of argb</em>&quot; was doing the opposite</li></ul>

<h2>13.0.0</h2>

<h3>Fixes</h3>

<ul><li>Support for 2022.3</li></ul>

<h2>12.0.0</h2>

<h3>Fixes</h3>

<ul><li>Fix the double icon in Gutter for supported files</li></ul>

<h2>11.0.0</h2>

<h3>Features</h3>

<ul><li><strong>Dart</strong> support</li><li>Option to parse colors as <code>rgba</code> instead of <code>argb</code></li><li>Color Preview for <em>Stylesheets</em> (CSS, SASS...) and <em>Markup</em> (XML, HTML...)</li><li><strong>Experimental</strong>: Text files color parsing</li><li>Support for numeric literals parsing (<code>0x...</code>) in JavaScript, TypeScript and Python</li></ul>

<h3>Fixes</h3>

<ul><li>Fix <code>Color.FromArgb</code> parsing in C#</li></ul>

<h2>9.2.0</h2>

<h3>Fixes:</h3>

<ul><li>Change hexadecimal rgba codes parsing by parsing the alpha channel on the left instead of the right</li></ul>

<h2>9.1.1</h2>

<ul><li>Fix fatal error with JavaVisitor</li></ul>

<h2>9.1.0</h2>

<h3>Fixes:</h3>

<ul><li>Fix fatal error with JGoodies</li></ul>

<h2>9.0.0</h2>

<h3>Features:</h3>

<ul><li>The project has been reworked again. Now it's even easier to add new languages!</li><li>Add Settings Page inside <em>Editor Settings</em> to toggle highlighting on and off</li><li>Support for Rider's languages (<strong>C, C++, C#</strong>)</li><li>Support for <strong>Markdown</strong></li><li>Add finer settings to toggle specific highlightings only:<ul><li>Toggle automatic detection of hexadecimal strings (no more coloring numbers indiscriminately)</li><li>Java/Kotlin <code>new Color()</code> format</li><li>Java/Kotlin <code>Color.XXX</code> format</li><li>C# <code>Color.FromArgb()</code> format</li><li><strong>Markdown</strong> color highlighting</li></ul></li><li><strong>Ability to define your own colors</strong></li><li>Toggle gutter's color previews from the <em>Gutter settings</em></li><li>Copy color to clipboard into different formats when <em>right clicking</em> on the gutter's color preview:<ul><li>Hexadecimal</li><li><code>rgb</code> and <code>rgba</code></li><li><code>hsl</code> and <code>hsla</code></li><li>Java's <code>new Color()</code> and <code>ColorUIResource</code></li><li>Kotlin's <code>Color()</code> and <code>ColorUIResource</code></li><li>Objective-C's <code>[NSColor ]</code></li><li>Objective-C's <code>[UIColor ]</code></li><li>Swift's <code>NSColor()</code></li><li>Android's <code>Color.argb()</code>, <code>Color.rgb()</code></li><li>C#'s <code>Color.FromArgb()</code></li></ul></li><li>Update Notifications</li></ul>

<h3>Fixes</h3>

<ul><li>Remove detection of 3-5 digits as a color. No more coloring <code>100</code>, <code>1000</code> etc.</li><li>Fix wrong detection of UUIDs as colors</li><li>Repaint editors on save</li></ul>

<h3>Other</h3>

<ul><li>The project has been entirely rewritten in Kotlin (except for setting pages)</li><li>Color Highlighting Settings are feature dependent (no Kotlin settings if the plugin is off)</li><li>Work on the documentation</li></ul>

<h2>8.0.0</h2>

<h3>Other</h3>

<ul><li>Convert project to Kotlin</li></ul>

<h2>7.0.0</h2>

<h3>Bump</h3>

<ul><li>Support for 2021.1</li></ul>

<h2>6.0.0</h2>

<h3>Bump</h3>

<ul><li>Upgrade dependencies</li></ul>

<h2>5.0.0</h2>

<h3>Bump</h3>

<ul><li>Support to 2021.1</li></ul>

<h2>4.0.0</h2>

<h3>Bump</h3>

<ul><li>Support for 2020.3</li></ul>

<h2>3.0.0</h2>

<h3>Features</h3>

<ul><li>XML</li><li>HTML</li><li>JavaScript</li><li>TypeScript</li><li>Properties</li><li>YAML</li><li>Python</li><li>Ruby</li><li>Java (ColorUiResource)</li><li>Kotlin (ColorUiResource)</li><li>Scala (ColorUiResource)</li><li>Go</li><li>Objective C</li><li>Swift</li></ul>

<h2>2.0.0</h2>

<h3>Bump</h3>

<ul><li>Upgrade to 2019.1</li></ul>

<h2>1.0.0</h2>

<h3>Bump</h3>

<ul><li>First version of the plugin</li></ul>
Loading

0 comments on commit f61960d

Please sign in to comment.