From c0fad6a3efac1141282c8bcef2d896d203cca538 Mon Sep 17 00:00:00 2001 From: GeeK Date: Sun, 19 Jul 2020 11:08:52 +0200 Subject: [PATCH] [INTERNAL] docu & version update --- CHANGELOG | 5 +++++ README.md | 21 ++++++++++++++++----- build.gradle | 2 +- src/main/resources/META-INF/plugin.xml | 9 ++++----- 4 files changed, 26 insertions(+), 11 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index dfcfd391..655a9360 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +2.13.0 +Jul 20, 2020 + +NEW: Support for customizable line comments ('#' indicates a line comment per default) + 2.12.0 Jun 14, 2020 diff --git a/README.md b/README.md index 0608e12a..5cd9feb8 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This enables default editor features like syntax validation, highlighting and in ## Features - CSV/TSV/PSV file detection -- table editor +- flexible Table Editor - customizable text editor - customizable column coloring - syntax validation @@ -28,6 +28,7 @@ This enables default editor features like syntax validation, highlighting and in - structure view (header-entry layout) - support for ',', ';', ':', '|' and '↹' as pre-defined value separator - support for freely defined value separators +- support for line comments (# per default, customizable) - highlight of active column values - tab (↹) separator highlighting @@ -124,10 +125,6 @@ The plugin introduces an enhanced text editor supporting custom settings - and a The preferred editor usage can be switched between "Text Editor first", "Table Editor first" or "Text Editor only", which has an effect on the editor tab order (or whether the table editor is shown at all). A "Table Editor only" option is not available (mainly due to the table editor restrictions when handling erroneous CSV files). -##### Column numbering - -Enable zero-based column numbering. This affects the tooltip info of the text editor as well as column numbering of the table editor. - ##### Default Value Separator (CSV only) The following separators are currently supported: **,** (Comma), **;** (Semicolon), **:** (Colon), **|** (Pipe) and **↹** (Tab) @@ -144,6 +141,20 @@ Within quoted values (fields starting and ending with a double quote), the doubl _Default Escape Character_ defines which escape character is used as standard for each newly opened CSV/TSV/PSV file. The escape character can be changed for each file individually in its editors context menu. +##### Line Comment Indicator + +Define the character(s) that should be used to mark a line as a comment within a CSV document. + +Please note: + +- If not set, comments are disabled, which also will increase lexer/parser performance on large files. +- If a line starts with those characters (leading whitespaces are ignored), the whole line isn't considered data and skipped e.g. for formatting, structure view and the table editor. +- Files containing comments can't be edited but still viewed via the **Table Editor** (without showing the comments). + +##### Column numbering + +Enable zero-based column numbering. This affects the tooltip info of the text editor as well as column numbering of the table editor. + #### Text Editor ##### Highlighting diff --git a/build.gradle b/build.gradle index 0326528c..4acf2ed2 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ jacocoTestReport { } group 'net.seesharpsoft.intellij.plugins' -version '2.12.0' +version '2.13.0' apply plugin: 'java' sourceCompatibility = javaVersion diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index eca60016..bd54a846 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -7,12 +7,12 @@ Lightweight plugin for editing CSV/TSV/PSV files with a flexible table editor, syntax validation, structure highlighting, customizable coloring, new intentions and helpful inspections.


+

Lightweight plugin for editing CSV/TSV/PSV files with a flexible Table Editor, syntax validation, structure highlighting, customizable coloring, new intentions and helpful inspections.




Features:

@@ -48,9 +49,7 @@ -NEW: flexible settings format for value separator & escape character -FIX: no accessors for class CsvValueSeparator #221 -FIX: Default Value Separator get frequently reset to comma, changes only applied after restart #222 +NEW: Support for customizable line comments ('#' indicates a line comment per default - can be customized/deactivated via settings) ]]>