Community
Participate
Working Groups
Issue: Currently I can't globally disable the smart insert (more general: all automatic text changes) when typing. When editing existing code adding a ( automatically inserts a matching ), usually at the wrong place. This is almost impossible to get right in an algorithmn, so I want to disable it. It takes more time to correct a wrongly placed character than typing it all by hand. This also applies to {, " and similar. I don't want the editor to insert stuff automatically unless I press a shortcut. This also includes content assist. Just add it when pressing the shortcut. There are some setting for language specific editors like in Java, C/C++ but no global flag for all languages or editor types. Proposed solution: A global flag in preferences to disable it everywhere, every editor type, every programming language. It should be possible to be overwritten by programming language or editor type for people who want this feature on, off or inherited from default. Similar to workspace overwrites.
If you are interested in looking at the source, the generic editor is implemented over here: https://git.eclipse.org/c/platform/eclipse.platform.text.git/tree/org.eclipse.ui.genericeditor Maybe see how JDT is implementing these preferences by looking in: https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/tree/org.eclipse.jdt.ui and https://git.eclipse.org/c/platform/eclipse.platform.text.git/tree/org.eclipse.ui.workbench.texteditor