Bug 159157 - [preferences][content assist] Enhance code assist by allowing more character triggers
Summary: [preferences][content assist] Enhance code assist by allowing more character ...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement with 3 votes (vote)
Target Milestone: 3.4 M7   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 226386 226603 250784 358031 536991 (view as bug list)
Depends on:
Blocks: 508789
  Show dependency tree
 
Reported: 2006-09-28 13:36 EDT by Stuart Popejoy CLA
Modified: 2018-10-05 07:47 EDT (History)
9 users (show)

See Also:


Attachments
"HyperAssist" plugin to set code assist triggers to all alpha plus '.' (8.01 KB, application/octet-stream)
2006-09-28 13:39 EDT, Stuart Popejoy CLA
no flags Details
hyperassist error log (38.04 KB, image/jpeg)
2008-04-10 13:29 EDT, Sam Mesh CLA
no flags Details
Right xml (2.39 KB, text/xml)
2008-04-11 14:26 EDT, Ricardo Mayerhofer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Popejoy CLA 2006-09-28 13:36:15 EDT
I have developed a minimal plugin that I use to great effect to maximize the use of code assist. The plugin merely sets the property for the auto-activation triggers to a long string (chars A-Z and a-z, as well as '.') in order to make all alpha keys plus the '.' triggers.

The feature request, then, is trivial: please increase the limit on auto-activation triggers to 53 (26 + 26 + 1), or greater, to allow people to configure this functionality. I have been using it for over a year and really love it.

I'm attaching the plugin if people would like to try it out. Once the plugin is in, type Ctrl-Alt-Shift-Z to have it set the auto-activation property. The plugin is called "HyperAssist" (org.popejoy.hyperassist).

Thanks,
Stuart
Comment 1 Stuart Popejoy CLA 2006-09-28 13:39:02 EDT
Created attachment 51104 [details]
"HyperAssist" plugin to set code assist triggers to all alpha plus '.'

Installation: extract tarball in plugins dir, restart eclipse. To enable, type Ctrl-Alt-Shift-Z. All alpha keys, lower and upper case, plus the "." will be enabled for hyperassist. 

To change what characters are enabled, use the "HyperAssist" preference pane under "Java".
Comment 2 Ken Collins CLA 2006-09-28 14:00:26 EDT
I use this plugin too, and it creates an effect similar to type-ahead in OpenOffice or handwriting recognition on PDAs.

Another option, rather than extending the auto-activation field would be to provide a type-ahead checkbox that would disable the auto-activation text field and effectively set it to [A-Za-z.]. This would signal to users that this level of auto-activation creates a different workflow than auto-activating on ".", and it would save users from typing in all those characters.

HyperAssist really does save a lot of keystrokes, since <ctrl><space> is no longer necessary, and completion is always available. HyperAssist can be annoying when typing new variable names, but <escape> dismisses it. I've switched from typing <ctrl><space> constantly to <escape> infrequenly.
Comment 3 Dani Megert CLA 2007-01-09 07:21:43 EST
*** Bug 169954 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2008-04-10 02:30:36 EDT
*** Bug 226386 has been marked as a duplicate of this bug. ***
Comment 5 Sam Mesh CLA 2008-04-10 13:29:58 EDT
Created attachment 95558 [details]
hyperassist error log

Does not work in eclipse 3.3.0 - attaching error log screenshot.
Comment 6 Ricardo Mayerhofer CLA 2008-04-11 13:42:38 EDT
I got the same error Sam Mesh did.

Any workaround?
Comment 7 Ricardo Mayerhofer CLA 2008-04-11 14:26:10 EDT
Created attachment 95729 [details]
Right xml

I found the problem. It was typos in the xml plugin. 
The correct goes attached.
Finaly could get this wonderful feature in eclipse.
Comment 8 Dani Megert CLA 2008-04-15 05:04:03 EDT
I've lifted that limitation for the entry field but didn't make it larger i.e. you can now enter long strings if you want.
Comment 9 Dani Megert CLA 2008-04-28 04:59:08 EDT
Verified in I20080427-2000.
Comment 10 Sam Mesh CLA 2008-04-28 16:52:12 EDT
No updates for seems to be the same bug 204768 ?
Comment 11 shivi CLA 2010-06-12 14:39:34 EDT
I have tried a lot to get this awesome plugin to work on the latest release of Eclipse but it seems that the two are not incompatible. I get the "HyperAssist" preference pane under "Java" but it won't activate on pressing the key combination "ALT+CTRL+SHIFT+Z". The "Error Log" doesn't show up any errors for this plug-in too.

Please, I want this plugin working in my Eclipse installation badly. Help me out in getting it to work.
Comment 12 Markus Keller CLA 2010-06-23 09:35:00 EDT
(In reply to comment #11)
That plug-in is not necessary any more. Just go to
    Preferences > Java > Editor > Content Assist
and paste
    ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.
into the "Auto activation triggers for Java:" field.
Comment 13 Mickael Istria CLA 2018-10-05 07:35:06 EDT
*** Bug 358031 has been marked as a duplicate of this bug. ***
Comment 14 Mickael Istria CLA 2018-10-05 07:39:27 EDT
*** Bug 536991 has been marked as a duplicate of this bug. ***
Comment 15 Mickael Istria CLA 2018-10-05 07:41:21 EDT
*** Bug 250784 has been marked as a duplicate of this bug. ***
Comment 16 Mickael Istria CLA 2018-10-05 07:41:35 EDT
*** Bug 226603 has been marked as a duplicate of this bug. ***