Skip to content

Commit 55c8b15

Browse files
committed
Fix: Update README
1 parent 502bb93 commit 55c8b15

File tree

3 files changed

+56
-8
lines changed

3 files changed

+56
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
### Fixed
1212

13-
## [4.0.0] - Oct 01, 2024
13+
## [4.0.0] - Oct 07, 2024
1414

1515
### Added
16-
- Tabularize
16+
- Tabularize formatting is back!
1717

1818
### Changed
19-
- Text first
19+
- Text editor is shown first by default
2020

2121
## 3.4.0 - Aug 10, 2024
2222

README.md

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ This enables default editor features like syntax validation, highlighting and in
1717
## Features
1818

1919
- CSV/TSV/PSV file detection
20-
- flexible Table Editor
2120
- customizable text editor
2221
- customizable column coloring (rainbow coloring)
23-
- customizable line comment
22+
- flexible table editor
2423
- syntax validation
2524
- syntax highlighting (customizable)
2625
- content formatting (customizable)
@@ -33,10 +32,12 @@ This enables default editor features like syntax validation, highlighting and in
3332

3433
(see [full changelog](./CHANGELOG))
3534

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.
3740

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.
4041
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)).
4142

4243
### Syntax parser & validation
@@ -273,6 +274,53 @@ Annasusanna, Amsterdam, 1
273274
Ben , Berlin , 2
274275
```
275276

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+
276324
##### Trimming
277325

278326
Trimming can be combined with _Space before/after separator_.

docs/codestyle.png

8.09 KB
Loading

0 commit comments

Comments
 (0)