A VSCode extension that allows you to quickly open different applications via keyboard shortcuts.
- 🚀 Quickly open applications via keyboard shortcuts
- ⚙️ Configurable application list
- 🎯 Support for custom shortcuts
- 📱 macOS system support
- 🛠️ JetBrains product support with cursor position jumping
- Clone this repository to your local machine
- Open the project folder in VSCode
- Press
F5to start debug mode, or useCtrl+Shift+Pto run "Developer: Reload Window"
- Press
Cmd+Shift+1to open the application selector - Select the application you want to open from the list
- The application will launch automatically
Configure the applications you want to quickly access in VSCode settings:
{
"switch2any.apps": [
{
"name": "IntelliJ IDEA",
"path": "/Applications/IntelliJ IDEA.app/Contents/MacOS/idea",
"type": "jetbrains"
},
{
"name": "WebStorm",
"path": "/Applications/WebStorm.app/Contents/MacOS/webstorm",
"type": "jetbrains"
},
{
"name": "PyCharm",
"path": "/Applications/PyCharm.app/Contents/MacOS/pycharm",
"type": "jetbrains"
},
{
"name": "Chrome",
"path": "/Applications/Google Chrome.app",
"type": "app"
}
]
}name: Display name of the applicationpath: Full path to the applicationtype: Application typejetbrains: JetBrains products with cursor position supportapp: Regular applications
For JetBrains products (such as IntelliJ IDEA, WebStorm, PyCharm, etc.), the extension will:
- Get the current cursor position
- Use command line arguments
--lineand--columnto jump to the specified position - Automatically open the corresponding file
npm install
npm run compilenpm testnpm install -g vsce
vsce packageMIT
Issues and Pull Requests are welcome!