Skip to content

LeoVie/jetbrains-wsl-cli-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JetBrains WSL CLI adapter

This script allows you to use the CLI of JetBrains IDEs for Windows via WSL.

Requirements

  • IDE installed via JetBrains Toolbox
  • PHP >= 7.1

Preparation

  1. Open JetBrains Toolbox
  2. Go to Settings
  3. Enable "Tools" > "Generate shell scripts" and select a location for the generated shell scripts, e.g. C:\jetbrains-shell-scripts\
  4. Check, if shell script for IDE was generated (e.g. C:\jetbrains-shell-scripts\PhpStorm.cmd)
  5. Clone this repository, e.g. to /home/ubuntu/jetbrains-wsl-cli-adapter/
  6. Create alias (e.g. in ~/.bashrc): alias phpstorm='php /home/ubuntu/jetbrains-wsl-cli-adapter/jetbrains-wsl-cli-adapter.php "C:\jetbrains-shell-scripts\PhpStorm.cmd"'
  7. Re-source your file containing the alias (e.g. source ~/.bashrc)

Usage

You should be able to use IDE CLI from WSL shell. For example in this repository: phpstorm README.md should open the README.md in PhpStorm.

About

Allows you to use the CLI of JetBrains IDEs for Windows via WSL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages