Navigation

  • index
  • modules |
  • EYE 0.1 documentation »
  • eye.helpers.file_search module

eye.helpers.file_search module¶

Helper for searching in multiple files, like recursive grep.

The file_search plugins allow to perform pattern search in multiple files and directories.

See also

The abstract plugin is in eye.helpers.file_search_plugins.base module.

eye.helpers.file_search.enabled_plugins()[source]¶

Iterate on registered and enabled plugins

Return type:

iter[SearchPlugin]

eye.helpers.file_search.pluginOpenFirstResult(plugin)[source]¶

Connect a SearchPlugin to open automatically the first result

When the plugin has found a result, an open_editor intent is sent to open the first result. This function must be called before starting the search.

eye.helpers.file_search.searchAndOpenFirstResult(plugin_id, path, pattern)[source]¶
eye.helpers.file_search.searchStart(search_widget)[source]¶

This handler is disabled by default.

This handler is registered for categories ['file_search_widget'] on signal returnPressed.

eye.helpers.file_search.searchWithPlugin(plugin_id, path, pattern, find_root=False, **options)[source]¶
eye.helpers.file_search.setupLocationList(plugin, loclist)[source]¶

Table of Contents

  • eye.helpers.file_search module
    • enabled_plugins()
    • pluginOpenFirstResult()
    • searchAndOpenFirstResult()
    • searchStart()
    • searchWithPlugin()
    • setupLocationList()

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • EYE 0.1 documentation »
  • eye.helpers.file_search module
© Copyright 2016. Created using Sphinx 8.2.3.