Coder Social home page Coder Social logo

matmarex / gotoselection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fordaldrich/gotoselection

0.0 2.0 0.0 92 KB

Small plugin for Sublime Text that pre-fills the Goto Anything overlay with the selected text or current word.

Python 100.00%

gotoselection's Introduction

GotoSelection

Description

Small plugin for Sublime Text that pre-fills the Goto Anything overlay with the selected text or current word.

Installation

GotoSelection can be installed by:

  • Cloning this repository in Packages

      Change directory into your Sublime Text Packages folder
      git clone git://github.com/FordAldrich/GotoSelection.git
    
  • Downloading the files manually and placing them in a directory under your Sublime Text Packages folder (such as GotoSelection)

    I'd recommend placing them in a unique directory, as opposed to simply dropping them in your User folder.

Usage

GotoSelection is a plugin that, when invoked, will pre-fill a Goto Anything overlay box with the currently selected text. If there is no current selection, then GotoSelection will use the "word" under the cursor. By default, GotoSelection uses the word separators defined in Default Settings (or User Settings, if you've overridden the defaults). This behavior can be changed by editing GotoSelection.py to reflect your needs. Instructions to set up custom word separators are found within the code file.

The default key binding for GotoSelection is "ctrl + ;", which can be edited by the user by making the appropriate changes in Packages/GotoSelection/Default.sublime-keymap

Credits

Inspiration for this little plugin came from my own needs and a variety of requests I found while searching for a solution to my problem; namely, I felt that project navigation could be streamlined if I could pre-fill the magic Goto Anything overlay.

In situations where class names often match file names, GotoSelection can make it easier to rapidly open the source code for a given class, and can also help in looking up methods and such within the current open file.

gotoselection's People

Contributors

fordaldrich avatar matmarex 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.