Merge branch 'release/v42.2.0' into develop

This commit is contained in:
Luis Campos 2018-02-10 12:33:25 -08:00
Родитель 5dbecc0b38 8bf63af9e6
Коммит 06292389c7
21 изменённых файлов: 69 добавлений и 42 удалений

Просмотреть файл

@ -8,7 +8,7 @@ make sure that their SHA values match the values in the list below.
following the instructions at following the instructions at
https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions. https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions.
For example, download, For example, download,
https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/41.18.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage. https://salesforce.gallery.vsassets.io/_apis/public/gallery/publisher/salesforce/extension/salesforcedx-vscode-core/42.2.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage.
2. From a terminal, run: 2. From a terminal, run:
@ -16,12 +16,13 @@ shasum -a 256 <location_of_the_downloaded_file>
3. Confirm that the SHA in your output matches the value in this list of SHAs. 3. Confirm that the SHA in your output matches the value in this list of SHAs.
9c4c36a4541c809491a7ef5f46d51d1f89861b40df2d07e518ede2adc7c9086d salesforcedx-vscode-apex-debugger-41.18.0.vsix 0057f3ab7789289e2d1baaf518e35b0a8f4405c81199284e78e8929fc36cf74d salesforcedx-vscode-apex-debugger-42.2.0.vsix
308b476ca1b0569ea711918246cb45c8bdc7222361c251f42dd86872a982853b salesforcedx-vscode-apex-41.18.0.vsix ce4b7e286d84bd28548aacdc8567c6fa4e5de29e3ef30dfbf6f41e15246bbd89 salesforcedx-vscode-apex-42.2.0.vsix
7d87f8222fa755e6a1cc2d3d3727c4ac6aaee9522f990a64b45b42f6f3753f53 salesforcedx-vscode-core-41.18.0.vsix f2b24c4a47baabda01057cd680ae78dbf36a60da9a699a1d68937b4e09aab321 salesforcedx-vscode-core-42.2.0.vsix
25453702c26a1224ba595d834248fe17d2698b9e9e13ecf73cd0999651a7155c salesforcedx-vscode-lightning-41.18.0.vsix 3ac35cb6c012dc4be43ab2600e01844fd223f4b076b0c2a8d64358f3b14a47de salesforcedx-vscode-lightning-42.2.0.vsix
d67902507e1c5add4e7f264bae889e437bd47901caf5a1ad8acc7f0df16e6aae salesforcedx-vscode-visualforce-41.18.0.vsix cd28047bfb9cc7c80acfb94ec0d4c4968049b7e1d8187518d0ca5bccb27a40f8 salesforcedx-vscode-lwc-42.2.0.vsix
ed2168564b1e37387a68cf8cfba99b343e612b828ab1ce9a0221e0cc07a91671 salesforcedx-vscode-41.18.0.vsix d74f38c7498eaef8127ca4aab4c77c27cc14e19b0277438633c8acdf04697665 salesforcedx-vscode-visualforce-42.2.0.vsix
12ff154776bf8cd16242d028da41babe23fb612e6f639cfb86543414e60118af salesforcedx-vscode-42.2.0.vsix
4. Change the filename extension for the file that you downloaded from .zip to 4. Change the filename extension for the file that you downloaded from .zip to

Просмотреть файл

@ -3,5 +3,5 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "41.18.0" "version": "42.2.0"
} }

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@salesforce/salesforcedx-apex-debugger", "name": "@salesforce/salesforcedx-apex-debugger",
"displayName": "Apex Debugger Adapter", "displayName": "Apex Debugger Adapter",
"description": "Implements the VS Code Debug Protocol for the Apex Debugger", "description": "Implements the VS Code Debug Protocol for the Apex Debugger",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -10,7 +10,7 @@
}, },
"categories": ["Debuggers"], "categories": ["Debuggers"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"async-lock": "1.0.0", "async-lock": "1.0.0",
"faye": "1.1.2", "faye": "1.1.2",
"request-light": "0.2.1", "request-light": "0.2.1",

Просмотреть файл

@ -2,7 +2,7 @@
"name": "@salesforce/salesforcedx-slds-linter", "name": "@salesforce/salesforcedx-slds-linter",
"displayName": "SFDX SLDS Linting for VS Code", "displayName": "SFDX SLDS Linting for VS Code",
"description": "Provides linting for deprecated SLDS class names", "description": "Provides linting for deprecated SLDS class names",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"categories": ["Other"], "categories": ["Other"],
@ -42,7 +42,7 @@
"reporter": ["text-summary", "lcov"] "reporter": ["text-summary", "lcov"]
}, },
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"vscode-languageclient": "3.3.0", "vscode-languageclient": "3.3.0",
"vscode-languageserver": "^3.3.0" "vscode-languageserver": "^3.3.0"
} }

Просмотреть файл

@ -3,14 +3,14 @@
"displayName": "Salesforce SObject Faux Generator", "displayName": "Salesforce SObject Faux Generator",
"description": "description":
"Fetches sobjects and generates their faux apex class to be used for Apex Language Server", "Fetches sobjects and generates their faux apex class to be used for Apex Language Server",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
"vscode": "^1.17.0" "vscode": "^1.17.0"
}, },
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"request-light": "0.2.1", "request-light": "0.2.1",
"rxjs": "^5.4.1", "rxjs": "^5.4.1",
"shelljs": "0.7.8", "shelljs": "0.7.8",

Просмотреть файл

@ -3,7 +3,7 @@
"displayName": "SFDX Utilities for VS Code", "displayName": "SFDX Utilities for VS Code",
"description": "description":
"Provides utilies to interface the SFDX libraries with VS Code", "Provides utilies to interface the SFDX libraries with VS Code",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"categories": ["Other"], "categories": ["Other"],

Просмотреть файл

@ -1,14 +1,14 @@
{ {
"name": "@salesforce/salesforcedx-visualforce-language-server", "name": "@salesforce/salesforcedx-visualforce-language-server",
"description": "Visualforce language server", "description": "Visualforce language server",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
"vscode": "^1.17.0" "vscode": "^1.17.0"
}, },
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-visualforce-markup-language-server": "41.18.0", "@salesforce/salesforcedx-visualforce-markup-language-server": "42.2.0",
"vscode-css-languageservice": "2.1.9", "vscode-css-languageservice": "2.1.9",
"vscode-languageserver": "3.4.2", "vscode-languageserver": "3.4.2",
"vscode-languageserver-protocol": "3.4.2", "vscode-languageserver-protocol": "3.4.2",

Просмотреть файл

@ -1,7 +1,7 @@
{ {
"name": "@salesforce/salesforcedx-visualforce-markup-language-server", "name": "@salesforce/salesforcedx-visualforce-markup-language-server",
"description": "Language service for Visualforce Markup", "description": "Language service for Visualforce Markup",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {

Просмотреть файл

@ -14,7 +14,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -22,7 +22,7 @@
}, },
"categories": ["Debuggers"], "categories": ["Debuggers"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-apex-debugger": "41.18.0", "@salesforce/salesforcedx-apex-debugger": "42.2.0",
"vscode-debugprotocol": "1.24.0" "vscode-debugprotocol": "1.24.0"
}, },
"devDependencies": { "devDependencies": {

Просмотреть файл

@ -42,6 +42,13 @@ To view a definition, right-click the item and select **Peek Definition**, or pr
To jump to the location of a definition, right-click the item and select **Go to Definition**, or press F12. To jump to the location of a definition, right-click the item and select **Go to Definition**, or press F12.
![Previewing, viewing, and jumping to a definition](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-apex/images/apex_go_to_definition.gif) ![Previewing, viewing, and jumping to a definition](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-apex/images/apex_go_to_definition.gif)
## Find All References to Types
You can find all references to:
* Apex class variables
* Apex properties
To find references to an item, right-click the item and select **Find All References**, or press Shift+F12.
## Check Syntax Errors in Your Code ## Check Syntax Errors in Your Code
If you leave out a `;`, `}`, or `)`, the syntax error is marked with a red squiggly line in the editor. If you leave out a `;`, `}`, or `)`, the syntax error is marked with a red squiggly line in the editor.

Просмотреть файл

@ -15,7 +15,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -80,7 +80,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"expand-home-dir": "0.0.3", "expand-home-dir": "0.0.3",
"find-java-home": "0.2.0", "find-java-home": "0.2.0",
"path-exists": "3.0.0", "path-exists": "3.0.0",

Просмотреть файл

@ -59,6 +59,10 @@ A badge in the footer shows your current default scratch org. It uses the org
To check your running tasks, expand the Running Tasks view in the Explorer. To check your running tasks, expand the Running Tasks view in the Explorer.
![Running Tasks view, showing that Apex tests are running](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-core/images/running_tasks.png) ![Running Tasks view, showing that Apex tests are running](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-core/images/running_tasks.png)
## Run Apex Tests
To run Apex tests, in your `.cls` file, click the name of an Apex test class or method. Next, click the code actions lightbulb that appears by the class or method signature, and then select **SFDX: Invoke Apex Test Method** or **SFDX: Invoke All Apex Tests in Class**.
![GIF that shows running Apex tests for a method and then a class](https://raw.githubusercontent.com/forcedotcom/salesforcedx-vscode/develop/packages/salesforcedx-vscode-core/images/apex_test_run.gif)
## Edit Your Workspace Settings ## Edit Your Workspace Settings
To edit your workspace settings, select **Code** > **Preferences** > **Settings** (macOS) or **File** > **Preferences** > **Settings** (Windows and Linux). To edit your workspace settings, select **Code** > **Preferences** > **Settings** (macOS) or **File** > **Preferences** > **Settings** (Windows and Linux).

Просмотреть файл

@ -14,7 +14,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -22,8 +22,8 @@
}, },
"categories": ["Other"], "categories": ["Other"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-sobjects-faux-generator": "41.18.0", "@salesforce/salesforcedx-sobjects-faux-generator": "42.2.0",
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"glob": "^7.1.2", "glob": "^7.1.2",
"rxjs": "^5.4.1" "rxjs": "^5.4.1"
}, },

Просмотреть файл

@ -14,7 +14,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -22,10 +22,10 @@
}, },
"categories": ["Languages"], "categories": ["Languages"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-slds-linter": "41.18.0" "@salesforce/salesforcedx-slds-linter": "42.2.0"
}, },
"devDependencies": { "devDependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"@types/chai": "^4.0.0", "@types/chai": "^4.0.0",
"@types/mocha": "2.2.38", "@types/mocha": "2.2.38",
"@types/node": "^6.0.40", "@types/node": "^6.0.40",

Просмотреть файл

@ -1 +1,5 @@
# salesforcedx-vscode-lwc # salesforcedx-vscode-lwc
salesforce-vscode-lwc is part of a private pilot for testing new features. We are not accepting pilot enrollments at this time. This extension will not work unless you are part of the pilot.
We provide salesforce-vscode-lwc to selected customers through a pilot program that requires agreement to specific terms and conditions. salesforce-vscode-lwc is subject to change and isnt generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We cant guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Просмотреть файл

@ -14,20 +14,21 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"preview": true,
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
"vscode": "^1.17.0" "vscode": "^1.17.0"
}, },
"categories": ["Languages"], "categories": ["Languages"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"lwc-language-server": "0.16.2",
"vscode-languageclient": "3.5.0",
"eslint": "4.16.0", "eslint": "4.16.0",
"eslint-plugin-lwc": "0.3.2", "eslint-plugin-lwc": "0.3.2",
"rxjs": "^5.4.1" "lwc-language-server": "0.16.4",
"rxjs": "^5.4.1",
"vscode-languageclient": "3.5.0"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.0.0", "@types/chai": "^4.0.0",

Просмотреть файл

@ -14,7 +14,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -22,7 +22,7 @@
}, },
"categories": ["Debuggers"], "categories": ["Debuggers"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"vscode-debugadapter": "1.25.0", "vscode-debugadapter": "1.25.0",
"vscode-debugprotocol": "1.25.0", "vscode-debugprotocol": "1.25.0",
"vscode-uri": "1.0.1" "vscode-uri": "1.0.1"

Просмотреть файл

@ -14,7 +14,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {
@ -22,15 +22,15 @@
}, },
"categories": ["Languages"], "categories": ["Languages"],
"dependencies": { "dependencies": {
"@salesforce/salesforcedx-visualforce-language-server": "41.18.0", "@salesforce/salesforcedx-visualforce-language-server": "42.2.0",
"@salesforce/salesforcedx-visualforce-markup-language-server": "41.18.0", "@salesforce/salesforcedx-visualforce-markup-language-server": "42.2.0",
"typescript": "2.6.2", "typescript": "2.6.2",
"vscode-languageclient": "3.4.2", "vscode-languageclient": "3.4.2",
"vscode-languageserver-protocol": "3.4.2", "vscode-languageserver-protocol": "3.4.2",
"vscode-languageserver-types": "3.4.0" "vscode-languageserver-types": "3.4.0"
}, },
"devDependencies": { "devDependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"@types/chai": "^4.0.0", "@types/chai": "^4.0.0",
"@types/mocha": "2.2.38", "@types/mocha": "2.2.38",
"@types/node": "^6.0.40", "@types/node": "^6.0.40",

Просмотреть файл

@ -1,3 +1,13 @@
## 42.2.0 - February 10, 2018
### Added
#### salesforcedx-vscode-core
* Code action to run Apex tests; run a single method or all test methods in a test class ([PR #291](https://github.com/forcedotcom/salesforcedx-vscode/pull/291))
#### salesforcedx-vscode-apex
* Find All References feature for Apex fields and properties; includes usage in expressions, declarations, and references in Apex code ([PR #292](https://github.com/forcedotcom/salesforcedx-vscode/pull/292))
## 41.18.0 - January 22, 2018 ## 41.18.0 - January 22, 2018
### Fixed ### Fixed
#### salesforcedx-vscode #### salesforcedx-vscode

Просмотреть файл

@ -15,7 +15,7 @@
"color": "#ECECEC", "color": "#ECECEC",
"theme": "light" "theme": "light"
}, },
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"engines": { "engines": {

Просмотреть файл

@ -1,7 +1,7 @@
{ {
"name": "system-tests", "name": "system-tests",
"description": "System tests for Salesforce DX Extensions for VS Code", "description": "System tests for Salesforce DX Extensions for VS Code",
"version": "41.18.0", "version": "42.2.0",
"publisher": "salesforce", "publisher": "salesforce",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"main": "./out/src", "main": "./out/src",
@ -9,7 +9,7 @@
"vscode": "^1.17.0" "vscode": "^1.17.0"
}, },
"devDependencies": { "devDependencies": {
"@salesforce/salesforcedx-utils-vscode": "41.18.0", "@salesforce/salesforcedx-utils-vscode": "42.2.0",
"@types/chai": "^4.0.0", "@types/chai": "^4.0.0",
"@types/mkdirp": "0.5.2", "@types/mkdirp": "0.5.2",
"@types/mocha": "2.2.38", "@types/mocha": "2.2.38",