From dd0bae876a28e70797e6638ed15f7ac0080c84ce Mon Sep 17 00:00:00 2001 From: xdrop Date: Sun, 5 Aug 2018 18:33:59 +0100 Subject: [PATCH] Add custom keyword highlight for Javascript --- build.gradle | 7 +-- docs/CHANGELOG.html | 4 ++ .../nightowl/NightOwlProjectComponent.kt | 2 +- .../nightowl/dialog/SetSettingsDialog.form | 2 +- .../nightowl/dialog/SetSettingsDialog.kt | 6 +- .../nightowl/highlight/NightOwlJSAnnotator.kt | 36 +++++++++++ .../settings/NightOwlColorSettingsPage.kt | 60 +++++++++++++++++++ src/main/resources/META-INF/plugin.xml | 3 + src/main/resources/colors/NightOwl.xml | 15 +++++ 9 files changed, 126 insertions(+), 9 deletions(-) create mode 100644 src/main/kotlin/me/xdrop/nightowl/highlight/NightOwlJSAnnotator.kt create mode 100644 src/main/kotlin/me/xdrop/nightowl/settings/NightOwlColorSettingsPage.kt diff --git a/build.gradle b/build.gradle index 0f133ea..dcbd718 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ dependencies { } group 'me.xdrop' -version '1.2.1' +version '1.3.0' def isDevMode = System.getProperty("dev")?.toBoolean() ?: false @@ -34,14 +34,13 @@ compileKotlin { } } -def pluginDependencies = ['izhangzhihao.rainbow.brackets:5.9.1', 'com.chrisrm.idea.MaterialThemeUI:2.7.1'] - intellij { pluginName 'nightowl-theme' version '2018.2' updateSinceUntilBuild true if (isDevMode) { - plugins = pluginDependencies + plugins = ['izhangzhihao.rainbow.brackets:5.9.1', + 'com.chrisrm.idea.MaterialThemeUI:2.7.1'] } } patchPluginXml { diff --git a/docs/CHANGELOG.html b/docs/CHANGELOG.html index 7055d52..dab9194 100644 --- a/docs/CHANGELOG.html +++ b/docs/CHANGELOG.html @@ -1,5 +1,9 @@

Changelog

----

+

1.3.0

+

1.2.1