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
+33-13
Original file line number
Diff line number
Diff line change
@@ -155,6 +155,15 @@ Please note:
155
155
156
156
Enable zero-based column numbering. This affects the tooltip info of the text editor as well as column numbering of the table editor.
157
157
158
+
##### Value coloring
159
+
160
+
Choose the coloring method of values. Possible options are:
161
+
162
+
-_Rainbow (Column Color)_ - values are colored based on their column.
163
+
-_Simple (Text Color)_ - values are colored based on the defined text color.
164
+
165
+
All colors can be adjusted via [CSV Color Scheme](#color-scheme) settings.
166
+
158
167
#### Text Editor
159
168
160
169
##### Highlighting
@@ -163,10 +172,6 @@ Enable zero-based column numbering. This affects the tooltip info of the text ed
163
172
164
173
The highlighting of the current caret row might interfere with custom background color settings and can be enabled/disabled for CSV/TSV/PSV files here.
165
174
166
-
###### Enable column highlighting
167
-
168
-
An easy way to switch *Column Highlighting* on or off (in text editor).
169
-
170
175
###### Highlight tab separator
171
176
172
177
Enable/disable highlighting (and choose the highlight color) of tab characters (↹) in their role as value separator (TSV). Tabs as part of a value are therefore not highlighted on purpose.
@@ -205,7 +210,7 @@ The maximum width of a single table column in _px_, which is used when adjusting
205
210
206
211
If selected, the table column widths are adjusted based on the column contents automatically when the table editor is opened. This setting can be changed in the table editor itself per file.
207
212
208
-
##### Keep/ignore linebreak at end of file
213
+
##### Keep/ignore linebreak at file end
209
214
210
215
If the file ends with a completely empty line (no spaces or tabs either), the table editor will not show this line as empty values but ignore it. When table data is serialized, an existing empty line is kept at the end of the file.
211
216
@@ -217,23 +222,22 @@ Enables/disables the info panel at the bottom of the table editor.
217
222
218
223
Always quotes a single value on save - even if not required.
219
224
220
-
##### Enable column highlighting
221
-
222
-
An easy way to switch *Column Highlighting* on or off (in table editor).
223
-
224
225
### Color Scheme
225
226
226
-
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:
227
+
The different symbols of a CSV document, namely the *separator* (e.g. comma, pipe, semicolon), the *quote* character, the *escaped literals* and the *text* elements itself, are colored based on the CSV color scheme settings:
227
228
228
-
-_File > Settings > Editor > Color Scheme > CSV_
229
+
-_File > Settings > Editor > Color Scheme > CSV/TSV/PSV_
229
230
230
231
Preset colors are based on Jetbrains IDE defaults and support the different UI themes.
Besides the colors and font-style variants for the different CSV symbols, additionally up to 10 different column colors can be defined.
238
+
Those colors are applied to the columns round robin.
239
+
Column colors are taken into account when **Rainbow** is selected as [**Value Coloring**](#value-coloring) option in the [Editor Settings](#editor-settings).
235
240
236
-
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.
237
241
238
242
### Formatting
239
243
@@ -401,6 +405,22 @@ You can also download the JAR package from the [Jetbrains plugin repository](htt
401
405
402
406
-_File > Settings > Plugins > Install plugin from disk..._
403
407
408
+
## Troubleshooting
409
+
410
+
#### CSV Plugin causes the IDE to stop working properly
411
+
412
+
Since version 2.11.0, the plugins requires the IntelliJ platform to be executed on JRE9 or higher. If this is not the case, the following error log can be noticed:
413
+
414
+
`com.intellij.diagnostic.PluginException: While loading class net.seesharpsoft.intellij.plugins.csv.CsvFileTypeOverrider: net/seesharpsoft/intellij/plugins/csv/CsvFileTypeOverrider has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [Plugin: net.seesharpsoft.intellij.plugins.csv]`
415
+
416
+
In some cases the error log doesn't seem to point this out in a noticable manner, but the IDE doesn't work correctly after enabling the plugin. Always disable the plugin first before continuing with the following steps.
417
+
418
+
Please read the [official instructions](https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under) on how to switch to a newer JRE, or [manually install](https://github.com/SeeSharpSoft/intellij-csv-validator#installation) a [prior CSV plugin version](https://github.com/SeeSharpSoft/intellij-csv-validator/releases/tag/2.10.0).
419
+
420
+
#### Features of the CSV Plugin are not available
421
+
422
+
If another plugin for CSV files like [Rainbow CSV](https://plugins.jetbrains.com/plugin/12896-rainbow-csv) is enabled, this plugin might not be taken into account for parsing and presenting CSV file content.
423
+
404
424
## Contribution
405
425
406
426
Contributions are welcome. Please check [CONTRIBUTING.md](./CONTRIBUTING.md) for more information.
"<p>Visit the <a href=\"https://github.com/SeeSharpSoft/intellij-csv-validator\">CSV Plugin GitHub</a> to read more about the available features & settings, " +
Copy file name to clipboardexpand all lines: src/main/resources/META-INF/plugin.xml
+10-3
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
<description><![CDATA[
9
9
10
10
<p>Lightweight plugin for editing CSV/TSV/PSV files with a flexible Table Editor, syntax validation, structure highlighting, customizable coloring, new intentions and helpful inspections.</p><br>
<b>TSV/PSV file support:</b> <em>TSV/PSV files are recognized as such but treated as a variant of CSV files, the same syntax highlighting and code style settings are applied.</em>
35
35
<br><br>
36
-
<b>Code formatting:</b> <em>Default code formatting is 'Tabularize'. Can be changed in Settings -> Editor -> Code Style -> CSV</em>
36
+
<b>Code formatting:</b> <em>Default code formatting is 'Tabularize'. Can be changed in Settings -> Editor -> Code Style -> CSV/TSV/PSV</em>
37
37
<br><br>
38
38
For more detailed information please have a look at the <a href="https://github.com/SeeSharpSoft/intellij-csv-validator/blob/master/README.md">README</a>.
39
39
<br><br><br>
@@ -49,7 +49,9 @@
49
49
50
50
<change-notes><![CDATA[
51
51
<pre style="font-family: sans-serif">
52
-
NEW: Support for customizable line comments ('#' indicates a line comment per default - can be customized/deactivated via settings)
52
+
NEW: Predefined column colors (Rainbow-style)
53
+
NEW: Enhanced color scheme switch
54
+
NEW: Table Editor coloring
53
55
</pre>
54
56
]]>
55
57
</change-notes>
@@ -93,6 +95,9 @@ NEW: Support for customizable line comments ('#' indicates a line comment per de
0 commit comments