All Projects → 2mas → Selectnextoccurrence

2mas / Selectnextoccurrence

Licence: other
A Visual Studio Extension that selects the next occurrences of the current selection and adds multiple cursors for editing

Projects that are alternatives of or similar to Selectnextoccurrence

g910-gkey-macro-support
GKey support for Logitech G910 Keyboard on Linux
Stars: ✭ 85 (-34.11%)
Mutual labels:  keyboard, shortcut
Pretzel
Pretzel is Mac desktop app that shows and find keyboard shortcuts based on your current app.
Stars: ✭ 405 (+213.95%)
Mutual labels:  shortcut, keyboard
hotscript
HotScript - Revolutionizing how Windows works.
Stars: ✭ 29 (-77.52%)
Mutual labels:  keyboard, shortcut
ShortcutJS
Keyboard manager for javascript and typescript, made for humans 😎
Stars: ✭ 26 (-79.84%)
Mutual labels:  keyboard, shortcut
Selectpage
A simple style and powerful selector, including ajax remote data, autocomplete, pagination, tags, i18n and keyboard navigation features
Stars: ✭ 679 (+426.36%)
Mutual labels:  keyboard, selection
hotkey
⌨️ cross-platform hotkey package
Stars: ✭ 82 (-36.43%)
Mutual labels:  keyboard, shortcut
React Hotkeys
React component to listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts.
Stars: ✭ 279 (+116.28%)
Mutual labels:  shortcut, keyboard
metaKeyboard
turn a common keyboard into a 61-key keyboard for the keyboard shortcut fun like you, I'm a programer, I want to improve coding efficiency
Stars: ✭ 30 (-76.74%)
Mutual labels:  keyboard, shortcut
Capslock Plus
An efficiency tool that provides various functions by enhancing the Caps Lock key into a modifier key.
Stars: ✭ 650 (+403.88%)
Mutual labels:  shortcut, keyboard
Hotkey
Simple global shortcuts in macOS
Stars: ✭ 574 (+344.96%)
Mutual labels:  shortcut, keyboard
Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+3903.88%)
Mutual labels:  shortcut, keyboard
Globalhooks
Allows you to create global keyboard events
Stars: ✭ 74 (-42.64%)
Mutual labels:  shortcut, keyboard
Slowquitapps
Add a global delay to Command-Q to stop accidental app quits.
Stars: ✭ 916 (+610.08%)
Mutual labels:  shortcut, keyboard
Ng Keyboard Shortcuts
Dead Simple Keyboard Shortcuts Management for Angular
Stars: ✭ 121 (-6.2%)
Mutual labels:  shortcut, keyboard
Servicestackvs
ServiceStackVS - Visual Studio extension for ServiceStack
Stars: ✭ 117 (-9.3%)
Mutual labels:  visual-studio
Tesseract Ocr for windows
Visual Studio Projects for Tessearct and dependencies
Stars: ✭ 122 (-5.43%)
Mutual labels:  visual-studio
Monokai Vs 2015
Monokai theme for Visual Studio 2015/2017
Stars: ✭ 116 (-10.08%)
Mutual labels:  visual-studio
Dainty Vs
Dainty for Visual Studio – A color theme generator using Lab color space
Stars: ✭ 115 (-10.85%)
Mutual labels:  visual-studio
Browser Media Keys
Lets you control many web players using the media keys on your keyboard.
Stars: ✭ 125 (-3.1%)
Mutual labels:  keyboard
Coinselect
An unspent transaction output (UTXO) selection module for bitcoin.
Stars: ✭ 121 (-6.2%)
Mutual labels:  selection

Build status

Select Next Occurrence

Download this extension from the VS Gallery or get the latest CI-build.


This extension makes it possible to select multiple occurrences of a selected text for simultaneous editing with multiple cursors. Provides the most common multi-editing features.

Aims to replicate the multi-editing features of Sublime Text/Visual Studio Code for faster coding.

See the change log/roadmap for changes and Roadmap.

What differs this from the built-in multi-edit of VS 2019?

Feature Select Next Occurrence Visual Studio
Multiple cursors Yes Yes
Can undo cursor Yes Yes
Can select all occurrences Yes Yes
Can skip occurrence Yes Yes
Can select backwards/up Yes No
Can add caret above/below Yes No
Can add caret by mouse Yes No
Can convert selection to carets Yes No
Can search both case insensitive and exact Yes No, only exact
Multi copy/paste across files and to external programs Yes No
Supports VS 2019 Yes Yes
Supports VS 2017 Yes From v15.8
Supports VS 2015 Yes No
Multi-cursor IntelliSense No No

Features

  • Select next occurrence of current selection
  • Select next exact occurrence (overrides Find-dialog)
  • Select previous occurrence
  • Select previous exact occurrence (overrides Find-dialog)
  • Select all occurrences
  • Convert a selection into multiple cursors
  • Skip occurrence
  • Undo occurrence
  • Add caret above/below
  • Use multiple carets to edit
  • Add carets by mouse-clicking, press ALT and click to add a new caret or to remove caret/selection at clicked position
  • Copy/paste multiple selections, also to external programs

Select Next Occurrence


Options

  • Toggle case-sensitive search by using the "Match case" setting from the find-dialog (Ctrl+F)

  • Toggle match-whole word search by using the "Match whole word" setting from the find-dialog (Ctrl+F)

  • Options-dialog: Add cursors by mouse-clicking - true by default

  • Options-dialog: Keep caret on first entry - false by default, activates behaviour to keep caret on first entry when pressing escape

Select Next Occurrence Options dialog


Key-bindings

Go to Tools -> Options -> Environment -> Keyboard and search for these command names to edit at your choice. Make sure the Use new shortcut in is set to: Text Editor

Command (prefix SelectNextOccurrence.) Recommendation
SelectNextOccurrence Ctrl+D
SelectNextExactOccurrence
SelectPreviousOccurrence Ctrl+E
SelectPreviousExactOccurrence
SelectAllOccurrences Ctrl+K, Ctrl+A
SkipOccurrence Ctrl+K, Ctrl+D
UndoOccurrence Ctrl+U
AddCaretAbove Ctrl+Alt+Up
AddCaretBelow Ctrl+Alt+Down
ConvertSelectionToMultipleCursors Ctrl+Shift+I or Alt+Shift+I (vscode))

Select Next Occurrence Keyboard bindings


Troubleshooting

  • Nothing happens when pressing assigned keys

Check that the key-bindings are correct and that the Use new shortcut in is set to: Text Editor.

  • Nothing happens when ALT + left-clicking mouse button to add new caret, multiple edits are unresponsive

There is a possibility that other plugins use this functionality too, and a conflict occurs. Please check for other installed plugins with this feature and try to disable.

  • Copy/cut multiple occurrences doesnt work as expected

There is a conflict with the extension Copy As Html, if you have this enabled, try to disable it and see if this helps.


Contribute

Check out the contribution guidelines if you want to contribute to this project.

License

Apache 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].