GithubHelp home page GithubHelp logo

geksilla / atom-fuzzy-grep Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 17.0 325 KB

Find files by keywords, regexp using ag, grep, ack or git-grep.

Home Page: https://atom.io/packages/atom-fuzzy-grep

License: MIT License

CoffeeScript 100.00%

atom-fuzzy-grep's People

Contributors

a-b-r-o-w-n avatar aki77 avatar geksilla avatar jonboiser avatar kankaristo avatar khyo avatar koba04 avatar lemming avatar nosami avatar wackywendell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

atom-fuzzy-grep's Issues

search for ag, but in a git repo it should use git grep, right?

when start typing I have:

Failed to spawn command ag. Make sure ag is installed and on your PATH

but I expected that it was using git grep?
what does it means "it read from project folder", in my folder project there is .git subfolder, and there are no unstaged changes
linux platform, I can of course install silversearcher-ag, if need, but does it search in git too?

Doesn't follow symbolic links

Thanks for a fantastic package, this is a huge productivity boost!

I have a (small) SSD as my main drive, so I have some bigger projects on an HDD, with symbolic links to them in my home directory.

ag works fine with this, if I run it from the project directory (the symbolic link). However, atom-fuzzy-grep searches from my home dir instead, and ag doesn't follow the symlink from there.

ag --follow follows symlinks, but takes a really long time to finish (it's been running the entire time I've been writing this).

Does atom-fuzzy-grep always search in the home directory or does it get confused by the project root being a symlink?

Settings not showing correctly.

Since upgrading to 0.11 My settings section of the plugin only shows the one setting I already set to non-default:

screen shot 2016-01-22 at 2 14 01 pm

With 0.9 it was showing more settings (like command line to run etc).

Uncaught TypeError: Cannot read property 'repo' of null

[Enter steps to reproduce below:]

  1. ...Launch atom-fuzzy-grep
  2. ...Start typing

Atom Version: 0.200.0
System: Mac OS X 10.10.3
Thrown From: atom-fuzzy-grep package, v0.1.0

Stack Trace

Uncaught TypeError: Cannot read property 'repo' of null

At /Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:683

TypeError: Cannot read property 'repo' of null
  at /Users/jason/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:64:9
  at Array.some (native)
  at Runner.module.exports.Runner.isGitRepo (/Users/jason/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:63:33)
  at Runner.module.exports.Runner.run (/Users/jason/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:18:27)
  at GrepView.module.exports.GrepView.grepProject (/Users/jason/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:66:13)
  at /Users/jason/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:15:8
  at Emitter.module.exports.Emitter.emit (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at TextBuffer.module.exports.TextBuffer.applyChange (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:556:20)
  at TextBuffer.module.exports.TextBuffer.setTextInRange (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:470:12)
  at Selection.module.exports.Selection.insertText (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/selection.js:452:43)
  at /Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:729:31
  at /Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:771:29
  at TextBuffer.module.exports.TextBuffer.transact (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:678:18)
  at TextEditor.module.exports.TextEditor.transact (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1132:26)
  at /Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:765:24
  at TextEditor.module.exports.TextEditor.mergeSelections (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1954:18)
  at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1924:35)
  at TextEditor.module.exports.TextEditor.mutateSelectedText (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:763:19)
  at TextEditor.module.exports.TextEditor.insertText (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:726:21)
  at /Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:442:31
  at TextBuffer.module.exports.TextBuffer.transact (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:678:18)
  at TextEditor.module.exports.TextEditor.transact (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1132:26)
  at TextEditorComponent.module.exports.TextEditorComponent.onTextInput (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:440:35)
  at HTMLDivElement.<anonymous> (/Users/jason/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:3:61)

Commands

     -0:05.9.0 fuzzy-grep:toggle (atom-text-editor.editor.vim-mode.command-mode.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "metrics",
      "autocomplete",
      "web-browser"
    ],
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "themes": [
      "atom-dark-ui",
      "gruvbox"
    ]
  }
}

Installed Packages

# User
.bin, vundefined
atom-browser-webview, v0.6.0
atom-fuzzy-grep, v0.1.0
atom-typescript, v4.5.0
atom-yeoman, v0.2.0
editor-background, v0.13.0
gruvbox, v0.3.2
language-csharp, v0.5.0
linter, v0.12.6
omnisharp-atom, v0.6.1
vim-mode, v0.48.0

# Dev
No dev packages

search multiple words independent of order

What is the regex I can use in atom-fuzzy-grep for searching several words idenpendent of their order in my documents?
(=?word1.)(=?word2.) does'nt do the trick.

I'd be grateful if you could help me out.

debounce

what do you think about debouncing the change handler? Currently it seems like it greps every time you change the input and it feels a bit unresponsive as a result.

Uncaught TypeError: Cannot read property 'startsWith' of null

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: atom-fuzzy-grep package, v0.3.0

Stack Trace

Uncaught TypeError: Cannot read property 'startsWith' of null

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:745

TypeError: Cannot read property 'startsWith' of null
  at /Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:63:18
  at Array.some (native)
  at Runner.module.exports.Runner.isGitRepo (/Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:62:33)
  at Runner.module.exports.Runner.run (/Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:18:27)
  at GrepView.module.exports.GrepView.grepProject (/Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:69:13)
  at /Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:15:8
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:626:20)
  at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:534:12)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:518:26
  at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:740:18)
  at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:516:21)
  at TextBuffer.module.exports.TextBuffer.setText (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:453:19)
  at TextEditor.module.exports.TextEditor.setText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:711:26)
  at TextEditorView.module.exports.TextEditorView.setText (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/text-editor-view.js:52:25)
  at GrepView.module.exports.GrepView.setSelection (/Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:85:25)
  at GrepView.module.exports.GrepView.toggle (/Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:97:8)
  at atom-workspace.editorSubscription.atom.commands.add.fuzzy-grep:toggle (/Users/jrbp/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep.coffee:22:45)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-li.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
  at HTMLOListElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLOListElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

 27x -6:52.3.0 core:select-right (atom-text-editor.editor.is-focused)
     -6:48.2.0 core:copy (atom-text-editor.editor.is-focused)
     -6:47.6.0 find-and-replace:show (atom-text-editor.editor.is-focused)
     -6:46.5.0 core:paste (atom-text-editor.editor.mini.is-focused)
     -6:36 settings-view:open (atom-text-editor.editor.is-focused)
     -6:20.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:40.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:01.0 fuzzy-grep:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "chester-atom-syntax"
    ]
  }
}

Installed Packages

# User
atom-fuzzy-grep, v0.3.0
chester-atom-syntax, v0.1.1
f5-networks-iRules, v0.1.0
language-cisco, v1.2.0
minimap, v4.10.1
minimap-find-and-replace, v4.2.0

# Dev
No dev packages

Results difficult to visually parse

In Spacemacs when I smart search something it's really easy to see how the string I'm searching for is used in the code making it easier to see which file contains what I'm looking for.

image

With atom-fuzzy-grep the design looks nice but it's a lot more difficult to visually parse the results and find what I'm looking for.

image

Feature: Persist search pattern

In built-in Atom's fuzy-finder there's an option called 'Preserve last search'. As fuzzy-finder is not capable of opening multiple files at once, this option can be handy to go though all matches one by one. It would be nice to have the same feature in fuzzy-grep, so user won't need to fall back to ctrl-shift-f when he expects multiple matches.

Question: public API

Hi! I was wondering if this package provided any public api or any way to programmatically interact with the result set. As far as I can tell it does not. I would love to be able to take a snap shot of a result set and put it in a text buffer or even into something like atom-narrow.

Uncaught TypeError: Cannot read property 'startsWith' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.209.0
System: Mac OS X 10.10.3
Thrown From: atom-fuzzy-grep package, v0.3.0

Stack Trace

Uncaught TypeError: Cannot read property 'startsWith' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:745

TypeError: Cannot read property 'startsWith' of undefined
  at /Users/poga/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:63:18
  at Array.some (native)
  at Runner.module.exports.Runner.isGitRepo (/Users/poga/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:62:33)
  at Runner.module.exports.Runner.run (/Users/poga/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:18:27)
  at GrepView.module.exports.GrepView.grepProject (/Users/poga/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:69:13)
  at /Users/poga/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:15:8
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:626:20)
  at TextBuffer.module.exports.TextBuffer.setTextInRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:534:12)
  at Selection.module.exports.Selection.insertText (/Applications/Atom.app/Contents/Resources/app.asar/src/selection.js:452:43)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:742:31
  at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:787:29
  at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:740:18)
  at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1148:26)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:781:24
  at TextEditor.module.exports.TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1978:18)
  at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1948:35)
  at TextEditor.module.exports.TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:779:19)
  at TextEditor.module.exports.TextEditor.insertText (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:739:21)
  at TextEditorComponent.module.exports.TextEditorComponent.onTextInput (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:440:35)
  at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:3:61)

Commands

     -3:31.9.0 settings-view:open (atom-text-editor.editor.vim-mode.command-mode.is-focused)
  3x -3:28.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:44.7.0 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
     -1:42.6.0 pane:reopen-closed-item (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
     -1:41.6.0 core:close (div.settings-view.pane-item)
     -1:38.3.0 symbols-view:return-from-declaration (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -1:35.4.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -1:27.1.0 command-palette:toggle (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -1:24.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:24.6.0 atom-terminal:open-project-root (atom-text-editor.editor.vim-mode.command-mode)
     -1:17.6.0 settings-view:open (atom-text-editor.editor.vim-mode.command-mode.is-focused)
     -0:47.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:08.3.0 pane:show-item-2 (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
     -0:07.4.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)
     -0:05.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:05.3.0 fuzzy-grep:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-base16-tomorrow-dark-theme.theme-atom-dark-ui)

Config

{
  "core": {
    "audioBeep": false,
    "projectHome": "/Users/poga/projects",
    "themes": [
      "atom-dark-ui",
      "base16-tomorrow-dark-theme"
    ],
    "disabledPackages": [
      "symbols-tree-view"
    ]
  },
  "atom-fuzzy-grep": {}
}

Installed Packages

# User
Stylus, v1.0.0
atom-alignment, v0.12.1
atom-fuzzy-grep, v0.3.0
autocomplete-paths, v1.0.2
color-picker, v2.0.4
file-icons, v1.5.7
go-plus, v3.3.11
highlight-line, v0.11.0
language-haskell, v1.1.2
language-jade, v0.4.0
language-javascript-better, v1.5.0
language-livescript-edge, v1.0.0
language-rust, v0.4.3
last-cursor-position, v0.9.0
linter, v0.12.7
linter-rust, v0.1.0
racer, v0.13.0
react, v0.12.0
vim-mode, v0.53.0

# Dev
No dev packages

can't ignore multiple folders

I changed Grep Command String from
ag -i --nocolor --nogroup --column --ignore=docs
to
ag -i --nocolor --nogroup --column --ignore={doc,docs,README.md}
just like ack or ag supports that, however now it searches everything and escapes all the options. Is there some other way to achieve ignoring multiple folders?

Doesn't escape special characters

I tried searching for a C++ constructor with Hierarchy( and atom-fuzzy-grep found nothing. It works fine if I escape the parenthesis (Hierarchy\(). ag is trying to parse it as a regular expression.

You don't have to escape special characters with ag --literal, but this should probably be the default with atom-fuzzy-grep?

It would be nice to have a checkbox for toggling regular expressions in the dialog window (could also be toggled with a key binding while the dialog is open).

environment package VS process.env

After reading the readme for atom-fuzzy-grep, i went to install environment package and it says that it is deprecated:

Please use process.env directly
A deprecated package that was required prior to atom/atom#12562. Please uninstall this package from your Atom installation(s).

Is atom-fuzzy-grep updated to use process.env directly?

If yes, then perhaps the readme just needs updating...
if not, then i guess this is a feature request to remove dependence on a deprecated package.

doesn't open a file from any other project than the first one

When you have multiple project folders, atom-fuzzy-grep searches only in the project folder of the current focused file (which is ok for me). But it can only open files relative to the first project folder.

As a side note, thanks for making this package, I'd actually hoped atom itself would integrate with silver searcher eventually.

version 0.17.0 totally doesn't work

Hi. I updated from 0.16.0 to 0.17.0 yesterday. atom-fuzzy-grep stopped working. When I say "stopped working" I mean that when I executed Fuzzy Grep: Toggle either with the key combination (alt-ctrl-g) or with the command palette, the text entry field did not appear. I verified in the Key Binding Resolver that alt-ctrl-g did, in fact, attempt to execute the correct command.

I uninstalled and reinstalled 0.16.0 and it works again.

Thanks for this tool. It's awesome.

Not working on windows

I just tried installing it on Atom Beta. Search is not working. I always get 'no matches found'.

atom-fuzzy-grep is version 0.13.0
Atom is v1.8.0-beta1

Any tests I could do to find out why its not working?

Uncaught Error: spawn EACCES using AG in an Elixir Phoenix project

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: atom-fuzzy-grep package, v0.7.0

Stack Trace

Uncaught Error: spawn EACCES

At /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:260

Error: spawn EACCES
    at exports._errnoException (util.js:814:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at Object.exports.spawn (child_process.js:343:9)
    at BufferedProcess.module.exports.BufferedProcess.spawn (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:188:44)
    at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:52:14)
    at Runner.module.exports.Runner.run (/Users/npassaro/.atom/packages/atom-fuzzy-grep/lib/runner.coffee:35:22)
    at GrepView.module.exports.GrepView.grepProject (/Users/npassaro/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:90:13)
    at /Users/npassaro/.atom/packages/atom-fuzzy-grep/lib/atom-fuzzy-grep-view.coffee:23:10
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
    at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:645:20)

Commands

     -0:13.4.0 fuzzy-finder:toggle-file-finder (atom-pane.pane.active)
     -0:08.7.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:08.7.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:07.3.0 fuzzy-grep:toggle (atom-pane.pane.active)

Config

{
  "core": {
    "disabledPackages": [
      "symbols-view"
    ],
    "themes": [
      "nucleus-dark-ui",
      "batman-syntax"
    ],
    "excludeVcsIgnoredPaths": false
  },
  "atom-fuzzy-grep": {
    "grepCommandString": "/usr/local/opt/the_silver_searcher\n"
  }
}

Installed Packages

# User
atom-ctags, v4.4.0
atom-fuzzy-grep, v0.7.0
atomatigit, v1.5.5
autocomplete-elixir, v1.4.2
autocomplete-emojis, v2.2.2
autocomplete-paths, v1.0.2
autocomplete-sass, v0.1.0
batman-syntax, v1.0.1
change-case, v0.6.0
color-picker, v2.0.13
ever-notedown, v0.2.11
highlight-selected, v0.10.1
html2haml, v0.10.0
language-diff, v0.3.1
language-elixir, v0.5.2
language-haml, v0.23.4
language-scala, v1.1.4
linter-haml, v1.0.0
minimap, v4.16.0
nucleus-dark-ui, v0.6.6
pigments, v0.18.1
ruby-block, v0.3.5

# Dev
No dev packages

Maintainers Wanted

I don't use atom anymore and unfortunately don't have time to support this plugin.
Looking for maintainers!
Please let me know if you want to help!

Thanks!

Search command line placeholders, to support CodeSearch

Google CodeSearch is a lot faster than other options (however it requires additional indexing).
But it requires project paths in command line. It would be great to have something like {paths} placeholder, to be able to use it with fuzzy grep.
The command line could be like this then:

csearch -i -n -f {paths} regex

Allow grep-root specification

Often, we need to grep while working with files from multiple projects, or need to narrow grep within a subfolder of the current project. A prompt for directory name at the beginning of the grep would suffice.

Show document list sorted by date for 0 characters

I am using atom-fuzzy-grep to manage my plain text notes.
I think a great feature to add would be to show a document list ordered by date before the minimum number of characters is entered and search results are shown (right now it only displays an hourglass), allowing one to quickly access the most recently documents.
Combined with navigate to link between documents, markdown syntax and other addons, this would
then allow atom-fuzzy-grep a nearly fully functional alternative to notational velocity/nvALT.
(To see what I mean, open nvatom github page, showing the date would be nice, but what matters is the order).

Allow to search files

I would be nice to add a command that allows searching files. Internally git ls-files | ag foo or even ag -g FOO could be used to populate a list of files. I guess this would be a fast replacement for the integrated atom fuzzy finder, which is ... kind of slowish for large code bases.

Add support for pt The Platinum Searcher

pt The Platinum Searcher is a drop in replacement for ag with the added bonus of full cross platform builds for Windows, Linux and Mac and is much faster than ack.

See Features for some good reasons to support pt with atom-fuzzy-grep.

I'll see if I can create a pull request.

Cursor will not jump to search result using ripgrep

When using the ripgrep command from the readme (rg --ignore-case --with-filename --no-heading --column) the cursor will not jump to the specific search result in the text document.

I'm not sure if this is an atom-fuzzy-grep issue with how it uses ripgrep input... or a ripgrep issue with the search results output.

I can't see any difference between ag and ripgrep output when running from the command line, but perhaps there is a difference when the output is accessed by atom-fuzzy-grep.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.