Ability to add "virtual folders" to a project |
Guru master
|
Why don't you use a define?
I have code in place that sets my defines and configs depending on whether the files are hosted on my testserver (windows) or my actual production server (FreeBSD). I just use the $_SERVER [ 'HTTP_HOST' ] for that. As soon as a project is final I remove that code and only leave the production stuff in there. Things like what you ask are extremely hard to implement. The way you like it to work is not necessarily what the rest of the phped community thinks. So what is heaven for you might be hell for another person. I personally would shiver when using an editor or whatever that modifies my sourcefiles or decides where to put data. The example you give (PHPEdit) only has the ability to make "shortcuts" in the projects. I'm pretty sure you will not be able to include the code in your project by just specifying the project-shortcut-name, since that would require a modified version of PHP as well (one that knows how to work with those things). Same would go for the nusphere debugger. It's just a layer on top of PHP and it sees things as PHP does. If PHP doesn't understand, neither will the debugger. I must say that I do like the shortcuts idea, but I already solved that by making a project for each of my "libraries" and just including it in the workspace. Regarding code-insight: it's peanuts to add "code insight includes" in your project properties. After you do that the code hinting will also work for the included things. |
||||||||||||||
|
Site Admin
|
I agree with Blizz,
these "virtual directories" aren't usefull for real live. If you have no myCMS directory but use it, how will your live apache+php server serve this? or you're developing scripts only for learning php? Definitely, myCMS should be somewhere. If you put it into php.ini (include_path), you may still do the same in the PhpED IDE too. To get those files found and used you'll need mapping and "code insight includes" updated appropriately. |
||||||||||||
_________________ The PHP IDE team |
Ability to add "virtual folders" to a project |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by