这是indexloc提供的服务,不要输入任何密码
Skip to content

A demo extension for an AI agent-created app that enables proxy switching or disabling in VS Code. Its codebase is primarily generated by AI.

License

Notifications You must be signed in to change notification settings

huandzh/proxy-switch-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Switch VS Code Extension

Note: The extension’s AI-generated code might include inaccuracies (e.g., outdated syntax or logic errors)

Version

Manage VS Code proxy settings with configurable profiles. Easily switch between different proxy configurations for development environments.

Features

  • 🛠 Create multiple proxy profiles with custom settings
  • 🔄 Quickly switch between active proxy configurations
  • 🚫 Disable proxy with one click
  • ⚙️ Persistent profile storage in VS Code configuration

Installation

  1. Download the latest .vsix package
  2. Open VS Code and run:
code --install-extension proxy-switch-0.1.0.vsix

Usage

  1. Add Profile

    • Run Proxy Switch: Add Proxy Profile from Command Palette
    • Enter profile name and proxy configuration details
  2. Switch Profiles

    • Run Proxy Switch: Switch Proxy Profile
    • Select from saved profiles
  3. Disable Proxy

    • Run Proxy Switch: Disable Proxy to clear current proxy settings

Configuration

Profiles are stored in VS Code settings under:

"proxySwitch.profiles": [
  {
    "name": "Work Proxy",
    "http.proxy": "http://proxy.example.com:8080",
    "http.proxyStrictSSL": false
  }
]

Building from Source

npm install
npm run compile
npm run package

Contributing

Pull requests welcome! Please ensure:

  • TypeScript types are maintained
  • VS Code API guidelines are followed
  • Tests are added for new features

License

MIT © 2025 Huan Di

About

A demo extension for an AI agent-created app that enables proxy switching or disabling in VS Code. Its codebase is primarily generated by AI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published