diff options
author | George Fraser <george@fivetran.com> | 2019-01-06 19:02:36 -0800 |
---|---|---|
committer | George Fraser <george@fivetran.com> | 2019-01-06 19:02:36 -0800 |
commit | de4d59994fdd4fc6433c0b832f27c7245116184a (patch) | |
tree | b888614e9d7a6c1a3fbe43158b8550b14ea615ae /src/main/java/org/javacs/JavaLanguageServer.java | |
parent | f27ce43c368439a61dcf6493c20602cf01488571 (diff) | |
download | java-language-server-de4d59994fdd4fc6433c0b832f27c7245116184a.zip |
Display parameters differently than local variables
Diffstat (limited to 'src/main/java/org/javacs/JavaLanguageServer.java')
-rw-r--r-- | src/main/java/org/javacs/JavaLanguageServer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/javacs/JavaLanguageServer.java b/src/main/java/org/javacs/JavaLanguageServer.java index 1029d73..ea352f0 100644 --- a/src/main/java/org/javacs/JavaLanguageServer.java +++ b/src/main/java/org/javacs/JavaLanguageServer.java @@ -299,7 +299,7 @@ class JavaLanguageServer extends LanguageServer { case ENUM_CONSTANT: return CompletionItemKind.EnumMember; case EXCEPTION_PARAMETER: - return CompletionItemKind.Variable; + return CompletionItemKind.Property; case FIELD: return CompletionItemKind.Field; case STATIC_INIT: @@ -314,7 +314,7 @@ class JavaLanguageServer extends LanguageServer { case PACKAGE: return CompletionItemKind.Module; case PARAMETER: - return CompletionItemKind.Variable; + return CompletionItemKind.Property; case RESOURCE_VARIABLE: return CompletionItemKind.Variable; case TYPE_PARAMETER: |