Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315666 - Support for Fortran code templates
Summary: Support for Fortran code templates
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: 6.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P5 enhancement (vote)
Target Milestone: 7.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 16:13 EDT by Jeffrey Overbey CLA
Modified: 2011-05-14 06:44 EDT (History)
0 users

See Also:


Attachments
Code template support (52.34 KB, patch)
2011-02-23 08:29 EST, Jeffrey Overbey CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Overbey CLA 2010-06-03 16:13:22 EDT
Code templates allow the user to begin typing a construct and then use content assist to "fill in" the rest of the construct.  This would be particularly useful for Photran since Fortran is a verbose language: every "if" is accompanied by "then" and "end if," every "module" by "end module," etc.

A wiki page for the contribution has been set up:
http://wiki.eclipse.org/PTP/photran/code_templates
Comment 1 Jeffrey Overbey CLA 2011-02-23 08:29:28 EST
Created attachment 189595 [details]
Code template support
Comment 2 Jeffrey Overbey CLA 2011-02-23 08:29:53 EST
Committed to HEAD; patch attached FYI