Git Product home page Git Product logo

sublimeyetanothercodesearch's People

Contributors

metaflow avatar pope avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

metaflow jpathak

sublimeyetanothercodesearch's Issues

When indexing a project, consider handling excluded directories

cindex doesn't have any flags to exclude a folder from being indexed from a path like ST can exclude directories from a project path. But, it should be doable to expand the one path in ST to the directories and paths that ST has in the project.

Take the following directory structure

project/
  |- dir-a/
  |    |- foo/
  |    |- bar/
  |    `- file.txt
  |- dir-b/
  |    `- bar/
  |- foo/
  |    `- bar/
  `- file.txt

If I wanted to index project, yet exclude foo, I could transform this into the following paths for cindex to search:

project/dir-a/bar/
project/dir-a/file.txt
project/dir-b/
project/file.txt

This does add a lot of expansion, and I don't think cindex should have any issues with this, but it's worth keeping an eye out for.

Feature request: Start with nothing then specify folders for including

Hi there,
The exclude folders makes sense. But for me I need to manually include only those fewer folders. For which I need to index. Hopefully this kind of a request also makes sense to other people.

Can this be done? I am hoping also [somehow] for there to be a future possibility of eventually adding a context menu entry, right click the folder in sidebar. To access that future hook in a convenient way.

Look into making mouse clicks work.

This seems easy on the surface, but there is no selector query, as is the case with keymaps. So then this just starts muckin' with ALL of the mouse clicks.

I've seen some hacks by searching around, so I could try those. When I did a simple test, it was waaaay to kludgy to not be annoying.

Consider keeping code search binaries in the project

It's pretty easy to create Go binaries for Windows, OSX, Linux, and FreeBSD; so maybe we can eliminate an installation step for the user by just keeping copies of the binaries in the project.

CodeSearch hasn't seen a lot of change, so there doesn't appear to be a lot of re-syncing that needs to be done. It also means that there's a version of the csearch and cindex app that have been verified to work with the plugin, which could mean less bugs if there was a big change into those apps.

One question that will need to be answered is if the binaries should be stored within git and served via Package Control with the .no-sublime-package file or if I should just host a .sublime-package for the plugin code an an executable package for the bins.

Create kill switches for running cindex and csearch.

Sometimes you accidentally type a a query that will match the world (looking at you .) and you don't want to wait for that to finish before you can type the real query. It would be good to cancel the existing search if a user immediately brings tries searching again or if the user closes the results buffer.

Additionally, it might be good to have a command to kill the indexing process.

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.