| Summary: | [typing] tab indent - simple plain text editing should be provided as a sane fallback. | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | davidianwalker |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, deepakazad, mullenr |
| Version: | 3.8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
davidianwalker
(In reply to comment #0) > Not only does it obstruct moving between simpler, more transparent environments > and Eclipse I think 'moving between different coding environments' is a strong enough point to allow to disable all bells and whistles from editors in Eclipse. Pressing 'enter' at the end of a line places the caret on the new line at the same column/alignment as the previous line. => There is no way to disable this, the Smart Insert mode only governs the 'smart' tabbing, however if it is disabled we *always* indent to the same column as the last line. (In reply to comment #1) > I think 'moving between different coding environments' is a strong enough point > to allow to disable all bells and whistles from editors in Eclipse. I agree 100%. This stands on its own irrespective of any other consideration. When you can't account for every implementation of "the principle of least surprise", have no surprises at all (as a fallback). (In reply to comment #2) > => There is no way to disable this, the Smart Insert mode only governs the > 'smart' tabbing, however if it is disabled we *always* indent to the same > column as the last line. Agreed. As an aside, that's not global either. If I have a project open, set that mode, open something else, I need to set that again - it's at least on a per project basis (and appears to also be on a per file basis). open a project > open a file > set mode > copy and paste original file into same project > mode is unset on new file (or at least goes to default) Consideration in implementation could be given to global (and persistent) either for this (Smart Insert) or for the above mentioned option. (In reply to comment #4) > As an aside, that's not global either. Not entirely true as you can simply disable stuff from Java > Editor > Typing preference page. *** This bug has been marked as a duplicate of bug 85883 *** I realize this is a duplicate bug. I need to add my comments. I completely agree that not having the ability to default to not having "Smart Insert Mode" on is causing me a tremendous amount of time spent. Much code I work with is formatted differently from how Smart Insert Mode formats the code. I am required to suport the present formating. I know "Smart Insert Mode" can be turned off for individual files. Unfortunately it defaults on again when the editor is restarted. I would suggest that the selection for Smart Insert Mode be used for all files opened during a session and be retained by the editor. Or add a disable "Smart Insert Mode" preference. I know that this was discussed and the result was that it won't be fixed. I am just adding another voice and letting you know that this is extremely disruptive to my use of the editor. |