Skip to content

mjw-git/react-find

Repository files navigation

React-find

Demo

React-find can help you locate files quickly

React-find in action

Of course you can use the context menu to find the current node and its parent nodes React-find in action

Install

pnpm install react-find

Start

Add the script to your file like pages/app.tsx:

import init from 'react-find';

init();

Then Press the command(mac) or ctrl(win) and move your mouse to try it, click block will take you to the IDE

You also can right click to find current node and parent node which can find the source file.

If you always use the other IDE,You can init like this

init({ protocol: 'cursor' });

Options

Name Description type default
protocol IDE protocol string -
keyCode keyBoard keyCode string[] ['Meta']/['Control']

About

locate file quickly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published