Skip to content

Commit

Permalink
Merge pull request #1472 from dopare/feature/completionItemProvider-n…
Browse files Browse the repository at this point in the history
…ew-icons

Updating completionItemProvider to use new icons for Event, Struct and EnumMember
  • Loading branch information
DustinCampbell authored May 11, 2017
2 parents 9b1a4a6 + 36fed38 commit d92fa4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
}
],
"engines": {
"vscode": "^1.10.1"
"vscode": "^1.12.0"
},
"activationEvents": [
"onLanguage:csharp",
Expand Down
6 changes: 3 additions & 3 deletions src/features/completionItemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ _kinds['Class'] = CompletionItemKind.Class;
_kinds['Delegate'] = CompletionItemKind.Class; // need a better option for this.
_kinds['Enum'] = CompletionItemKind.Enum;
_kinds['Interface'] = CompletionItemKind.Interface;
_kinds['Struct'] = CompletionItemKind.Class; // need a better option for this.
_kinds['Struct'] = CompletionItemKind.Struct;

// variables
_kinds['Local'] = CompletionItemKind.Variable;
_kinds['Parameter'] = CompletionItemKind.Variable;
_kinds['RangeVariable'] = CompletionItemKind.Variable;

// members
_kinds['EnumMember'] = CompletionItemKind.Property; // need a better option for this.
_kinds['Event'] = CompletionItemKind.Field; // need a better option for this.
_kinds['EnumMember'] = CompletionItemKind.EnumMember;
_kinds['Event'] = CompletionItemKind.Event;
_kinds['Field'] = CompletionItemKind.Field;
_kinds['Property'] = CompletionItemKind.Property;
_kinds['Method'] = CompletionItemKind.Method;
Expand Down

0 comments on commit d92fa4e

Please sign in to comment.