atom/fuzzy-finder

An option to allow for project-relative absolute paths?

rob-mcgrail opened this issue · 0 comments

Summary

A lot of tools (test suites, linters etc.) will output file paths like /components/index.js where / is the root of the project, not the root of the filesystem. They are formatted like absolute paths when they really aren't.

Pasting these kinds of paths into the atom fuzzy-finder returns no results. It's annoying having to remove the first / every time.

I get that ignoring the first / might not be desirable behaviour for everyone, so at least having an option for it would be nice?

Motivation

To allow paths to be quickly pasted in and matched in the format used by many test suite output formatters, CLI tools, static analysis tools, bug catchers etc.

Describe alternatives you've considered

Removing the slash manually every time, or copying the path very carefully to exclude the first slash.

Additional context