Using Ultraedit from Eclipse

Help with setting up and configuring custom user tools in UltraEdit (based on command line input)

Using Ultraedit from Eclipse

Postby bsagusti » Mon Nov 08, 2004 3:58 pm

I've seen the requests for an Ultraedit plugin for eclipse and I whole heartedly agree.

I'm using Eclipse and have chosen to use Ultraedit as the default editor for c programming. In Eclipse, when I double click on a filename it opens correctly in Uedit. My question is, does anyone with Eclipse experience know how Eclipse issues the command to open the file in Uedit? I'm curious because when I get complile errors and the "Tasks" view shows the file and line number in Eclipse, double clicking will open the file in Uedit but it does not go to the line number that contains the error. I know the command line command that Uedit needs, it's just that I don't know where to break in and configure Eclipse to have it command the line number for Uedit, as well as the file.

Thanks,

Bob
User avatar
bsagusti
Newbie
 
Posts: 7
Joined: Mon Nov 08, 2004 12:00 am

Re: Using Ultraedit from Eclipse

Postby ben_midgley » Wed Apr 06, 2005 4:33 am

try this,

compile the following with your favorite windows compiler and set up the exe it produces as your editor so it is called in place of ultraedit, if the printfs are not captured by eclipse then use fopen and fprintf to dump to a results file. it should be possible to figure the arguaments relationship to the files you are using.

I dont know about eclipse, I have just started using it with the altera nios ii kit and cant say I have explored it very much but I dont really like it.

#include <stdio.h>

int main( int argv , char * argc )
{
int arg_index = 0 ;

for ( arg_index = 0 ; arg_index < argv ; arg_index++ )
{
printf("arg %d = /"%s/" " , arg_index , argc[arg_index] ) ;
}

return 1;
}
User avatar
ben_midgley
Newbie
 
Posts: 7
Joined: Fri Feb 25, 2005 12:00 am


Return to Custom User Tools/Tool Configuration