This package helps using find-and-replace
.
If you often use same complex pattern in find-and-replace
, this package is helpful.
This package save patterns to file, and load patterns from file.
This package use the CSON npm package.
defaultFilePath
.defaultFilePath
ordefaultFilePath
F6
defaultFilePath
is also changed.find-and-replace
panel.find-and-replace
panel is not opened.find-and-replace
panel.Keystroke | Command | Description | Selector |
---|---|---|---|
F6 | replacing-pattern-collection:toggle | Open/Close panel | atom-workspace |
escape | core:cancel | Close panel | atom-workspace |
tab | replacing-pattern-collection:focusNext | Focus next element | .replacing-pattern-collection.root |
shift-tab | replacing-pattern-collection:focusPrevious | Focus previous element | .replacing-pattern-collection.root |
pagedown | replacing-pattern-collection:next | Set next pattern to panel | .replacing-pattern-collection.root |
end | replacing-pattern-collection:last | Set last pattern to panel | .replacing-pattern-collection.root |
pageup | replacing-pattern-collection:previous | Set previous pattern to panel | .replacing-pattern-collection.root |
home | replacing-pattern-collection:first | Set first pattern to panel | .replacing-pattern-collection.root |
insert | replacing-pattern-collection:set | Set pattern to find-and-replace panel |
.replacing-pattern-collection.root |
If you want to edit CSON file, edit as below.
"replacing-pattern-collection":options: [{description : 'remove empty line'findPattern: "^(\\r\\n)"replacePattern: ""pathsPattern: ""projectFind: falseuseRegex: truecaseSensitive: falsewholeWord: falseinCurrentSelection: false}]
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.