-
Notifications
You must be signed in to change notification settings - Fork 407
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
Move sObject Refresh command to apex module and improve telemetry #1236
Changes from all commits
807f5da
78e5198
6a57e44
e3b7b78
11b9cdd
4278aad
be8e3c5
8dc5bc4
faf4083
25dfaf5
dd80107
00a53fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
], | ||
"dependencies": { | ||
"@salesforce/apex-tmlanguage": "1.1.0", | ||
"@salesforce/salesforcedx-sobjects-faux-generator": "45.10.0", | ||
"@salesforce/salesforcedx-utils-vscode": "45.10.0", | ||
"expand-home-dir": "0.0.3", | ||
"find-java-home": "0.2.0", | ||
|
@@ -138,6 +139,10 @@ | |
{ | ||
"command": "sfdx.force.apex.test.last.method.run", | ||
"when": "sfdx:project_opened && sfdx:has_cached_test_method" | ||
}, | ||
{ | ||
"command": "sfdx.force.internal.refreshsobjects", | ||
"when": "sfdx:project_opened" | ||
} | ||
] | ||
}, | ||
|
@@ -205,6 +210,10 @@ | |
{ | ||
"command": "sfdx.force.apex.test.last.method.run", | ||
"title": "%force_apex_test_last_method_run_text%" | ||
}, | ||
{ | ||
"command": "sfdx.force.internal.refreshsobjects", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You are missing porting the command under |
||
"title": "%force_sobjects_refresh%" | ||
} | ||
], | ||
"configuration": { | ||
|
@@ -225,6 +234,13 @@ | |
], | ||
"default": false, | ||
"description": "%apex_semantic_errors_description%" | ||
}, | ||
"salesforcedx-vscode-apex.enable-sobject-refresh-on-startup": { | ||
"type": [ | ||
"boolean" | ||
], | ||
"default": false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As we discussed this morning, the default behavior will now be off. The PR is mostly focused on moving the code to the apex extension and improving telemetry data now. |
||
"description": "%enable_sobject_refresh_on_startup_description%" | ||
brpowell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
} | ||
}, | ||
|
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.
Changes in this file are for improving telemetry data around this command