Hi First check If You can load a specific file when running Your IDE.
I have managed to get this working with netbeans and to open a file in netbeans it is just to run: netbeans FILE_PATH:LINE_NUMBER Check what it looks like in PDT and adjust those instructions accodringly. So assuming that You are using firefox 3 and Linux and have /usr/bin/php binary available: 1. add custom protocol to firefox following instructions from here: http://kb.mozillazine.org/Register_protocol#Firefox_3.5_specific__.28works_without_installed_Gnome_libraries.29 For our case You need to replace "foo" with "editor" 2. create script on Your disk with following content, lets say that you name it "pdt-firefox-launcher": #!/usr/bin/php <?php $arg = urldecode( str_replace( 'editor:', '', $_SERVER['argv'][1] ) ); $data = explode( ':', $arg ); $file = $data[0]; $line = $data[1]; passthru( "PATH_TO_PDT_EXECUTABLE $file:$line" ); ?> make it executable: chmod +x pdt-firefox-launcher 3. in settings.yml set file_link_format value like that: all: .settings: file_link_format: editor:%f:%l Now when You will see some exceptin dump from symfony application file names should be links like "editor:FILE_PATH:LINE_NUMBER". When You click this link firefox should ask You to specify which program to run for that kind of links - point it to Your "pdt-firefox-launcher" script created earlier Thats it - from now on every link should open up PDT with specified file Good luck -- Best regards Lukasz Wojciechowski New Generation Software +48 602 214 629 http://www.ngsoft.pl 2009/12/11 klemens_u <[email protected]>: > Hi everybody, > > I just read about the "file_link_format" option of symfony / xdebug in > the advent calendar: > http://www.symfony-project.org/advent_calendar/4/en > > Does anyone know how to setup this for PDT/Eclipse? > > Thanks, Klemens :-) > > -- > > You received this message because you are subscribed to the Google Groups > "symfony users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
