If you or your company enjoy using this project, please consider supporting my work and joining my discord. 💖
Context Menu to make Developing for Salesforce Commerce Cloud Easier:
- Quickly Search SFCC Docs for Selected Text from ISML and JS Files
- Open Content Assets in Business Manager from ISML Files
- Open Slots in Business Manager from ISML Files
You probably already have everything else you need, though we do add a new
sitecode
property to thedw.json
as it is required for opening Slots & Content Assets in Business Manager.
- Make sure you install Prophet Debugger
- Edit the
dw.json
file in your VS Code Workspace Root Folder - Add a new
sitecode
property ( Administration > Sites > Manage Sites then copy theID
attribute for the one you use most )
Final JSON should look something like this:
{
"hostname": "dev01-web-sandbox.demandware.net",
"username": "[email protected]",
"password": "supersecret",
"code-version": "version1",
"sitecode": "myclient-us"
}
This works in any
.isml
of.js
file. Select the text you want to lookup, right click it, and select Search SFCC Docs.
This works in any
.isml
file. Select the entireisslot
oriscontentasset
HTML node ( tripple click to select an entire line ), right click it, and select Open in BM
Here is how you can work on this extension on your local machine:
- Clone this repo to your local machine
git clone https://github.com/sfccdevops/sfcc-vscode-extension.git
- Open
sfcc-vscode-extension
folder in VS Code - Open the
extension.js
file - Press the
F5
key to build & launch a new instance of VS Code - This extension will be installed the new instance for you to play with
The trademarks and product names of Salesforce®, including the mark Salesforce®, are the property of Salesforce.com. SFCC DevOps is not affiliated with Salesforce.com, nor does Salesforce.com sponsor or endorse the SFCC DevOps products or website. The use of the Salesforce® trademark on this project does not indicate an endorsement, recommendation, or business relationship between Salesforce.com and SFCC DevOps.