Filtering - lazycodertools/codefilter GitHub Wiki

Search results

By default, filter phrase is split into keywords and 'AND' case insensitive search is done on search results.

A search result is shown only when it contains all the keywords.

Default case sensitivity is controlled by the 'Search Case Sensitive' setting in the options dialog.

Additional filter options are available through context menu of the filter text box.

Filter options

  • Phrase - the filter phrase is matched as a whole.

  • Or - When there is more than one keyword, search result is shown when it contains any one of the keywords.

  • Whole Word - applies to all the keywords

  • Case Sensitive - applies to all the keywords

Views and scopes

The filter behavior is different for views and scopes lists for faster search.

  • The first keyword matches the start of the view or scope name.

  • Other keywords match anywhere.

  • The first keyword can be prefixed with an asterisk '*' to match anywhere as well.

  • The first keyword can match as an acronym.

  • Filter options do not apply.

For example:

Type '=at' to find the attributes view, the only view that starts with 'at'.

Type '=*met' to see all views that have 'met' in their names 'abstract methods', 'async methods' etc.

Type '=acd' to find the 'abstract class declarations' view.

Search and filter history

  • An 'AND' search is done on all the keywords.

  • Filter options do not apply.