Giter VIP home page Giter VIP logo

cocojumper's Introduction

CocoJumper Build status Deployment

CocoJumper is an addon to Visual Studio based on AceJump extension for JetBrains IDE. It lets you jump to any visible symbol on the currently selected tab in the editor.

Shortcuts

Default Shortcut Description
Ctrl+Alt+; Activates multi search mode with support for multiple characters
Ctrl + Alt + / Activates single search mode
Ctrl + Alt + / + Shift Activates single search mode and selects text from current's caret position to selected character

Configuration

Configuration can be found in Tools > Options > Environment > Keyboard > CocoJumper.

Single search mode

After activating this mode you will see special control located on the current position of caret with a number of characters found in the current view.

  1. Activate this mode by using a shortcut or by clicking on Tools > CocoJumper - SingleSearch.
  2. Type any character that you want to go to - now all found occurrences will be marked with letters next to each one.
  3. Press letter that you want to go to.

Example

Multi search mode

After activating this mode you will see special control located on the current position of caret with a number of characters found in the current view.

  1. Activate this mode by using shortcut or by clicking on Tools > CocoJumper - MultiSearch.
  2. Type any word that you want to go to - now all found occurrences will be marked with letters next to each one.
  3. Press Enter key to activate the "choosing" mode.
  4. Press letter that you want to go to.

Example

Single search highlight mode

After activating this mode you will see special control located on the current position of caret with a number of characters found in the current view.

  1. Activate this mode by using a shortcut or by clicking on Tools > CocoJumper - SingleSearchHighlight.
  2. Type any character that you want to go to - now all found occurrences will be marked with letters next to each one.
  3. Press letter that you want to go to, now caret will be moved and text from old caret position to a new position will be selected.

Example

Word search mode

After activating this mode you will see special control located on the current position of caret with a number of words found in the current view.

  1. Activate this mode by using a shortcut or by clicking on Tools > CocoJumper - WordSearch.
  2. Press letter that you want to go to.

Example

cocojumper's People

Contributors

c485 avatar kraviecc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

andre-f-paggi

cocojumper's Issues

Better Integration with VsVim

Been testing out CocoJumper with VsVim. While it does seem to work for MultiSerach mode it is a bit clunky.

When in VsVim Normal mode I can invoke MultiSearch but I cannot start searching. After invoking the command I have to place VsVim into Insert mode and then I can search but sometimes pressing Enter will activate the "choosing" mode but pressing a key will not jump to desired location.

Label design

Need to work on label design to fit in visual studio's theme.

Code selection

Add another combination of keys to jump to given character with selecting code between starting point and destination.

Add new control states

  1. Plugin activated, displayed on current possition of caret, contains information about how much strings was found is current view, current string used for search, etc.,
  2. MultiSearch - like existing control but highlights found strings, for example: https://i.imgur.com/PhAqOQW.png , think about best look in this case

ReSharper problems

For now following options need to be disabled in ReSharper:

  1. Enviroment > Editor > Editor Behavior > Auto-format on closing brace
  2. Enviroment > Editor > Editor Behavior > Surround selection on typing a brace or parentesis
  3. Enviroment > Editor > Editor Behavior > Use Tab/Shift+ Tab keys for structural navigation

Label width

Automatically setting label's width based on its content.

Highlight First Letter of Each Word

The original EasyMotion plugin provides many ways for searching/navigating a document. There is a port for Visual Studio but it only allows for one character search (which Cocojumper already covers).

One of the many nice features it has is that you can give it a simple command and it will highlight the first letter of each word with a letter and you just press the letter that represents the word you want to jump to. It's not so much of a search as it is more of a....I want to jump to location X right now.

You can see examples on their github site. This is more of a feature request but you may feel that it does not fit with the purpose of Cocojumper.

https://github.com/easymotion/vim-easymotion

Automatically exit search mode

Exit search mode after 15 seconds (test what period of time will be the best) of inactivity related to CocoJumper functionalities.

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.