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

Bug 368500

Summary: auto-indentation with tab key
Product: [Tools] PTP Reporter: Bill Sacks <wsacks>
Component: Photran.Editor & Outline ViewAssignee: Photran Inbox <photran-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P4 CC: com-eclipse-dot-org, wozniak, wsacks
Version: 7.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Bill Sacks CLA 2012-01-12 21:42:52 EST
It would be great if the Photran editor supported auto-indentation with the tab key, so that hitting tab brought you to the correct level of indentation - for example, as you can get in emacs.

My ideal would be to have (1) tab puts you at the correct column based on the nesting level of the current block; (2) ability to handle source files whose indentation doesn't match the current setting (for example, if the setting is tab = 3 spaces, but I'm working with a file with indentation of 2 spaces, then new lines of code should line up with the immediately preceding lines of code, as is done in emacs); (3) auto-indentation of continuation lines.