GithubHelp home page GithubHelp logo

shifter's Introduction

Shifter for Visual Studio

Build

Download this extension from the Visual Studio Marketplace or get the CI build.


Shifter shifts the text under the caret depending on the text. For example, if the caret is on a number, Shifter will increase or decrease the number. This makes common tasks super quick and keyboard friendly.

Shifter

The value being shifted is either the text where the caret is placed, or the selected text range.

Shifter

If using multiple carets, each selected text will be shifted separately.

Keyboard shortcuts

  • Shift up: Ctrl+Alt+Up
  • Shift down: Ctrl+Alt+Down
  • Incremental Shift up: Shift+Ctrl+Alt+Up
  • Incremental Shift down: Shift+Ctrl+Alt+Down

Supported shifts

Numbers, including decimals, will increase or decrease with a value that depends on the number of decimals (supports incremental shift).

Hex colors will either brighten or darken slightly when shifted.

Named colors will shift to the adjacent named color in the pallet. For instance, shifting up blue will make it royalblue.

Guids will be incremented or decremented when shifted. A quick way to change a guid slightly.

Boolean values such as true/false, on/off, yes/no will shift to the opposite regardless of shifting direction.

Incremental shifts

Shifter

With incremental shift each selection will be shifted incrementally in order from top/left to bottom/right.

How can I help?

If you enjoy using the extension, please give it a ★★★★★ rating on the Visual Studio Marketplace.

Should you encounter bugs or if you have feature requests, head on over to the GitHub repo to open an issue if one doesn't already exist.

Pull requests are also very welcome, since I can't always get around to fixing all bugs myself. This is a personal passion project, so my time is limited.

Another way to help out is to sponsor me on GitHub.

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.