Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
/ find-and-replace Public archive

Find and replace in a single buffer and in the project

License

Notifications You must be signed in to change notification settings

atom/find-and-replace

Repository files navigation

Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

Find and Replace package

CI

Find and replace in the current buffer or across the entire project in Atom.

Find in buffer

Using the shortcut cmd-f (Mac) or ctrl-f (Windows and Linux). screen shot 2013-11-26 at 12 25 22 pm

Find in project

Using the shortcut cmd-shift-f (Mac) or ctrl-shift-f (Windows and Linux). screen shot 2013-11-26 at 12 26 02 pm

Provided Service

If you need access the marker layer containing result markers for a given editor, use the [email protected] service. The service exposes one method, resultsMarkerLayerForTextEditor, which takes a TextEditor and returns a TextEditorMarkerLayer that you can interact with. Keep in mind that any work you do in synchronous event handlers on this layer will impact the performance of find and replace.