Skip to content

Commit

Permalink
Added Sorting to code completion
Browse files Browse the repository at this point in the history
  • Loading branch information
X39 committed Feb 24, 2020
1 parent 5e5a009 commit 4eb1bf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Arma.Studio.SqfEditor/SqfEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ public IEnumerable<ICodeCompletionInfo> GetAutoCompleteInfos(string text, int ca
return PluginMain.SqfDefinitionsFile
.ConcatAll()
.Where((it) => it.Name.StartsWith(word, StringComparison.InvariantCultureIgnoreCase))
.OrderBy((it)=> it.Name)
.Select((it) =>
{
switch(it)
Expand Down

0 comments on commit 4eb1bf1

Please sign in to comment.