Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [photran] Question about capabilities

> Didn't realize that; thanks.  If you go to
> http://help.eclipse.org/ganymede/
> you can click on "C/C++ Development User Guide"

Thanks for the pointer to this great resource.

> The most likely cause is that you need to follow the instructions here
> http://www.eclipse.org/photran/refactoring.php
> under "Setting Up the Indexer" and "Setting Module and Include Paths"

I had followed these instructions previously, when setting up my project,
although in the version of Eclipse I'm using, there is no "Fortran General"
selection, but there is an "Analysis/Refactoring" selection. 

However, the first time I went through this, I did not catch the note about
subfolders not being searched automatically, and so I have added some
subfolders explicitly to the list of "Folders to be searched for INCLUDE
files, in order of preference:".

Now, "Open Declaration" seems to work sporadically; I tried it on two
different routine names from two different modules; both of their '.mod' 
files are in the same folder, which is included in the list of "Folders to
be searched for modules, in order of preference:". For the first routine, I
get an Error dialog "Unable to locate declaration"; for the second routine, 
the source file where it is defined is opened.

It behaves similarly for variables; for some, the source file is opened, 
and for others, the error occurs.

Any other suggestions?

Thanks again.


---
David L. Paterline
Principal Engineer
Core Engineering

Westinghouse Electric Company
Westinghouse Energy Center
Monroeville, PA 15146, USA
Phone:  +1 (412) 374-2286
Fax:  +1 (412) 374-2284
Email:  paterldl@xxxxxxxxxxxxxxxx
Home Page:  www.westinghousenuclear.com



-----Original Message-----
From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] On Behalf Of Jeffrey Overbey
Sent: Thursday, March 19, 2009 7:43 PM
To: Photran Information
Subject: Re: [photran] Question about capabilities

> "Documentation for Photran" page 
> http://www.eclipse.org/photran/documentation.php has a link for the CDT 
> User's Guide, but it seems to be broken.

Didn't realize that; thanks.  If you go to

http://help.eclipse.org/ganymede/

you can click on "C/C++ Development User Guide"


> easy one. When you highlight a routine name in a Fortran source file and 
> right-click, the menu item "Open Declaration" doesn't seem to do 
> anything; when I select this menu item, a dialog box briefly flashes, 

The most likely cause is that you need to follow the instructions here

http://www.eclipse.org/photran/refactoring.php

under "Setting Up the Indexer" and "Setting Module and Include Paths"


Jeff
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



Back to the top