Subject: [ phpeclipse-Feature Requests-1479237 ] Don't show unreachable variables in Content Assist - msg#00070
List: ide.eclipse.phpeclipse.devel
Feature Requests item #1479237, was opened at 2006-04-30 02:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484804&aid=1479237&group_id=57621
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: editor
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't show unreachable variables in Content Assist
Initial Comment:
I'd like to see this in the Content Assist (Ctrl + Space):
It should concentrate on variables, which are reachable
from the current point.
It makes no sense to view variables used in other
files, which have no relation at all with the current
file.
I think a walk of the includes would help.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484804&aid=1479237&group_id=57621
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[ phpeclipse-Bugs-1064172 ] Document Root and Local Host preferences not working
Bugs item #1064172, was opened at 2004-11-10 22:17
Message generated for change (Comment added) made by hopbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1064172&group_id=57621
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Preference Settings
Group: v1.0 (example)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Document Root and Local Host preferences not working
Initial Comment:
After installing eclipse, phpeclipse plugin and
wampp2 to Windows XP it seems that php eclipse dont
see my Document Root and Local Host preferences
even when they are set both for workspace and project.
The problem appears when trying to start apache or php
browser.
eclipse versio: 3.0.1
phpeclipse installation: PHPEclipse1.1.1-2004-10-24.zip
I put eclipse under C:\phpdev\eclipse .. Could this
affect?
I did the installation according to the following page:
http://phpeclipse.de/tiki-index.php?
page=PHPeclipse+installation+for+Eclipse+3.x
best regards,
Tommi Laukkanen
tommi.laukkanen@xxxxxxxxx
----------------------------------------------------------------------
Comment By: Michelangelo Capraro (hopbot)
Date: 2006-04-28 16:27
Message:
Logged In: YES
user_id=634483
i notice it says its fixed, but in version 1.1.8 on windows
xp this still is not working.
it would be great if the per-project document root worked.
----------------------------------------------------------------------
Comment By: Axel C. Kramer (axelcl)
Date: 2005-10-17 21:50
Message:
Logged In: YES
user_id=1143825
Sorry I've only written a comment for bug #1263858
The fixes should already be available in CVS.
http://cvs.sourceforge.net/viewcvs.py/phpeclipse/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/actions/PHPStartApacheAction.java?rev=1.3&view=auto
I also changed the
net.sourceforge.phpeclipse.externaltools\prefs\default_win32.properties
file
----------------------------------------------------------------------
Comment By: Wayne Beaton (wayne_beaton)
Date: 2005-10-17 21:18
Message:
Logged In: YES
user_id=1363589
It appears that you're keeping the preferences for both
LocalHost and DocumentRoot in a different store. I modified
the PHPStartApacheAction action handler's run method as
follows to make it work (quick and dirty):
<pre>
public void run(IAction action) {
final IPreferenceStore store =
ExternalToolsPlugin.getDefault().getPreferenceStore();
IPreferenceStore webUiStore =
WebUI.getDefault().getPreferenceStore();
String documentRoot =
webUiStore.getString(WebUI.PHP_DOCUMENTROOT_PREF);
// replace backslash with slash in the DocumentRoot
under Windows
documentRoot = documentRoot.replace('\\', '/');
String[] arguments = { documentRoot };
MessageFormat form = new
MessageFormat(store.getString(ExternalToolsPlugin.APACHE_START_PREF));
execute("apache_start",
store.getString(ExternalToolsPlugin.APACHE_RUN_PREF),
form.format(arguments), store
.getBoolean(ExternalToolsPlugin.APACHE_START_BACKGROUND));
}
</pre>
Note that the default value for the "Start Apache", i.e. -c
"DocumentRoot "{0}"" doesn't work. You need to remove at
least one set of quotes.
----------------------------------------------------------------------
Comment By: sataix (sataix)
Date: 2004-11-17 22:59
Message:
Logged In: YES
user_id=1161239
Same Problem. The documentroot variable seems not to be
passed to the startup line of apache.
Additional Problems if Apache2 is not installed as a service
under windows xp. Then the apache can't be stopped. If i
install apache as a service, then it doesn't work (no pages of
my project can be displayed).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1064172&group_id=57621
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Previous Message by Thread:
click to view message preview
[ phpeclipse-Bugs-1064172 ] Document Root and Local Host preferences not working
Bugs item #1064172, was opened at 2004-11-10 22:17
Message generated for change (Comment added) made by hopbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1064172&group_id=57621
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Preference Settings
Group: v1.0 (example)
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Document Root and Local Host preferences not working
Initial Comment:
After installing eclipse, phpeclipse plugin and
wampp2 to Windows XP it seems that php eclipse dont
see my Document Root and Local Host preferences
even when they are set both for workspace and project.
The problem appears when trying to start apache or php
browser.
eclipse versio: 3.0.1
phpeclipse installation: PHPEclipse1.1.1-2004-10-24.zip
I put eclipse under C:\phpdev\eclipse .. Could this
affect?
I did the installation according to the following page:
http://phpeclipse.de/tiki-index.php?
page=PHPeclipse+installation+for+Eclipse+3.x
best regards,
Tommi Laukkanen
tommi.laukkanen@xxxxxxxxx
----------------------------------------------------------------------
Comment By: Michelangelo Capraro (hopbot)
Date: 2006-04-28 16:27
Message:
Logged In: YES
user_id=634483
i notice it says its fixed, but in version 1.1.8 on windows
xp this still is not working.
it would be great if the per-project document root worked.
----------------------------------------------------------------------
Comment By: Axel C. Kramer (axelcl)
Date: 2005-10-17 21:50
Message:
Logged In: YES
user_id=1143825
Sorry I've only written a comment for bug #1263858
The fixes should already be available in CVS.
http://cvs.sourceforge.net/viewcvs.py/phpeclipse/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/actions/PHPStartApacheAction.java?rev=1.3&view=auto
I also changed the
net.sourceforge.phpeclipse.externaltools\prefs\default_win32.properties
file
----------------------------------------------------------------------
Comment By: Wayne Beaton (wayne_beaton)
Date: 2005-10-17 21:18
Message:
Logged In: YES
user_id=1363589
It appears that you're keeping the preferences for both
LocalHost and DocumentRoot in a different store. I modified
the PHPStartApacheAction action handler's run method as
follows to make it work (quick and dirty):
<pre>
public void run(IAction action) {
final IPreferenceStore store =
ExternalToolsPlugin.getDefault().getPreferenceStore();
IPreferenceStore webUiStore =
WebUI.getDefault().getPreferenceStore();
String documentRoot =
webUiStore.getString(WebUI.PHP_DOCUMENTROOT_PREF);
// replace backslash with slash in the DocumentRoot
under Windows
documentRoot = documentRoot.replace('\\', '/');
String[] arguments = { documentRoot };
MessageFormat form = new
MessageFormat(store.getString(ExternalToolsPlugin.APACHE_START_PREF));
execute("apache_start",
store.getString(ExternalToolsPlugin.APACHE_RUN_PREF),
form.format(arguments), store
.getBoolean(ExternalToolsPlugin.APACHE_START_BACKGROUND));
}
</pre>
Note that the default value for the "Start Apache", i.e. -c
"DocumentRoot "{0}"" doesn't work. You need to remove at
least one set of quotes.
----------------------------------------------------------------------
Comment By: sataix (sataix)
Date: 2004-11-17 22:59
Message:
Logged In: YES
user_id=1161239
Same Problem. The documentroot variable seems not to be
passed to the startup line of apache.
Additional Problems if Apache2 is not installed as a service
under windows xp. Then the apache can't be stopped. If i
install apache as a service, then it doesn't work (no pages of
my project can be displayed).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1064172&group_id=57621
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642