-
Notifications
You must be signed in to change notification settings - Fork 6
Code-completion for WHERE clause expressions #112
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #112 +/- ##
===========================================
+ Coverage 86.94% 87.61% +0.67%
===========================================
Files 46 46
Lines 1409 1470 +61
Branches 310 334 +24
===========================================
+ Hits 1225 1288 +63
+ Misses 182 180 -2
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
soqlCompletionWHERE_3.movsoqlCompletionWHERE_dateliterals.mov |
2a05347 to
b3c5a0d
Compare
* Complete operators based on type of field * Complete literal values based on field
Also: Offer NULL as a completion value only if operator in context allows nulls.
b3c5a0d to
d84ea24
Compare
|
QA complete. |
* model WHERE clause (#68) * Remote SOQL Errors - Language Server Part (#93) * remove code builder (#92) * Move from antlr4JS to antlr4TS (#96) * SOQL code completion for SELECT fields (#99) * publish language server 0.2.9 (#102) * Fix LSP dependency (#104) * Disabled 'Running...' button while query running (#106) * Add basic code-completion for ORDER BY and other improvements (#107) * Dehru and JG telemetry - Send GDPR clean data to telemetry when errors/unsupported syntax present (#110) * Disable WHERE in model (#113) * Bump versions for publishing (#114) * Code-completion for WHERE clause expressions (#112) Co-authored-by: Jonathan Gellin <jgellin@salesforce.com> Co-authored-by: jgellin-sf <55159130+jgellin-sf@users.noreply.github.com> Co-authored-by: Chase McCarthy <charles.mccarthy@heroku.com> Co-authored-by: Jonny Hork <jhork@salesforce.com> Co-authored-by: Fernando Dobladez <fernandodobladez@salesforce.com> Co-authored-by: Jonathan Gellin <jgellin@salesforce.com>
What does this PR do?
Add smart code-completion for WHERE clause expressions.
Also: Refactoring of "placeholder" completion items: send JSON data instead of parseable values inside item label string.
NOTE 1: Depends on VS Code extension branch: feature/soql-code-completion-WHERE
NOTE 2: This PR is on top of #107 (branch feature/code-completion-ORDER_BY)What issues does this PR fix or reference?
W-8597428