itsgoingd / clockwork-chrome

Clockwork - php dev tools integrated to your browser - Chrome extension
https://underground.works/clockwork
411 stars 25 forks source link

ide (VSCode, phpstorm..etc) uri scheme implementation #65

Closed xiaohuilam closed 5 years ago

xiaohuilam commented 6 years ago

please make these text link to IDE quick open scheme. or make this configurable at least.

image

vscode://file/home/workspace/app/http/controllers/BastAuthController.php:58

Then we can quick go'to programming workspace and that's so great!

explain:

vscode://file/{full-path-to-file}:{line-number}
itsgoingd commented 6 years ago

Hey, this is definitively a good idea. Adding to the todo list for the next release.

trizz commented 6 years ago

Please also consider something like "base path replacement". I'm using Vagrant, where the path is something like /home/myapp/domains/domain.com/ but on my machine it is /Volumes/Development/myapp, which is what must be passed to the IDE/editor instead of the "reported" path.

itsgoingd commented 5 years ago

This was released as part of the Clockwork 3.1.