Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PHP items on "Run as..." menu still visible in Java and other perspectives
PHP items on "Run as..." menu still visible in Java and other perspectives [message #77745] Mon, 04 August 2008 15:08 Go to next message
Eclipse UserFriend
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 15:53 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: PHP items on "Run as..." menu still visible in Java and other perspectives [message #77777 is a reply to message #77761] Mon, 04 August 2008 19:46 Go to previous message
Eclipse UserFriend
Originally posted by: secretcode343.gmail.com

Thanks Nick - there's another Eclipse feature I hadn't properly explored.

However, it looks like all it will do is allow me to show or hide the "Run
as" menu in its entirety, not to control which items appearing within the
sub-menu. Have I missed something?
Previous Topic:Can't install by Update - wst.web_ui dependency
Next Topic:PDT Road map
Goto Forum:
  


Current Time: Sun Jan 29 04:08:35 GMT 2023

Powered by FUDForum. Page generated in 0.03536 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top