Extension which integrates Phpactor with VSCode.
Install from Marketplace or install manually.
- Download the
phpactor.vsixfile from the lastest release - Run
code --install-extension /path/to/phpactor.vsix
For development it is easier
- Install npm.
- Install typescript:
npm install -g typescript - Git clone this package
npm install- Run
composer install - Open the folder in VSCode
- Start watch compilation by selecting
Terminal / Run Build Task... - Open the Run and Debug side menu, select
Launch Extensionfrom the debug configuration and hit run (F5) - Additionally you can also run
Listen for Xdebugto debug the Language Server - but has to be run before the Language Server starts.
Note that the Phpactor Language Server currently only runs on Linux and macOS so if you are on Windows you might need to make use of WSL or a Linux VM combined with VSCode Remote.
Before submitting a PR also run npm run lint or Terminal / Run Tasks... / npm: lint.
phpactor.status: Show Phpactor's statusphpactor.reindex: Reindex the project.phpactor.services.list: List Phpactor's currently running services.phpactor.config.dump: Dump Phpactor's configuratoin to the log window.
For full documentation see the docs.
