gwomacks / php-debug

Atom Text Editor package for PHP debugging
MIT License
119 stars 31 forks source link

Integration with project-manager #219

Open Noobidoo opened 7 years ago

Noobidoo commented 7 years ago

Add support for project specific settings, for example path mapping. There is a project manager for atom that supports settings per project you can locate it here: https://atom.io/packages/project-manager. Having the option to have especially paths separated per project would be wonderful.

Gert-dev commented 6 years ago

I've suggested the same for tester-phpunit at https://github.com/recca0120/tester-phpunit/issues/1. I wanted to post a link to that as I've already implemented project settings in php-integrator-base and it's really not that hard to do - except someone has to have and take the time, of course.

This will be especially handy if you have many projects, since currently you constantly have to switch the path maps as well as, in my case, the IP addresses of the host.

What might be painful is that, even though you can optionally integrate with project-manager, if you want to maintain the current settings for users without it, you'll need to provide a fallback from the project settings to the global settings - and it may not be transparent to the user as to when it's falling back due to incorrect user configuration and when not, but that can always be improved later.