Skip to content

Commit 67c09bf

Browse files
Add interactive "Start with Options..." command (#354)
* Initial plan * Add Start with Options interactive command for Dev Proxy Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com> * Address code review: fix title, IP validation, menu ordering Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com> * Remove config picker, use active config file like existing start command Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com> * refactor: replace sequential wizard with iterative QuickPick for start with options Replace 12 sequential input prompts with a single iterative QuickPick menu. Users see all options with defaults, edit only what they need, and launch when ready. Add config file picker with smart defaults: - Active editor config file takes priority - Falls back to workspace devproxyrc.json - Otherwise uses install folder default - Picker shows all workspace config files for override --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com> Co-authored-by: Garry Trinder <garry@trinder365.co.uk>
1 parent 4f2c62a commit 67c09bf

6 files changed

Lines changed: 448 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added:
1313

14+
- Command: Added `Start with Options...` to launch Dev Proxy with interactive prompts for CLI settings
1415
- Install: Added automated install and upgrade support for Linux using official setup scripts
1516
- Notification: Detect outdated Dev Proxy config files in workspace and show warning when schema versions don't match installed version
1617
- Command: `dev-proxy-toolkit.upgrade-configs` - Upgrade config files with Copilot Chat using Dev Proxy MCP tools

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Control Dev Proxy directly from VS Code via the Command Palette (`Cmd+Shift+P` /
2525
| Command | When Available |
2626
|---------|----------------|
2727
| Start | Dev Proxy not running |
28+
| Start with Options... | Dev Proxy not running |
2829
| Stop | Dev Proxy running |
2930
| Restart | Dev Proxy running |
3031
| Raise mock request | Dev Proxy running |

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
"icon": "$(debug-start)",
2929
"enablement": "!isDevProxyRunning"
3030
},
31+
{
32+
"command": "dev-proxy-toolkit.start-with-options",
33+
"title": "Start with Options...",
34+
"category": "Dev Proxy Toolkit",
35+
"icon": "$(debug-alt)",
36+
"enablement": "!isDevProxyRunning"
37+
},
3138
{
3239
"command": "dev-proxy-toolkit.stop",
3340
"title": "Stop",
@@ -120,6 +127,11 @@
120127
"group": "navigation@1",
121128
"when": "!activeEditorIsDirty && isDevProxyConfigFile && !isDevProxyRunning"
122129
},
130+
{
131+
"command": "dev-proxy-toolkit.start-with-options",
132+
"group": "navigation@2",
133+
"when": "!activeEditorIsDirty && isDevProxyConfigFile && !isDevProxyRunning"
134+
},
123135
{
124136
"command": "dev-proxy-toolkit.stop",
125137
"group": "navigation@2",

0 commit comments

Comments
 (0)