NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Feature request

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
the_fear



Joined: 04 Oct 2016
Posts: 3

PostPosted: Tue Oct 04, 2016 6:55 am    Post subject: Feature request Reply with quote

Hi guys!
I'm not sure whether this topic is already created. I didn't find it so I decided to create a new one.
Netbeans editor has a feature that shows a list of possible endings of the line when typing. E.g. when start typing 'req' a list with two suggestions ('require' and 'require_once') appears. This is a very useful feature, I always use it.
But. Say I forgot the beginning of the command I want to type. I remember that there was something like 'once' in the end. I'm typing 'once', seeing nothing and going searching internet to find what I managed to forget. Other editors like Atom or Brackets would suggest me something so I don't waste time.
Is it possible to add this feature in Netbeans as well?


Back to top
emi



Joined: 14 Aug 2009
Posts: 238

PostPosted: Wed Oct 05, 2016 5:03 am    Post subject: Feature request Reply with quote

Please add an improvement request (if it's not already there) on Bugzilla https://netbeans.org/bugzilla/

NetBeans seems to expect a 'prefix' and filter based on that. Other tools such as IntelliJ expect any substring and fillter a bit differently.


There may be (or we could add) a flag for this behaviour.



--emi





On Tue, Oct 4, 2016 at 9:55 AM, the_fear <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi guys!
I'm not sure whether this topic is already created. I didn't find it so I decided to create a new one.
Netbeans editor has a feature that shows a list of possible endings of the line when typing. E.g. when start typing 'req' a list with two suggestions ('require' and 'require_once') appears. This is a very useful feature, I always use it.
But. Say I forgot the beginning of the command I want to type. I remember that there was something like 'once' in the end. I'm typing 'once', seeing nothing and going searching internet to find what I managed to forget. Other editors like Atom or Brackets would suggest me something so I don't waste time.
 Is it possible to add this feature in Netbeans as well?

[Image: http://storage9.static.itmages.ru/i/16/1004/h_1475563876_9489026_17f428a925.png ] (http://itmages.ru/image/view/4975637/17f428a9)
[Image: http://storage5.static.itmages.ru/i/16/1004/h_1475564027_9926668_7a43466792.png ] (http://itmages.ru/image/view/4975642/7a434667)




Back to top
Panayotis Katsaloulis
Posted via mailing list.





PostPosted: Wed Oct 05, 2016 5:26 am    Post subject: Feature request Reply with quote

In Xcode it even performs searching with gaps, for example when I type “getname” it will suggest not only “getName…” but also “getBaseName…”




On 5 October 2016 at 08:03:20, Emilian Bold (address-removed ([email]address-removed[/email])) wrote:
Quote:

Please add an improvement request (if it's not already there) on Bugzilla https://netbeans.org/bugzilla/

NetBeans seems to expect a 'prefix' and filter based on that. Other tools such as IntelliJ expect any substring and fillter a bit differently.


There may be (or we could add) a flag for this behaviour.



--emi





On Tue, Oct 4, 2016 at 9:55 AM, the_fear <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi guys!
I'm not sure whether this topic is already created. I didn't find it so I decided to create a new one.
Netbeans editor has a feature that shows a list of possible endings of the line when typing. E.g. when start typing 'req' a list with two suggestions ('require' and 'require_once') appears. This is a very useful feature, I always use it.
But. Say I forgot the beginning of the command I want to type. I remember that there was something like 'once' in the end. I'm typing 'once', seeing nothing and going searching internet to find what I managed to forget. Other editors like Atom or Brackets would suggest me something so I don't waste time.
Is it possible to add this feature in Netbeans as well?

[Image: http://storage9.static.itmages.ru/i/16/1004/h_1475563876_9489026_17f428a925.png ] (http://itmages.ru/image/view/4975637/17f428a9)
[Image: http://storage5.static.itmages.ru/i/16/1004/h_1475564027_9926668_7a43466792.png ] (http://itmages.ru/image/view/4975642/7a434667)











--
Panayotis Katsaloulis
Back to top
the_fear



Joined: 04 Oct 2016
Posts: 3

PostPosted: Thu Oct 06, 2016 1:34 pm    Post subject: Reply with quote

Listed editors act in the same way, however. That's a lot better behavior, isn't that?
Back to top
AlexFalappa



Joined: 17 May 2016
Posts: 6

PostPosted: Sat Nov 05, 2016 4:41 pm    Post subject: Reply with quote

The behaviour you are referring to is sometimes called fuzzy searching. It's that used in Atom, Sublime Text, Intellij IDEA and, I think, Bracket.

In NetBeans, for Java sources, you get by default prefix filtering of the completion list. You can however enable subword filtering where the typed characters are matched everywhere in the completion proposals. Referring to your screenshots, by activating subword completion you would have got the first two completion items for "charset".

To enable it recall the Options dialog (menu Tools > Options) then in the Editor section select the Code Completion tab. Choose Java in the Language combobox and select the Subword completion checkbox. Finally click the OK button.



nb-completion.png
 Description:
 Filesize:  33.1 KB
 Viewed:  1409 Time(s)

nb-completion.png


Back to top
the_fear



Joined: 04 Oct 2016
Posts: 3

PostPosted: Sat Nov 19, 2016 2:02 pm    Post subject: Reply with quote

Thank you for the response. Unfortunately this method is applicable only for java language.
I am using netbeans for web development, hence it seems this method is useless for me.
Back to top
DannyBear



Joined: 12 Nov 2009
Posts: 7

PostPosted: Mon Nov 21, 2016 10:39 pm    Post subject: Feature request Reply with quote

Unsubscribe


On Sat, Nov 19, 2016 at 6:02 AM, the_fear <address-removed ([email]address-removed[/email])> wrote:
Quote:
Thank you for the response. Unfortunately this method is applicable only for java language.
I am using netbeans for web development, hence it seems this method is useless for me.




Back to top
fralvarez



Joined: 03 Jun 2016
Posts: 2

PostPosted: Mon Nov 21, 2016 11:56 pm    Post subject: Feature request Reply with quote

unsuscribe
El nov. 21, 2016 6:39 PM, "dlraby" <address-removed ([email]address-removed[/email])> escribió:
Quote:
Unsubscribe


On Sat, Nov 19, 2016 at 6:02 AM, the_fear <address-removed ([email]address-removed[/email])> wrote:
Quote:
Thank you for the response. Unfortunately this method is applicable only for java language.
I am using netbeans for web development, hence it seems this method is useless for me.








Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo