Kindari / SublimeXdebug

Xdebug Interface for Sublime Text 2
Other
367 stars 66 forks source link

Xdebug settings location #18

Open mriffault opened 12 years ago

mriffault commented 12 years ago

Hi,

I've seen this morning the message about settings for xdebug in the .sublime-project file. I think this setting should not be in the .sublime-project file, they should be in the .sublime-workspace file. Because in the case of multiple developer working on the project, the sublime-project file is common to all developers, and the .sublime-workspace file is specific to the developer. We commit the project file (and share it) but not the workspace. (see the overview : http://www.sublimetext.com/docs/2/projects.html ) And specifically for the project url, each developer has his own working instance, with his own url. This setting seems to be unusable in a such working environment.

Best regards,

jotson commented 12 years ago

The workspace file is automatically overwritten by Sublime Text whenever you close the project and any custom settings you may add to it will be deleted.

If you're checking in the project file and sharing it among developers, don't you have the same problem with the project folders? If not, I assume you must have agreed with all developers to check out to the same working path. To workaround this issue, you could also agree to use the same local URL for development.

mriffault commented 12 years ago

Ok, i understand problem about the workspace... it's too bad...

About the project folder, ST allows to set a relative path to the project folder, we keep the project file in the root directory of the project and and use "/" for the project path in the project file, it works fine (except for the "Reveal in sidebar" feature). We all have a different working path and each of us use his own url to work on the project (our working copy are located on the server, not our computer). So it seems that i can't use the xdebug settings in the sublime-project file, or i have to overwrite our common project file and never commit it. Maybe i'm not alone in this kind of working environnment, don't you think.

Thanks for your answers,

jotson commented 12 years ago

I'm open to suggestions. Pull requests are even better. On Jun 14, 2012 9:53 AM, "mriffault" < reply@reply.github.com> wrote:

Ok, i understand problem about the workspace... it's too bad...

About the project folder, ST allows to set a relative path to the project folder, we keep the project file in the root directory of the project and and use "/" for the project path in the project file, it works fine (except for the "Reveal in sidebar" feature). We all have a different working path and each of us use his own url to work on the project (our working copy are located on the server, not our computer). So it seems that i can't use the xdebug settings in the sublime-project file, or i have to overwrite our common project file and never commit it. Maybe i'm not alone in this kind of working environnment, don't you think.

Thanks for your answers,


Reply to this email directly or view it on GitHub: https://github.com/Kindari/SublimeXdebug/issues/18#issuecomment-6334251