fuzzy-finder Documentation

Lock: Find and open files quickly

0 stars JavaScript JavaScript 1 file ยท ~901 tokens
RAW Doc

Technical Documentation: pulsar-edit/fuzzy-finder

โ„น๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference

Overview (`README.md`)

This repo is now archived under Pulsar-Edit as it is Bundled into the core editor [#515](https://github.com/pulsar-edit/pulsar/pull/515)

Fuzzy Finder package

Quickly find and open files using cmd-t.

  • cmd-t or cmd-p to open the file finder
  • cmd-b to open the list of open buffers
  • cmd-shift-b to open the list of Git modified and untracked files

When opening a file, you can control the behavior.

  • enter defaults to opening the selected file without leaving the current pane
  • shift-enter defaults to switching to another pane if the file is already open there
  • cmd-k right (or any other directional arrow) will open the highlighted file in a new pane on the side indicated by the arrow
  • Adding :<line number> to the end of your search will go directly to the line number you specify, or the last line if the number is larger

Turning on the "Search All Panes" setting reverses the behavior of enter and shift-enter so enter opens the file in any pane and shift-enter creates a new tab in the current pane.

This package uses both the core.ignoredNames and fuzzy-finder.ignoredNames config settings to filter out files and folders that will not be shown. Both of those config settings are interpreted as arrays of minimatch glob patterns.

This package also will also not show Git ignored files when the core.excludeVcsIgnoredPaths is enabled.


Events (`docs/events.md`)

Events specification

This document specifies all the data (along with the format) which gets sent from the Fuzzy Finder package to the GitHub analytics pipeline. This document follows the same format and nomenclature as the Atom Core Events spec.

Counters

counter name description
show-enable-prompt Number of times the prompt to enable fast mode is shown
click-enable-prompt Number of clicks on the "enable fast mode" prompt
confirm-enable-prompt Number of confirmations on the "enable fast mode" notification
cancel-enable-prompt Number of cancels on the "enable fast mode" notification
show-disable-prompt Number of times the prompt to disable fast mode is shown
click-disable-prompt Number of clicks on the "disable fast mode" prompt
confirm-disable-prompt Number of confirmations on the "disable fast mode" notification
cancel-disable-prompt Number of cancels on the "disable fast mode" notification

Timing events

Time to crawl the project

  • eventType: fuzzy-finder-v1

  • metadata

    field value
    ec time-to-crawl
    el Crawler type (ripgrep or fs)
    ev Number of crawled files

Time to filter results

  • eventType: fuzzy-finder-v1

  • metadata

    field value
    ec time-to-filter
    el Scoring system (alternate or fast)
    ev Number of items in the list

Standard events

Currently the Fuzzy Finder does not log any standard events.


--- METRICS ---