Skip to content

Commit

Permalink
Merge branch 'release/0.10.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Feb 11, 2020
2 parents 20cbb1e + 0b0336a commit 5a9ec94
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 8 deletions.
68 changes: 67 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,59 @@

<p align="center">Changelog for <a href="https://www.nordtheme.com/ports/jetbrains">Nord JetBrains</a> — An arctic, north-bluish clean and elegant JetBrains IDE UI and editor color theme</p>

# 0.10.0

![Release Date: 2020-02-11](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2020-02-11&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.10.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-jetbrains/projects/14) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.10.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-jetbrains/milestone/11)

This version mainly focused on fixing some visual and usability bugs.

## Improvements

**Remove unused `parent_scheme` attribute from root tag of editor scheme**#117 (related to #115, #116) (⊶ 6a608030) by [@Tom1206][gh-user-tom1206]
↠ The `parent_scheme` is set automatically when a custom editor color scheme is created based on one of the bundled themes, like e.g. “Darcula“ when the IDE uses a dark theme or “Default“ in light mode.
Anyway, the attribute is not required at all and has been removed.

Moreover, to the time of this change there's no real indicator in the [“IntelliJ IDEA Community Edition“ source code][jetbrains/intellij-community-search-parent_scheme] that the attribute has any functionality but only [documenting the code base of the custom theme][jetbrains/intellij-community-abs_cls#l311].

Nevertheless, it is possible that the attribute affects the logic how editor color schemes handle the inheritance of colors from other syntax definitions or the _Language Defaults_. There was an increasing amount of reported issues where syntax elements were highlighted with colors from the “Darcula“ editor scheme instead of the ones defined by Nord although the values must have been derived from other syntax definitions.
This might be caused by the `parent_scheme` attribute which was set to “Darcula“.
Therefore the attribute has now been removed to mitigate such behavior.

Thanks to [@Tom1206][gh-user-tom1206] for the idea of inspecting the attribute. See #115 for more details.

## Bug Fixes

**Invisible background color of inactive completion popup item**#118 (⊶ 23cea029) by [@alekc][gh-user-alekc] and [@cjkent][gh-user-cjkent]
↠ Fixed the background color of the marked entry in the completion popup when triggered while typing (enabled [“Show suggestions as you type“ option in preferences][jb-doc-completion#config]) that was the same like the background of the popup itself. As a result, is was not possible to know which entry was selected to complete the current line.
The problem only occurred when the completion popup was triggered while typing but not when being explicitly [invoked using the configured keymapping][jb-doc-completion#invoke_base] (<kbd>Ctrl</kbd> / <kbd>⌃</kbd> + <kbd>Space</kbd> by default).
This was because the matching entry in the list, when invoked while typing, is _inactive_, but the color for inactive entries was the same like the background color of the popup itself.

This problem is now fixed by changing the color of the corresponding UI theme key `ui.CompletionPopup.selectionInactiveBackground` from `nord1` to `nord3`.

<div align="center">
<p><strong>Before</strong></p>
<img src="https://user-images.githubusercontent.com/7836623/74231745-9037cb80-4cc7-11ea-8695-cce2133da556.gif" />
<p><strong>After</strong></p>
<img src="https://user-images.githubusercontent.com/7836623/74231693-7302fd00-4cc7-11ea-84f9-17bb23175407.gif" />
</div>

**Wrong Type- and JavaScript highlighting inherited from parent scheme**#116#115 (⊶ 061fd42b) by [@mariojackson][gh-user-mariojackson] and [@Tom1206][gh-user-tom1206]
↠ As of IDE versions 2019.3.x, some TypeScript and JavaScript syntax elements were not highlighted correctly. The following elements inherited the colors from the default (bundled) _Darcula_ parent scheme instead of the language defaults defined by Nord:

- _Global function_
- _Global variable_
- _Instance member function_
- _Instance member variable_

These elements are now using explicitly defined colors instead to fix the highlighting.

<div align="center">
<p><strong>Before</strong></p>
<img src="https://user-images.githubusercontent.com/7836623/74188692-3f848c00-4c4f-11ea-88af-de1b774d687b.png" />
<p><strong>After</strong></p>
<img src="https://user-images.githubusercontent.com/7836623/74188691-3eebf580-4c4f-11ea-9782-5cf27bbe41f9.png" />
</div>

# 0.9.0

![Release Date: 2019-12-16](https://img.shields.io/static/v1.svg?style=flat-square&label=Release%20Date&message=2019-12-16&colorA=4c566a&colorB=88c0d0) [![Project Board](https://img.shields.io/static/v1.svg?style=flat-square&label=Project%20Board&message=0.9.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-jetbrains/projects/13) [![Milestone](https://img.shields.io/static/v1.svg?style=flat-square&label=Milestone&message=0.9.0&logo=github&logoColor=eceff4&colorA=4c566a&colorB=88c0d0)](https://github.com/arcticicestudio/nord-jetbrains/milestone/10)
Expand Down Expand Up @@ -544,6 +597,10 @@ All styles have been optimized to achieve a consistent and uniform coloring acro
[textmate]: https://macromates.com
[typescript]: https://www.typescriptlang.org

<!-- Shared Links-->

[gh-user-alekc]: https://github.com/alekc

<!-- v0.4.0 -->

[arcticicestudio/nord#55]: https://github.com/arcticicestudio/nord/issues/55
Expand Down Expand Up @@ -593,10 +650,19 @@ All styles have been optimized to achieve a consistent and uniform coloring acro
<!-- v0.8.1 -->

[gh-rel-0.8.0]: https://github.com/arcticicestudio/nord-jetbrains/releases/tag/v0.8.0
[gh-user-alekc]: https://github.com/alekc

<!-- v0.9.0 -->

[gh-user-n1kk]: https://github.com/n1kk
[jb-goland-rln-2019.3#code-editing]: https://www.jetbrains.com/go/whatsnew/#v2019-3-code-editing
[jb-rln-2019.3]: https://www.jetbrains.com/idea/whatsnew/#v2019-3

<!-- v0.10.0 -->

[gh-user-cjkent]: https://github.com/cjkent
[gh-user-mariojackson]: https://github.com/mariojackson
[gh-user-tom1206]: https://github.com/Tom1206
[jb-doc-completion#config]: https://www.jetbrains.com/help/idea/auto-completing-code.html#configure-code-completion
[jb-doc-completion#invoke_base]: https://www.jetbrains.com/help/idea/auto-completing-code.html#invoke-basic-completion
[jetbrains/intellij-community-abs_cls#l311]: https://github.com/JetBrains/intellij-community/blob/4491058316bab4162d2ee0a926ac65553b56e6a5/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AbstractColorsScheme.java#L311-L313
[jetbrains/intellij-community-search-parent_scheme]: https://github.com/JetBrains/intellij-community/search?p=2&q=parent_scheme&unscoped_q=parent_scheme
2 changes: 1 addition & 1 deletion resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>com.arcticicestudio.nord.jetbrains</id>
<name>Nord</name>
<version>0.9.0</version>
<version>0.10.0</version>
<vendor email="[email protected]" url="https://www.arcticicestudio.com">Arctic Ice Studio</vendor>

<description>
Expand Down
44 changes: 39 additions & 5 deletions resources/themes/nord.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<scheme name="Nord" version="142" parent_scheme="Darcula">
<scheme name="Nord" version="142">
<metaInfo>
<property name="created">2016-09-24T21:08:20</property>
<property name="ide">idea</property>
<property name="ideVersion">2019.3.0.0</property>
<property name="modified">2019-12-02T09:34:36</property>
<property name="modified">2020-02-10T21:10:00</property>
<property name="originalScheme">Nord</property>
</metaInfo>
<colors>
Expand Down Expand Up @@ -1099,9 +1099,43 @@
</option>
<option name="JAVA_KEYWORD" baseAttributes="DEFAULT_KEYWORD" />
<option name="JAVA_VALID_STRING_ESCAPE" baseAttributes="DEFAULT_VALID_STRING_ESCAPE" />
<option name="JS.GLOBAL_FUNCTION" baseAttributes="DEFAULT_FUNCTION_DECLARATION" />
<option name="JS.GLOBAL_VARIABLE" baseAttributes="DEFAULT_GLOBAL_VARIABLE" />
<option name="JS.INSTANCE_MEMBER_FUNCTION" baseAttributes="DEFAULT_INSTANCE_METHOD" />
<option name="JS.CLASS">
<value>
<option name="FOREGROUND" value="8fbcbb" />
</value>
</option>
<option name="JS.EXPORTED.FUNCTION">
<value>
<option name="FOREGROUND" value="88c0d0" />
</value>
</option>
<option name="JS.EXPORTED.VARIABLE">
<value>
<option name="FOREGROUND" value="d8dee9" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="JS.GLOBAL_FUNCTION">
<value>
<option name="FOREGROUND" value="88c0d0" />
</value>
</option>
<option name="JS.GLOBAL_VARIABLE">
<value>
<option name="FOREGROUND" value="8fbcbb" />
<option name="EFFECT_TYPE" value="1" />
</value>
</option>
<option name="JS.INSTANCE_MEMBER_FUNCTION">
<value>
<option name="FOREGROUND" value="88c0d0" />
</value>
</option>
<option name="JS.LOCAL_VARIABLE">
<value>
<option name="FOREGROUND" value="d8dee9" />
</value>
</option>
<option name="JS.REGEXP">
<value>
<option name="FOREGROUND" value="ebcb8b" />
Expand Down
2 changes: 1 addition & 1 deletion src/nord.theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"matchSelectionForeground": "#88c0d0",
"nonFocusedState": "#2e3440",
"selectionBackground": "#4c566a",
"selectionInactiveBackground": "#3b4252",
"selectionInactiveBackground": "#4c566a",
"selectionInactiveInfoForeground": "#4c566a",
"selectionInfoForeground": "#eceff4"
},
Expand Down

0 comments on commit 5a9ec94

Please sign in to comment.