-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from SeeSharpSoft/master
Release 2.14.3
- Loading branch information
Showing
13 changed files
with
107 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: java | ||
jdk: | ||
- openjdk9 | ||
- openjdk11 | ||
|
||
env: | ||
- IDEA_VERSION=PC-2019.3.3 GRAMMAR_KIT_VERSION=2019.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/main/java/net/seesharpsoft/intellij/plugins/csv/CsvCommenter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package net.seesharpsoft.intellij.plugins.csv; | ||
|
||
import com.intellij.lang.Commenter; | ||
import net.seesharpsoft.intellij.plugins.csv.settings.CsvEditorSettings; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class CsvCommenter implements Commenter { | ||
|
||
@Nullable | ||
@Override | ||
public String getLineCommentPrefix() { | ||
String commentIndicator = CsvEditorSettings.getInstance().getCommentIndicator(); | ||
return commentIndicator == null || commentIndicator.isEmpty() ? null : commentIndicator + " "; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
public String getBlockCommentPrefix() { | ||
return null; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
public String getBlockCommentSuffix() { | ||
return null; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
public String getCommentedBlockCommentPrefix() { | ||
return null; | ||
} | ||
|
||
@Nullable | ||
@Override | ||
public String getCommentedBlockCommentSuffix() { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters