-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preselect feature in the completion item #2388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I "approve" of this PR (module my comment), but am marking "request changes" so we don't merge this before we should.
@@ -66,6 +66,8 @@ export default class OmniSharpCompletionItemProvider extends AbstractSupport imp | |||
completion.commitCharacters = response.IsSuggestionMode | |||
? OmniSharpCompletionItemProvider.CommitCharactersWithoutSpace | |||
: OmniSharpCompletionItemProvider.AllCommitCharacters; | |||
|
|||
completion.preselect = response.Preselect; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be cool if we could test this somehow...
package.json
Outdated
@@ -269,7 +269,7 @@ | |||
} | |||
], | |||
"engines": { | |||
"vscode": "^1.18.0" | |||
"vscode": "*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed let's not merge this until the feature moves into the latest stable build.
Codecov Report
@@ Coverage Diff @@
## master #2388 +/- ##
==========================================
+ Coverage 64.34% 64.58% +0.24%
==========================================
Files 90 90
Lines 4120 4123 +3
Branches 592 593 +1
==========================================
+ Hits 2651 2663 +12
+ Misses 1294 1288 -6
+ Partials 175 172 -3
Continue to review full report at Codecov.
|
This PR drops 30% of our code coverage. What's going on? |
@TheRealPiotrP The integration tests are failing because the desired vscode version has not been released. Once that is in place, we can get the real coverage analysis. |
@akshita31 @TheRealPiotrP in #2360 I changed the version of vs code used to run the integration tests. You might need to do something similar to get tests passing. |
Blocked on : microsoft/vscode#53749 |
Did latest vscode version fix the issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good, but see my comment about the engine change.
package.json
Outdated
@@ -269,7 +269,7 @@ | |||
} | |||
], | |||
"engines": { | |||
"vscode": "^1.23.0" | |||
"vscode": "^1.26.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this will mean that users will need to install at least 1.26.1 in order to install C# for VS Code. Is that intentional? Does this API only appear in 1.26.1? Or, is it in an earlier version (e.g. 1.26.0).
Add completion integration test changes Remove main function Add tests for the completion provider
No description provided.