Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Open auto-complete without ctrl+space
Open auto-complete without ctrl+space [message #1720330] Sun, 17 January 2016 13:03 Go to next message
Eleanor Richie is currently offline Eleanor RichieFriend
Messages: 125
Registered: August 2014
Senior Member
Hello,,
I would like to show the auto-complete proposal list without having to press Ctrl+Space at certain positions.

Any idea how to do it??
Re: Open auto-complete without ctrl+space [message #1720331 is a reply to message #1720330] Sun, 17 January 2016 13:54 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
There is a hook for that but i am not sure if it is sufficient in your case

https://christiandietrich.wordpress.com/2011/09/19/xtext-content-assist-auto-activation/


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
icon7.gif  Re: Open auto-complete without ctrl+space [message #1720541 is a reply to message #1720331] Tue, 19 January 2016 08:53 Go to previous messageGo to next message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
I would like to know if this is eclipse specific plugin. Is it same for Intellij .I am unable to locate the plugin class.
Re: Open auto-complete without ctrl+space [message #1720546 is a reply to message #1720541] Tue, 19 January 2016 09:04 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
can you ask this in a new question please

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Open auto-complete without ctrl+space [message #1720554 is a reply to message #1720546] Tue, 19 January 2016 09:51 Go to previous messageGo to next message
Eleanor Richie is currently offline Eleanor RichieFriend
Messages: 125
Registered: August 2014
Senior Member
Hi Christian,, It worked perfectly. Thanks Alot Smile
Re: Open auto-complete without ctrl+space [message #1720561 is a reply to message #1720554] Tue, 19 January 2016 10:15 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
@roy

did you try to override

public boolean invokeAutoPopup(@NotNull PsiElement position, char typeChar) {
return false;
}


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Injection to XMI format of textual models with cross-document references
Next Topic:web editor with code generation
Goto Forum:
  


Current Time: Thu Apr 25 16:06:39 GMT 2024

Powered by FUDForum. Page generated in 0.02698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top