summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2019-01-06 19:02:36 -0800
committerGeorge Fraser <george@fivetran.com>2019-01-06 19:02:36 -0800
commitde4d59994fdd4fc6433c0b832f27c7245116184a (patch)
treeb888614e9d7a6c1a3fbe43158b8550b14ea615ae /src/main
parentf27ce43c368439a61dcf6493c20602cf01488571 (diff)
downloadjava-language-server-de4d59994fdd4fc6433c0b832f27c7245116184a.zip
Display parameters differently than local variables
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/javacs/JavaLanguageServer.java4
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: