| View previous topic :: View next topic |
| Author |
Message |
Courtney Miles Posted via mailing list.
|
Posted: Thu Aug 28, 2008 6:57 am Post subject: Managing Include files |
|
|
A PHP application I'm writing has the path to include files set in a
configuration file. So my include statements look like:
include_once($config['includePath'].'common.php');
Netbeans is causing me mild headaches because without my intention in
includes those files again which breaks the program. I try to avoid using
autocomplete so it doesn't but sometimes it still sneeks it in (probably
because I triggered it without knowing).
It seems like using a config file for file paths would be fairly common.
Is there a setting I can play with to get more desireable behaviour with
how NetBeans manages include files?
I'd prefer it if it never ever added include statements and it assumed I
had already included them myself so I could still use autocomplete.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org |
|
| Back to top |
|
 |
Jacob
Joined: 18 Aug 2008 Posts: 21
|
Posted: Thu Aug 28, 2008 7:03 am Post subject: Managing Include files |
|
|
If you use the latest development builds, then this no longer happens.
| Quote: | Date: Thu, 28 Aug 2008 09:28:01 +1000
To: users@php.netbeans.org
From: cmiles@eye-drop.net
Subject: Managing Include files
A PHP application I'm writing has the path to include files set in a
configuration file. So my include statements look like:
include_once($config['includePath'].'common.php');
Netbeans is causing me mild headaches because without my intention in
includes those files again which breaks the program. I try to avoid using
autocomplete so it doesn't but sometimes it still sneeks it in (probably
because I triggered it without knowing).
It seems like using a config file for file paths would be fairly common.
Is there a setting I can play with to get more desireable behaviour with
how NetBeans manages include files?
I'd prefer it if it never ever added include statements and it assumed I
had already included them myself so I could still use autocomplete.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@php.netbeans.org
For additional commands, e-mail: users-help@php.netbeans.org
| Sell your car for just $40 at CarPoint.com.au It's simple! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|