Skip to content

Commit e44ab9c

Browse files
committed
[INTERNAL] Prepare release 2.11.0
1 parent 847ee21 commit e44ab9c

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.11.0
2+
May 8, 2020
3+
4+
NEW: Adding custom separator #177
5+
16
2.10.0
27
Apr 19, 2020
38

README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ This enables default editor features like syntax validation, highlighting and in
2626
- quick fix inspections
2727
- intentions (Alt+Enter), e.g. Quote/Unquote (all), Shift Column Left/Right
2828
- structure view (header-entry layout)
29-
- support for ',', ';', '|' and '↹' as value separator
29+
- support for ',', ';', ':', '|' and '↹' as pre-defined value separator
30+
- support for freely defined value separators
3031
- highlight of active column values
3132
- tab (↹) separator highlighting
3233

@@ -59,13 +60,16 @@ Please note that if a document is syntactically incorrect, other features like c
5960
CSV files provide a high degree of flexibility and can be used universally for all kind of data.
6061
This led to a variety of CSV derivatives like semicolon or pipe separated values, which share the common format but make use of a different separator.
6162

62-
The plugin supports project specific separator setting.
63-
New separators can be added fairly easy in the parser definition of the source code.
63+
The plugin supports file-specific separator settings.
64+
Predefined separators, like Comma (,), semicolon (;), colon (:), tab (↹) and pipe (|), come with a precompiled lexer providing the best performance for working with CSV.
65+
66+
Since version 2.11.0, this plugin additionally comes with a runtime lexer implementation to support freely chosen separator.
6467

6568
#### TSV/PSV
6669

67-
Comma (,), semicolon (;), tab (↹) and pipe (|) can be explicitly set as a separator for CSV files.
68-
Additionally the file types TSV (Tab-Separated-Values) and PSV (Pipe-Separated-Values) were introduced as a kind of CSV language.
70+
A different separator can be chosen for each CSV file.
71+
72+
Additionally, the file types TSV (Tab-Separated-Values) and PSV (Pipe-Separated-Values) were introduced as a kind of CSV language.
6973
For TSV and PSV files the same formatter and code style settings are applied as for CSV itself, but the separator is considered to be a tab or a pipe respectively.
7074
All functionality that is available for plain CSV files (inspections, intentions, structure view, etc.) can be used for TSV and PSV as well.
7175

@@ -126,7 +130,7 @@ Enable zero-based column numbering. This affects the tooltip info of the text ed
126130

127131
##### Default Value Separator (CSV only)
128132

129-
The following separators are currently supported: **,** (Comma), **;** (Semicolon), **|** (Pipe) and **↹** (Tab)
133+
The following separators are currently supported: **,** (Comma), **;** (Semicolon), **:** (Colon), **|** (Pipe) and **↹** (Tab)
130134

131135
_Default Value Separator_ defines which separator is used as standard for each newly opened CSV file. The separator character can be changed for each file individually in its editors context menu.
132136

@@ -326,9 +330,10 @@ Annasusanna,Amsterdam, 1
326330
![Context menu](./docs/contextmenu.png)
327331

328332
The action to switch the value separator (or escape character) - *which is used for CSV syntax validation of a specific file* - is part of its editors context menu.
333+
Since version 2.11.0, also custom separator setting is available via this action.
329334

330335

331-
This action defines how the parser/validator/highlighter/etc. behaves. It does intentionally not change the file content.
336+
**Please note:** This action defines how the parser/validator/highlighter/etc. behaves. It does intentionally not change the file content.
332337
To be more precise: It **does not replace** previous separator/escape characters by new ones or adjust the escaped texts.
333338

334339
#### Adjust column widths (table editor only)
@@ -395,15 +400,6 @@ Besides source code contributions, feel free to open bug reports or just suggest
395400

396401
- zoom table-editor cells with Ctrl+Mouse Wheel @royqh1979
397402

398-
## FAQ
399-
400-
> Why can't I choose the separator freely?
401-
402-
Having clearly defined symbols enables the syntax parser and language lexer to do its job properly.
403-
The code for those is generated during build time by using the [Grammar-Kit](https://github.com/JetBrains/Grammar-Kit).
404-
Adding a new kind of separator during development is fairly easy (please feel free to request a new commonly used one) in comparison to the implementation effort and usefulness of a freely defined separator.
405-
406-
407403
## Jetbrains Repository
408404

409405
JetBrains Plugin Repository Link: https://plugins.jetbrains.com/plugin/10037-csv-plugin

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jacocoTestReport {
2424
}
2525

2626
group 'net.seesharpsoft.intellij.plugins'
27-
version '2.10.0'
27+
version '2.11.0'
2828

2929
apply plugin: 'java'
3030
sourceCompatibility = javaVersion

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
<change-notes><![CDATA[
5050
<pre style="font-family: sans-serif">
51-
FIX: resolve CSV/TSV file type conflict for versions 2020.* with Database plugin
51+
NEW: Adding custom separator #177
5252
</pre>
5353
]]>
5454
</change-notes>

0 commit comments

Comments
 (0)