Giter VIP home page Giter VIP logo

fuzzyopen's Introduction

Fuzzy Open (Gedit Plugin)
Andrew Liu <andrewliu33 (at) gmail com>
Mads Buus Jensen <[email protected]> (SnapOpen)

Github location: http://github.com/eggegg/fuzzyopen

This plugin is base on SnapOpen plugin.
(http://github.com/MadsBuus/gedit-snapopen-plugin)
It use a totally different algorithm to find and rank the search result.
It depends on File Browser Plugin to get the root of searching.

FEATURES:

 - Enable partial matching search, search with path
 - Metedatas showed when searching: modified time, git status, file extention
 - Ignore the hidden files and the file cannot be opened by gedit
 - Options for case ignored or space ignored search

USAGE:

Shortcut: Ctrl + Shift + O

When you type the query in the new query window, the box under the query line
will simultaneously update the search result.  The search space start from the
root of the file show in the file browser plugin.

The search result contains the files which matches the query along with some
metadata, including the extension name, the time of modification displayed in
relative form, and the git diff status if a folder .git is detected under the
root of the file browser.

SEARCH ALGORITHM:

The algorithm is intended to solve the problem that sometimes there are many
files having the same name (ie. index.erb), so search with path is a solution
to the problem.  However, I'm too lazy to enter the whole path name.  So this
is how the fuzzy search algorithm comes out.

 - there is point for each single match
 - the points increase for continue match, 1 point at first, 2 points at second,
   3 points at third, ... and so on

Eventually, the algorithm will match something like this:
amus         =>   app/models/user.rb
a/v/tclub    =>   app/view/theme/plain/club.erb

If you have any suggestion about the algorithm, please contact me and help me
improve it.

fuzzyopen's People

Contributors

andrewytliu avatar dguaraglia avatar jhilden avatar madsbuus avatar vincecarney avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.