@@ -25,7 +25,7 @@ Press `<Space>` to open the command menu.
2525| ` c ` | Code: ` ca ` =action ` cr ` =rename ` cf ` =format ` cs ` =symbols |
2626| ` d ` | Debug: ` db ` =breakpoint ` dc ` =continue ` di ` =step in ` do ` =step over |
2727| ` g ` | Git: ` gg ` =lazygit ` gf ` =files ` gs ` =status |
28- | ` p ` | Prophet (SFCC): ` pe ` =enable ` pd ` =disable ` pt ` =toggle ` pc ` =clean upload ` px ` =cancel ` pp ` =perf |
28+ | ` p ` | Prophet (SFCC): ` pe ` =enable ` pd ` =disable ` pt ` =toggle ` pc ` =upload all ` pf ` =find controller ` pi ` =find template |
2929| ` s ` | Search: ` sh ` =help ` sk ` =keymaps ` sc ` =commands ` sq ` =share markdown (QR) |
3030| ` h ` | Health check (diagnostics + performance) |
3131| ` ? ` | Show all keymaps |
@@ -112,7 +112,23 @@ Then attach in Neovim with `<Space>dc` and select "Attach to Node".
112112
113113## Prophet (Salesforce Commerce Cloud Development)
114114
115- VimZap includes prophet.nvim for SFCC development with optimized performance and non-intrusive notifications.
115+ VimZap includes prophet.nvim for SFCC development with optimized performance and non-intrusive notifications. It aims to match the functionality of the [ VSCode Prophet extension] ( https://github.com/SqrTT/prophet ) .
116+
117+ ### Features
118+
119+ | Feature | VimZap | VSCode Prophet |
120+ | ---------| --------| ----------------|
121+ | WebDAV Upload | Yes | Yes |
122+ | Auto-upload on save | Yes | Yes |
123+ | ISML Syntax Highlighting | Yes | Yes |
124+ | DWScript (.ds) Support | Yes | Yes |
125+ | Controller Quick-Find | Yes (` <Space>pf ` ) | Yes (Ctrl+F7) |
126+ | ISML Template Picker | Yes (` <Space>pi ` ) | Via explorer |
127+ | SFCC Completions | Yes (URLUtils, Resource, server.* ) | Yes (full LSP) |
128+ | Snippets | Yes | Yes |
129+ | Sandbox Connectivity Check | Yes | Yes |
130+ | Full SDAPI Debugger | No (placeholder) | Yes |
131+ | Log Viewer | Browser link | In-editor |
116132
117133### Setup
118134
@@ -128,7 +144,7 @@ VimZap includes prophet.nvim for SFCC development with optimized performance and
128144
129145** 2. Authentication:**
130146- ** hostname** : Your SFCC sandbox domain (e.g., ` dev01-company.demandware.net ` )
131- - ** username** : Your Business Manager username
147+ - ** username** : Your Business Manager username
132148- ** password** : Your Business Manager password
133149- ** code-version** : Code version in Business Manager (usually ` version1 ` )
134150
@@ -141,15 +157,31 @@ VimZap includes prophet.nvim for SFCC development with optimized performance and
141157| ` <Space>pe ` | Enable auto-upload (watches file changes) |
142158| ` <Space>pd ` | Disable auto-upload |
143159| ` <Space>pt ` | Toggle auto-upload on/off |
144- | ` <Space>pc ` | Clean upload all cartridges (manual) |
145- | ` <Space>px ` | Cancel active uploads |
146- | ` <Space>pp ` | Performance statistics |
160+ | ` <Space>pc ` | Clean upload all cartridges |
161+ | ` <Space>pu ` | Upload specific cartridge |
162+ | ` <Space>pC ` | Check sandbox connectivity |
163+ | ` <Space>ps ` | Show status |
164+ | ` <Space>pf ` | Find controller (like Ctrl+F7) |
165+ | ` <Space>pi ` | Find ISML template |
166+ | ` <Space>pl ` | View logs (opens browser) |
167+ | ` <Space>pr ` | Refresh controller cache |
168+
169+ ### SFCC Completions
170+
171+ When editing JavaScript files in SFCC projects, you get completions for:
172+ - ` URLUtils.url() ` , ` .http() ` , ` .https() ` , ` .abs() ` , etc.
173+ - ` Resource.msg() ` , ` Resource.msgf() `
174+ - ` server.get() ` , ` .post() ` , ` .append() ` , ` .prepend() ` , ` .replace() `
175+ - ` res.render() ` , ` .json() ` , ` .redirect() ` , ` .setViewData() `
176+ - ` Transaction.wrap() ` , ` .begin() ` , ` .commit() ` , ` .rollback() `
177+ - ` require('dw/...') ` module suggestions
178+
179+ ### Tips
147180
148- ** Tips:**
149181- Auto-upload is ** disabled by default** to prevent accidental uploads
150- - Use ` <Space>pc ` for initial upload of all cartridges
182+ - Use ` <Space>pc ` for initial upload of all cartridges
151183- Enable auto-upload (` <Space>pe ` ) only when actively developing
152- - If you interrupt uploads (close nvim), use ` <Space>pc ` again next time
184+ - Use ` <Space>pf ` to quickly jump to any controller endpoint
153185- All notifications appear in the corner (non-intrusive)
154186
155187### Cartridge Structure
0 commit comments