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
+53-5Lines changed: 53 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,9 @@ This enables default editor features like syntax validation, highlighting and in
17
17
## Features
18
18
19
19
- CSV/TSV/PSV file detection
20
-
- flexible Table Editor
21
20
- customizable text editor
22
21
- customizable column coloring (rainbow coloring)
23
-
-customizable line comment
22
+
-flexible table editor
24
23
- syntax validation
25
24
- syntax highlighting (customizable)
26
25
- content formatting (customizable)
@@ -33,10 +32,12 @@ This enables default editor features like syntax validation, highlighting and in
33
32
34
33
(see [full changelog](./CHANGELOG))
35
34
36
-
**!!Please note!!**
35
+
**NOTE**
36
+
37
+
Release 4.* is focusing on text-editor features.
38
+
Text-editor is the default editor (again).
39
+
It requires IntelliJ platform version 2024.1 or newer.
37
40
38
-
For release 3.*, the plugin got a major overhaul focusing on performance and table editor usage.
39
-
Some features and settings were removed for simplification and consistency.
40
41
The previous version (incl README) can still be accessed [here](https://github.com/SeeSharpSoft/intellij-csv-validator/tree/release_2) and installed manually (see section [Installation](https://github.com/SeeSharpSoft/intellij-csv-validator#installation)).
41
42
42
43
### Syntax parser & validation
@@ -273,6 +274,53 @@ Annasusanna, Amsterdam, 1
273
274
Ben , Berlin , 2
274
275
```
275
276
277
+
##### Tabularize
278
+
279
+
Separator settings can be used in combination with Tabularize, while trimming options are ignored completely.
280
+
All options in this section only show effect if `Format as table` is enabled.
281
+
282
+
_Format as table_
283
+
284
+
Adds/removes leading and trailing whitespaces to format the text as a human-readable table.
285
+
286
+
Note: Formatting a CSV file alters its values, and can conflict with the use of visual table editor.
287
+
288
+
```
289
+
"name ","city ","position"
290
+
Annasusanna,Amsterdam,1
291
+
Ben ,Berlin ,2
292
+
```
293
+
294
+
_Keep quoted value as is_
295
+
296
+
Note: With this option, values in quotes are kept intact.
297
+
Additionally activating `Enforce value quoting` for the table editor enables seamless editing and formatting CSV in either text or table mode.
298
+
299
+
```
300
+
"name" ,"city" ,"position"
301
+
Annasusanna,Amsterdam,1
302
+
Ben ,Berlin ,2
303
+
```
304
+
305
+
_Align right_
306
+
307
+
```
308
+
" name"," city","position"
309
+
Annasusanna,Amsterdam, 1
310
+
Ben, Berlin, 2
311
+
```
312
+
313
+
_Enhanced width calculation_
314
+
315
+
Calculates the width of a text based on each characters width, and taking wide characters into account.
316
+
This can have a noticeable performance impact on large files.
317
+
318
+
```
319
+
"name ","city ","position"
320
+
Annasusanna,Amsterdam,1
321
+
汉字宋 ,Berlin ,2
322
+
```
323
+
276
324
##### Trimming
277
325
278
326
Trimming can be combined with _Space before/after separator_.
0 commit comments