Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open in PHPStorm on the same lineNew to Visual Studio Code? Get it now.
Open in PHPStorm on the same line

Open in PHPStorm on the same line

Mykola Yatsenko

| (0) | Free
Open the current file in PHPStorm on the same line with a hotkey
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open in PHPStorm

A VS Code extension that allows you to quickly open the current file in PHPStorm with a hotkey.

Features

  • Press Cmd+Shift+O (macOS) to open the active file in PHPStorm
  • Works with any file currently open in VS Code
  • Automatically detects PHPStorm installation

Installation

  1. Clone or download this extension
  2. Open the folder in VS Code
  3. Run npm install to install dependencies
  4. Press F5 to launch a new Extension Development Host window
  5. Test the extension in the new window

Usage

  1. Open any file in VS Code
  2. Press Cmd+Shift+O (or Ctrl+Shift+O on Windows/Linux)
  3. The file will open in PHPStorm

Requirements

  • PHPStorm must be installed
  • On macOS: PHPStorm command-line launcher should be configured (Tools → Create Command-Line Launcher)
  • On Linux/Windows: Ensure PHPStorm is in your PATH or configure the launcher through Tools menu

Keybinding

Default keybinding: Cmd+Shift+O (macOS) / Ctrl+Shift+O (Windows/Linux)

You can customize this in VS Code settings: File → Preferences → Keyboard Shortcuts, then search for "Open in PHPStorm"

Extension Settings

This extension contributes the following settings:

  • openInPhpStorm.openFile: Command to open the current file in PHPStorm

Development

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch for changes
npm run watch

# Package extension
vsce package

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft