This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | option so <TAB> does not exit/finish completion, only does common prefix | ||
---|---|---|---|
Product: | editor | Reporter: | err <err> |
Component: | Completion & Templates | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | possible |
Description
err
2015-03-09 15:20:27 UTC
Created attachment 152511 [details] possible Attached a patch that shows proof of concept. It only executes the change from Bug 208223 when Boolean.getBoolean("editor.completion.TabOnlyForPrefix") is false. If the system property is true then you get the original behavior. I made no attempt to understand the surrounding code; it seems to work. It's a proof of concept. I suppose it could be used as is, but caching the value of Boolean.getBoolean("editor.completion.TabOnlyForPrefix") might be good. 'org.netbeans.modules.editor.completion.noTabCompletion' option added. http://hg.netbeans.org/jet-main/rev/7d4647535f38 Integrated into 'main-silver', will be available in build *201503130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7d4647535f38 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #251037: option so <TAB> does not exit/finish completion, only does common prefix - fixed. |