Author Topic: autolist/complete: show entries that contain substring instead of starting  (Read 227 times)

rowbearto

  • Senior Community Member
  • Posts: 1583
  • Hero Points: 115
When I do auto-list/complete and I'm presented with a list of candidates, the list gets narrowed down to whatever starts with, for example if I have:

structInstance.abc

The list narrows down to anything that starts with "abc", but sometimes I know "abc" is in the entry I want, but it doesn't start with "abc".

So having a way to get the list narrowed down to all entries that "contain" "abc" instead of just starting with "abc" would be very useful.

Graeme

  • Senior Community Member
  • Posts: 2411
  • Hero Points: 318
Re: autolist/complete: show entries that contain substring instead of starting
« Reply #1 on: December 21, 2019, 07:03:36 am »
The find symbol tool-window can do that but it lacks any way of entering a chosen symbol into your source code.  Ideally there would be a command that brings the tool-window up with any partially typed name in it and "match-substring" automatically ticked, up-arrow down-arrow keys work without having to use tab, <enter> inserts the symbol, <ctrl-enter> goes to the symbol - and if it's the name of a function, the function argument help popup comes up automatically after you insert the symbol  - and a left parenthesis is inserted automatically.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2857
  • Hero Points: 434
Re: autolist/complete: show entries that contain substring instead of starting
« Reply #2 on: December 26, 2019, 03:49:18 pm »
Just an FYI, we have an option for this on our future-feature list, scheduled behind a major amount of work to improve auto-list performance in order to support it.