Alternative
Amazon
Article
Writing
Art
AI
Angular
Photoshop
Premiere
Animal Crossing
Blog
Story
Android
Android Studio
Davinci Resolve
CSS
Clipchamp
ChatGPT
Crypto
DALL-E
Discord
Davinci Resolve
Davinci Resolve 18
Dream Studio
Express
Filmora
Flutter
PC Games
Git
GPT
GPT3
GPT4
GTA
GTA 6
Ghost Together
Ghost Together
HTML
iOS
iMovie
Illustrator
JavaScript
Mac
Mongo
Midjourney
Minecraft
Node.js
NBA 2k24
OSX
PHP
Palworld
Python
Playground AI
Roblox
React
Recipe (Cooking)
React Native
Semicolon.dev
Starfield PC Game
Snapchat
Steam
Stable Diffusion
SVG
Threads
Text To Image (AI)
VSCode
Vim
Web Development
Windows
WebGL
Vscode Tutorials

    Learn CSS Visually! Every single CSS property visualized in this pictorial CSS guide book!

    best css book for beginner web developers

    ⭐⭐⭐⭐ and 1/2⭐ - owned by over 27.1K readers.

    Get this CSS book in PDF format, on Amazon or start reading this css book on your Kindle device today!

    Shrink or Expand Text Selection (VS Code Keyboard Shortcut)

    viewed 1.7K times
    › tutorial › vscode › expand selection vscode keyboard shortcut

    First, check out this video, explaining how shrink and expand selection works in vscode:

    VSCode Keyboard Shortcut: How to Shrink or Expand Text Selection

    Let's Ghost Together
    Sign Up Now  -  It's Free!
    PlatformShortcut
    Windows Shift + Alt then left or right key.
    Mac shift + control then left or right key.

    It's possible to expand text selection around words and even nearest nested function scopes.

    If you already have a selection, oftentimes, your next step is to select the scope of the function your selection or cursor is currently in.

    This is helpful when you already have text selected but don't want to click mouse and drag a new selection.

    Note: This shortcut will intuitively lock into nested scopes as you expand or shrink the selection.

    It takes some time to get used to!

    shrink or expand selection

    This shortcut allows you to either expand or shrink selection around natural block scope checkpoints (see animation above.)

    On Windows, hold Shift + Alt and use keyboard left and right arrows. On Mac it's shift + control and the arrows. Left arrow shrinks selection, right arrow expands it.

    It will stop at key points in your JavaScript block scopes. It will also stop at CSS style scopes and be mindful of opening and closing HTML tags. It helps you to intuitively do what you would have done using the mouse, which saves a lot of time if you develop a habit for using it.

    11 Useful VSCode Keyboard Shortcuts

    Want to learn more useful VSCode Keyboard Shortucts? Click on image below!

    VSCode Keyboard Shortcuts

    (Clear, animated examples are included.)

    Final Words

    Many visual studio code keyboard shortcuts and key bindings are obvious whether you're on Windows 10, Mac or Linux - they are part of the standard set of shortcuts offered by many other text editors and IDE­s.

    But not all vscode shortcuts are useful, and some are hard to discover or guess. This guide focused on some of the less known but extremely helpful vs code keyboard shortcuts.

    Hopefully this tutorial helped you discover at least one new favorite shortcut!

    What If VS Code Shrink Selection Is Not Working On Mac OS X?

    1. If, like me, you use keyboard shortcuts in most of your editors, IDE's, and other productivity apps, make sure you don't have another application overriding your VSCode's shrink shortcut key combination.
    2. You might be shrinking a code block that isn't shrinkable. At least not right away. (Some blocks of code have deeper shrink hierarchy that isn't obvious at first. Try to shrink multiple times.
    3. Make sure you have the latest version of Visual Studio Code installed.

    Learn CSS Visually! Every single CSS property visualized in this pictorial CSS guide book!

    best css book for beginner web developers

    ⭐⭐⭐⭐ and 1/2⭐ - owned by over 27.1K readers.

    Get this CSS book in PDF format, on Amazon or start reading this css book on your Kindle device today!

    Other Davinci Resolve 18 tutorials: How To Merge Video Clips In DaVinci Resolve 17 or 18 DaVinci Resolve 18: How To Increase Brightness (Video Clip) How To Fade Out Video or Audio In DaVinci Resolve 18 (Quick Tutorial) DaVinci Resolve 18 How To Increase Video Clip Speed How To Download, Install & Activate Davinci Resolve Studio 18 or 18.5 (Upgrade From Free Version) How To Activate Davinci Resolve Studio 18 or 18.5 How To Move All Video Clips To The Right In DaVinci Resolve 18 (Quick Tutorial) How To Flip Video Clip Vertically and Horizontally in DaVinci Resolve 17 18 (How To Mirror Clip) How To Gradually Increase Video Clip Speed On A Curve In DaVinci Resolve 18 How To Fade Out Video In DaVinci Resolve 18 (Fade To Black Effect) How To Remove Watermark In Davinci Resolve 18 (Object Removal Tutorial) How To Speed Up Audio Track In DaVinci Resolve 18 (quick tutorial) How To Fade Audio In / Out In DaVinci Resolve (Gradually Change Volume Dynamically On A Curve) How To Crossfade Video In DaVinci Resolve 18 (2 different ways!) How To Split Video Clips In DaVinci Resolve 18 How To Fade In Video Clip In DaVinci Resolve 18 (Fade In From Black) How To Show, Transform and Move Anchor Point In DaVinci Resolve (It's off by default!) How To Crossfade Audio In DaVinci Resolve 18 How To Change Aspect Ratio In Davinci Resolve 18 To HD Square, Vertical Or 9:16 (Mobile) How To Add Watermark In DaVinci Resolve 18 (quick tutorial) How to Change Aspect Ratio in Davinci Resolve 18 Square And Portrait Mode Tutorial How To Increase Speed of a Video Clip Segment In DaVinci Resolve 18 Davinci Resolve 18 Waveform Is Not Showing Up On Audio Track (Quick Fix) How To Change Aspect Ratio In Davinci Resolve | Change Video Resolution Tutorial How To Use Green Screen In DaVinci Resolve 18 (Fastest Tutorial) How To Change Resolution In Davinci Resolve 18 To Vertical 9:16 Adjust Volume In Davinci Resolve 18 How To Track An Object In Davinci Resolve 18 (Quick Tutorial) DaVinci Resolve Rewind Effect (play video backwards) Davinci Resolve 18 Tutorial For Beginners 2024 How To Fix Waveform Not Showing Up In Davinci Resolve 18 How To Add Automatic Subtitles In Davinci Resolve 18 (Convert Audio To Text) How To Separate Audio Track From Video Track In DaVinci Resolve 18 How To Add Subtitles In Davinci Resolve 18 (Transcribe Closed Captions From Audio) Davinci Resolve 18 Dynamic Zoom Tutorial How To Track Object In Davinci Resolve 18 In 2 Minutes How To Open Project Settings In Davinci Resolve 18 How To Remove Green Screen In Davinci Resolve 18 or 18.5 DaVinci Resolve How To Zoom Out Davinci Resolve 18 How To Zoom In and Zoom Out Using Dynamic Zoom How To Remove Sound From Video In Davinci Resolve 18 How To Remove Sound From Video In Davinci Resolve 18 (Remove Music, Save Without Sound) DaVinci Resolve 18 - How To Zoom In And Out On Timeline (and resize track height) Complete Guide To Davinci Resolve 18 Timeline Zoom In and Out Feature
    Let's Ghost Together
    Sign Up Now  -  It's Free!

    Articles Related To Undefined Community

    Last 10 Articles Written On Ghost Together

    Last 10 Undefined Questions Asked On Ghost Overflow

    Other Websites

    Jeep Windshield Decals | loom craft | etsy alternative | craigslist alternative | instagram alternative | discord alternative | reddit alternative | x alternative
    Write For Us
    Sign Up Now  -  It's Free!

    Shrink or Expand Text Selection (VS Code Keyboard Shortcut)

    Comments (2) New! (You can now post comments on articles!)

    (By posting a comment you are registering a Ghost Together account.)
    Register
    Register
    Post It
    DM Coming Soon
    f f