# Technical Documentation: pulsar-edit/fuzzy-finder

> ℹ️ **Provenance:** Multi-Tier Ingestion · [CodeWiki Reference](https://codewiki.google/github.com/pulsar-edit/fuzzy-finder)

### 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 <kbd>cmd-t</kbd>.

  * <kbd>cmd-t</kbd> or <kbd>cmd-p</kbd> to open the file finder
  * <kbd>cmd-b</kbd> to open the list of open buffers
  * <kbd>cmd-shift-b</kbd> to open the list of Git modified and untracked files

When opening a file, you can control the behavior.

  * <kbd>enter</kbd> defaults to opening the selected file without leaving the current pane
  * <kbd>shift-enter</kbd> defaults to switching to another pane if the file is already open there
  * <kbd>cmd-k</kbd> <kbd>right</kbd> (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 <kbd>enter</kbd> and <kbd>shift-enter</kbd> so <kbd>enter</kbd> opens the file in any pane and <kbd>shift-enter</kbd> 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](https://github.com/isaacs/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](https://github.com/atom/metrics/blob/master/docs/events.md).

## 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 ---
- Files Extracted: 2
- Estimated Token Budget: ~816 tokens
- Canonical Reference: https://codewiki.google/github.com/pulsar-edit/fuzzy-finder
