PHP items on "Run as..." menu still visible in Java and other perspectives [message #77745] |
Mon, 04 August 2008 11:08  |
Eclipse User |
|
|
|
Originally posted by: secretcode343.gmail.com
I've installed PDT but I also code in Java, Perl and C++. The PHP-related
items on the "Run as..." menu appear whatever the source code file I'm
editing is, and whatever perspective I'm in.
I think this is the wrong behaviour, but even if it's by design, can I
prevent it?
I haven't seen this problem mentioned in my searches here or across the
web, but I can't use very specific search terms.
By comparison, 'Java application' doesn't appear when in the C++
perspective, 'Local C/C++ application' doesn't appear when in the Java
perspective, etc.
I am not a plugin developer and won't be able to understand the full ins
and outs of building an IDE plugin but I don't mind getting into the
detail of how Eclipse builds the "Run as" menu.
I have Eclipse 3.3 and PDT 1.0.3. I also have CDT 4.0.3, and EPIC (Perl)
0.6.24 (installed before PDT).
Again, how can I prevent PHP items appearing on the Run as menu in other
perspectives?
thanks!
|
|
|
Re: PHP items on "Run as..." menu still visible in Java and other perspectives [message #77761 is a reply to message #77745] |
Mon, 04 August 2008 11:53   |
Eclipse User |
|
|
|
Originally posted by: codeslave.ca.ibm.com
Window > Customize Perspective... ?
Joe Pearson wrote:
> I've installed PDT but I also code in Java, Perl and C++. The
> PHP-related items on the "Run as..." menu appear whatever the source
> code file I'm editing is, and whatever perspective I'm in.
>
> I think this is the wrong behaviour, but even if it's by design, can I
> prevent it?
>
> I haven't seen this problem mentioned in my searches here or across the
> web, but I can't use very specific search terms.
>
> By comparison, 'Java application' doesn't appear when in the C++
> perspective, 'Local C/C++ application' doesn't appear when in the Java
> perspective, etc.
>
> I am not a plugin developer and won't be able to understand the full ins
> and outs of building an IDE plugin but I don't mind getting into the
> detail of how Eclipse builds the "Run as" menu.
> I have Eclipse 3.3 and PDT 1.0.3. I also have CDT 4.0.3, and EPIC (Perl)
> 0.6.24 (installed before PDT).
>
> Again, how can I prevent PHP items appearing on the Run as menu in other
> perspectives?
>
> thanks!
>
--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
|
|
|
|
Powered by
FUDForum. Page generated in 0.02684 seconds