Skip to content

Commit f3458a2

Browse files
committed
[FEATURE] Prepare 2.9.3
1 parent 071203c commit f3458a2

File tree

5 files changed

+27
-15
lines changed

5 files changed

+27
-15
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2.9.3
2+
Mar 08, 2020
3+
4+
NEW: option to keep trailing spaces for CSV/TSV/PSV files
5+
FIX: consider escape char inside quotes as escaped text
6+
17
2.9.2
28
Feb 24, 2020
39

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ _Default Escape Character_ defines which escape character is used as standard fo
144144

145145
###### Highlight caret row
146146

147-
The highlighting of the current caret row might interfere with custom background color settings and can be enabled/disabled for CSV/TSV files here.
147+
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.
148148

149149
###### Enable column highlighting
150150

@@ -162,7 +162,13 @@ Enable/disable the info balloon that appears at the caret position in the text e
162162

163163
###### Use soft wraps
164164

165-
Set whether soft wrapping should be activated for CSV/TSV. It still can be changed file specific with right-click on the editors left outer margin.
165+
Set whether soft wrapping should be activated for CSV/TSV/PSV. It still can be changed file specific with right-click on the editors left outer margin.
166+
167+
###### Keep trailing whitespaces
168+
169+
If enabled, it overrides the default editor settings for trailing whitespace handling to always keep them when editing CSV/TSV/PSV.
170+
171+
**Note:** This setting has no effect on the table editor. Unquoted values will always be trimmed when opening the table editor. When edited in the table editor, values ending or starting with whitespace will be quoted.
166172

167173
#### Table Editor
168174

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.9.2'
27+
version '2.9.3'
2828

2929
apply plugin: 'java'
3030
sourceCompatibility = javaVersion

src/main/java/net/seesharpsoft/intellij/plugins/csv/settings/CsvEditorSettingsProvider.form

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<properties/>
2222
<border type="line" title="Text Editor"/>
2323
<children>
24-
<grid id="d2422" layout-manager="GridLayoutManager" row-count="4" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
24+
<grid id="d2422" layout-manager="GridLayoutManager" row-count="3" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
2525
<margin top="10" left="10" bottom="10" right="10"/>
2626
<constraints>
2727
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
@@ -51,17 +51,9 @@
5151
</constraints>
5252
<properties/>
5353
</component>
54-
<component id="8ed01" class="javax.swing.JCheckBox" binding="cbKeepTrailingWhitespaces">
55-
<constraints>
56-
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
57-
</constraints>
58-
<properties>
59-
<text value="Keep trailing white spaces (if unchecked, general editor setting is applied)"/>
60-
</properties>
61-
</component>
6254
</children>
6355
</grid>
64-
<grid id="6ba47" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
56+
<grid id="6ba47" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
6557
<margin top="10" left="10" bottom="10" right="10"/>
6658
<constraints>
6759
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
@@ -90,6 +82,14 @@
9082
<text value="Show info balloon"/>
9183
</properties>
9284
</component>
85+
<component id="8ed01" class="javax.swing.JCheckBox" binding="cbKeepTrailingWhitespaces">
86+
<constraints>
87+
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
88+
</constraints>
89+
<properties>
90+
<text value="Keep trailing whitespaces (if unchecked, general editor setting apply)"/>
91+
</properties>
92+
</component>
9393
</children>
9494
</grid>
9595
</children>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848

4949
<change-notes><![CDATA[
5050
<pre style="font-family: sans-serif">
51-
FIX: Backslash in text is considered a special character #184
52-
FIX: NullPointerException thrown when trying to view CSV as table #185
51+
NEW: option to keep trailing spaces for CSV/TSV/PSV files
52+
FIX: consider escape char inside quotes as escaped text
5353
</pre>
5454
]]>
5555
</change-notes>

0 commit comments

Comments
 (0)