You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ This enables default editor features like syntax validation, highlighting and in
21
21
- intentions (Alt+Enter), e.g. Quote/Unquote (all), Shift Column Left/Right
22
22
- structure view (header-entry layout)
23
23
- support for ',', ';', '|' and '↹' as value separator
24
+
- highlight of active column values
25
+
- customizable column coloring
24
26
25
27
### Syntax parser & validation
26
28
@@ -38,16 +40,6 @@ Please note that if a document is syntactically incorrect, other features like c
38
40
39
41

40
42
41
-
### Highlighting
42
-
43
-
The different symbols of a CSV document, namely the separator (comma), the quotes, the escaped literals and the text elements itself, are highlighted by a coloring scheme that can be customized:
44
-
45
-
-_File > Settings > Editor > Color Scheme > CSV_
46
-
47
-
Preset colors are based on Jetbrains IDE defaults and support the different UI themes.
CSV files provide a high degree of flexibility and can be used universally for all kind of data.
@@ -63,6 +55,21 @@ Additionally the file type TSV was introduced as a kind of CSV language.
63
55
For TSV files the same formatter and code style settings are applied as for CSV itself, but the separator is considered to be a tab.
64
56
All functionality that is available for plain CSV files (inspections, intentions, structure view, etc.) can be used for TSV as well.
65
57
58
+
### Highlighting
59
+
60
+
The different symbols of a CSV document, namely the separator (comma), the quotes, the escaped literals and the text elements itself, are highlighted by a coloring scheme that can be customized:
61
+
62
+
-_File > Settings > Editor > Color Scheme > CSV_
63
+
64
+
Preset colors are based on Jetbrains IDE defaults and support the different UI themes.
Besides defining colors and font-style variants for the different CSV symbols, additionally up to 10 different column highlight colors can be defined. Those colors are applied to the columns round robin. Undefined column highlight colors will be skipped if they are not followed by any other color definition.
for (inti = 0; i < MAX_COLUMN_HIGHLIGHT_COLORS; ++i) {
35
+
colorDescriptorList.add(newColorDescriptor(String.format("Column Highlighting Color %d", i + 1), ColorKey.createColorKey(String.format("CSV_COLUMN_COLOR_%d", i + 1), (Color) null), ColorDescriptor.Kind.BACKGROUND));
Copy file name to clipboardExpand all lines: src/main/resources/META-INF/plugin.xml
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
<li>structure view (header-entry layout)</li>
19
19
<li>support for ',', ';', '|' or '↹' as value separator</li>
20
20
<li>highlight of active column values</li>
21
+
<li>customizable column coloring</li>
21
22
</ul>
22
23
23
24
<b>TSV file support:</b> <em>TSV files are recognized as such but treated as a variant of CSV files, the same syntax highlighting and code style settings are applied.</em>
@@ -37,15 +38,7 @@
37
38
]]></description>
38
39
39
40
<change-notes><![CDATA[
40
-
<b>NEW:</b> Custom 'Wrapping' settings<br>
41
-
<b>NEW:</b> Column highlighter takes whitespaces into account<br>
42
-
<b>NEW:</b> East Asian full-width character support for 'Tabularize' (optional) - disabled by default due to lower performance<br>
43
-
<b>CHANGE:</b> Column highlighting only happens on selection<br>
44
-
<b>FIX:</b> CSV column info tooltip trumps spellchecker tooltip (but keeps the visualization of a typo)<br>
45
-
<b>FIX:</b> Show tooltip even when caret is at the last position withing the CSV file<br>
46
-
<b>FIX:</b> Support for suppressing inspections not relevant for CSV (e.g. 'Problematic Whitespace')<br>
47
-
<b>FIX:</b> Structure View: proper handling of <undefined> elements (instead of endless loading)<br>
0 commit comments