Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320822 - Code completion should be cancelable
Summary: Code completion should be cancelable
Status: CLOSED DUPLICATE of bug 126698
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-24 16:23 EDT by Dmitry Nezhevenko CLA
Modified: 2010-08-03 03:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Nezhevenko CLA 2010-07-24 16:23:43 EDT
Build Identifier: CDT 7.0

It should be possible to cancel code completion that takes to much time. For example just typing "::" and waiting ~1 sec (to trigger completion) freezes editor on large project (pdom file ~800 Mb) for 1-5 minutes.

I understand, that compute completion proposals for everything is a heavy task but When UI freezes for so much time, it's very annoying. It should be possible to cancel such completion by pressing ESC or some other key. Or maybe some configurable timeout should work.

Another idea is to limit number of variants, for example for :: find only first 10-20 symbols, and add "..." as last one.

Reproducible: Always
Comment 1 Markus Schorn CLA 2010-08-03 03:30:54 EDT

*** This bug has been marked as a duplicate of bug 126698 ***