Skip to content

madskristensen/Shifter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages