Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362926

Summary: missing ENDFORALL template
Product: [Tools] PTP Reporter: Matt Chan <talcite>
Component: Photran.Editor & Outline ViewAssignee: Photran Inbox <photran-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: com-eclipse-dot-org, talcite
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Matt Chan CLA 2011-11-04 12:52:22 EDT
Hi,

There isn't an ENDFORALL syntax template currently, but there are some for the ENDIF, ENDDO, etc. 

Would it be possible to add it in please?

I've inherited a shared codebase and the previous programmer decided to use ENDFORALL exclusively. I'd like to avoid replacing everything because it introduces differences between my code and his when we run a diff and also since the gfortran compiler doesn't seem to mind the ENDFORALL syntax.

Thanks,
Matt
Comment 1 Matt Chan CLA 2011-11-04 13:01:24 EDT
Sorry for all the emails...

I just noticed that the ENDWHERE template is also missing.

Matt
Comment 2 Jeffrey Overbey CLA 2012-02-29 20:31:35 EST
Hi Matt,

Thanks for the bug report.  We didn't include any individual code templates for END statements; they're all matched with the statement that starts a construct.  However, you can add them in yourself (or modify the existing templates).  Click on Windows > Preferences > Fortran > Templates, and you can either use the "Edit" button to change an existing template or the "New" button to insert a new one.

Hope this helps.

Jeff