Git Product home page Git Product logo

vscode-quick-select's Introduction

vscode-quick-select

Yes I know about the ⌃⇧⌘← and ⌃⇧⌘→ expand/shrink selection. Having come from VIM I think these are still missing.

It now supports multilines automatic selection, matching correctly.

NEW: you can also now toggle single/double quotes

See the examples below.

Installation

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension. Select the Quick and Simple Text Selection extension from the list

Manual Install

Mac & Linux

cd $HOME/.vscode/extensions

Windows

cd %USERPROFILE%\.vscode\extensions

All Platforms

git clone https://github.com/dbankier/vscode-quick-select.git
cd vscode-quick-select
npm install

Usage

Here some examples - and it supports multiple selections.

In the examples below use CTRL instead of for Windows.

k "

doublequotes

k '

singlequotes

NEW: You can also use this following shortcut to select either single, double quotes or backticks

k ;

NEW: You can also use this following shortcut to toggle quotes, e.g. "word" to 'word'

k :

NOTE: the extensions can be configured to exclude backticks from selection or switching

k `

singlequotes

k ( and k [ and k {

Using the following performs and outer selection:

k ) and k ] and k }

Or if you have already made in inner selection, use the same key combination again to expand to an outer selection.

brackets

k <

This also selects the matching tag.

k >

This matches the tag value.

brackets

Customisation

extension.selectSingleQuote
extension.selectDoubleQuote
extension.selectEitherQuote
extension.switchQuotes
extension.selectParenthesis
extension.selectBackTick
extension.selectSquareBrackets
extension.selectCurlyBrackets
extension.selectParenthesisOuter
extension.selectSquareBracketsOuter
extension.selectCurlyBracketsOuter
extension.selectAngleBrackets
extension.selectInTag

License

MIT © David Bankier @dbankier

vscode-quick-select's People

Contributors

dbankier avatar chancesmith avatar huafu 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.