Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - PhAB external editor and IDE: (1 Item)
   
PhAB external editor and IDE  
Hi,

I don't know if this is the right place to ask about PhAB, but there don't appear to be any other projects which cover 
it.

I have a couple of queries about the "Edit command" option in PhAB. I'm running 6.5.0 hosted on Windows.

1) Is there a known issue when using quotes in the command line for the edit command? If I use the following command 
line:

"C:/Program Files (x86)/Notepad++/Notepad++.exe"

and create a new code callback for a widget using the format "callback_name.cc" then the file gets created correctly but
 the editor is launched using the filename minus the .cc extension.

If I use the old DOS8.3 path to the same executable then the entire filename is sent to the editor and it works OK.

2) I launched PhAB from the IDE. Is there any way to set an edit command so that it loads the filename in the IDE as an 
editor?

I realise this might be a more general Eclipse question, but I've tried

2.1) running the IDE from the command line. "qde --launcher.openFile foo.c" didn't work - I think that's because the IDE
 in 6.5.0 is based on eclipse 3.5 whereas that functionality only appears in eclipse 3.6. Can anyone confirm?

2.2) Accessing the eclipse web interface as described here (http://www.saltycrane.com/blog/2007/07/eclipse-33-cannot-
open-file-from/) and here (http://wiki.eclipse.org/Eclipse_Web_Interface) but I don't even know if I have that plugin 
installed or how to check/do so.

It led me to a lot of discussion in the eclipse bug tracker centred around this (https://bugs.eclipse.org/bugs/show_bug.
cgi?id=178927) but that only seems to deal with command line stuff now.

In case you hadn't guessed I'm pretty unfamiliar with eclipse :)

Thanks.