Skip to content

Commit 60ec837

Browse files
committed
[INTERNAL] Release 1.7.0
1 parent 22fc2f7 commit 60ec837

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# https://www.jetbrains.com/intellij-repository/snapshots
44

55
name='CSV Plugin'
6-
pluginVersion=1.6.1
6+
pluginVersion=1.7.0
77
javaVersion=1.8
88
javaTargetVersion=1.8
99
downloadIntellijSources=false

intellij-csv-validator.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module external.linked.project.id="intellij-csv-validator" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.seesharpsoft.intellij.plugins" external.system.module.version="1.6.1" relativePaths="true" type="JAVA_MODULE" version="4">
2+
<module external.linked.project.id="intellij-csv-validator" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="net.seesharpsoft.intellij.plugins" external.system.module.version="1.7.0" relativePaths="true" type="JAVA_MODULE" version="4">
33
<component name="NewModuleRootManager" inherit-compiler-output="true">
44
<exclude-output />
55
<content url="file://$MODULE_DIR$">

src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvAnnotator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void annotate(@NotNull final PsiElement element, @NotNull AnnotationHolde
2828
if (columnInfo != null) {
2929
PsiElement headerElement = columnInfo.getHeaderElement();
3030
String message = XmlStringUtil.escapeString(headerElement == null ? "" : headerElement.getText(), true);
31-
String tooltip = XmlStringUtil.wrapInHtml(String.format("%s<br /><br />Column: %s<br />Index: %d", XmlStringUtil.escapeString(element.getText(), true), message, columnInfo.getColumnIndex()));
31+
String tooltip = XmlStringUtil.wrapInHtml(String.format("%s<br /><br />Header: %s<br />Index: %d", XmlStringUtil.escapeString(element.getText(), true), message, columnInfo.getColumnIndex()));
3232

3333
Annotation annotation = holder.createAnnotation(HighlightSeverity.INFORMATION, element.getTextRange(), message, tooltip);
3434
annotation.setEnforcedTextAttributes(EMPTY_TEXT_ATTRIBUTES);

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

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,31 @@
1717
<li>intentions (Alt+Enter), e.g. Quote/Unquote (all), Shift Column Left/Right</li>
1818
<li>structure view (header-entry layout)</li>
1919
<li>support for ',', ';', '|' or '&#8633;' as value separator</li>
20+
<li>highlight of active column values</li>
2021
</ul>
21-
<em><b>Note:</b> Default code formatting is 'Tabularize'. Can be changed in Settings -> Editor -> Code Style -> CSV</em><br><br>
22-
For more detailed information please have a look at the <a href="https://github.com/SeeSharpSoft/intellij-csv-validator/blob/master/README.md">README</a>.<br><br><br><hr /><br>
22+
23+
<b>TSV file support:</b> <em>TSV files are recognized as such but treated as a variant of CSV files, the same syntax highlighting and code style settings are applied.</em>
24+
<br><br>
25+
<b>Code formatting:</b> <em>Default code formatting is 'Tabularize'. Can be changed in Settings -> Editor -> Code Style -> CSV</em>
26+
<br><br>
27+
For more detailed information please have a look at the <a href="https://github.com/SeeSharpSoft/intellij-csv-validator/blob/master/README.md">README</a>.
28+
<br><br><br>
29+
<em>Thanks to @egoisticalgoat, @sabi0, @ptahchiev, @ghost and others for supporting me and the project!</em>
30+
<br><br><br>
31+
32+
<hr /><br>
2333
<span style="color: #555555">
2434
<b>IntelliJ IDEA Ultimate/PhpStorm/DataGrip/etc.:</b> The plugin is fully compatible with the <em>'Edit as Table...'</em> functionality.<br><br>
2535
In IDE releases prior v2017.3, the shortcut in the editor context menu becomes invisible when using this plugin. However, the option can still be accessed via Toolbar -> Edit -> <em>'Edit as Table...'</em>.
2636
</span>
2737
]]></description>
2838

2939
<change-notes><![CDATA[
30-
<b>NEW: TSV file support (new icons)</b><br>
31-
<em>TSV files a recognized as such but treated as a variant of CSV files, the same syntax highlighting and code style settings are applied.</em><br>
32-
<b>NEW:</b> tab (&#8633;) and pipe (|) as separators added<br>
33-
<b>NEW:</b> spellchecker enabled<br>
34-
<br>
35-
<b>Note:</b> For CSV Plugin v1.6.0+ it was necessary to increase the minimum IDE version from 2016.1.1 to 2016.3.2 due to a required <a href="https://youtrack.jetbrains.com/issue/IDEA-162000">fix in the formatting code</a>. Previous versions of the plugin can still be downloaded directly from <a href="https://plugins.jetbrains.com/plugin/10037-csv-plugin">Jetbrains Plugin Repository</a>.
40+
<b>NEW:</b> Annotated values: tooltip shows the value itself, the header and the column index<br>
41+
<b>NEW:</b> Active column (caret position) is colored differently<br>
42+
<b>FIX:</b> Add separator inspection is adding correct separator (e.g. tabs in TSV files)<br>
43+
+ several code & performance improvements
44+
<br><br>
3645
]]>
3746
</change-notes>
3847

0 commit comments

Comments
 (0)