<< A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

–A–

–B–

backwards scrolling in the terminal, how far? - see terminal integrated scrollback - aka: how many lines back in the terminal can you scroll?

–C–

comment out code block

–D–

–E–

–F–

F8 button stops working – this problem started after I ran Visual Studio Code as a different user. When I went back to my normal user, F8 no longer ran selected code. I went back to VSC as that other user, F8 still worked fine. When I went back to my normal user again, then it worked OK. F8 does the same thing as going to the top menu → Terminal → Run Selected Text.

–G–

–H–

how far back can you scroll in the terminal? - see terminal integrated scrollback - aka: how many lines back in the terminal can you scroll?

–I–

integrated console - From the Command Palette (Ctrl+Shift+P), use the View: Toggle Integrated Terminal command.

–J–

–K–

–L–

lines you can go back in terminal - see terminal integrated scrollback - aka: how many lines back in the terminal can you scroll?

–M–

–N–

–O–

–P–

–Q–

–R–

–S–

scroll backwards in the terminal, how far back can you? - see terminal integrated scrollback - aka: how many lines back in the terminal can you scroll?

settings, open - Ctrl+,

settings file location - %APPDATA%\Code\User\settings.json (often C:\Users\\AppData\Roaming\Code\User)

but usually can get to this by simply opening settings

–T–

terminal integrated scrollback - aka: how many lines back you can see

Fill → Preferences → Settings

Then search for terminal.integrated.scrollback.

default is 1000.

–U–

update fails

Usually Visual Studio Code automatically looks for the newest versions of various modules. When you agree to update, it might issue the following command

powershell.exe -NoLogo -NoProfile -Command 'Install-Module -Name PackageManagement -Force -MinimumVersion 1.4.7 -Scope CurrentUser -AllowClobber'

On Windows Server machines, sometimes returns

No match was found for the specified search criteria and module name 'PackageManagement'. Try Get-PSRepository to see all available registered module repositories.

I don't find this so much on Windows 10 PCs. Anyway, following the suggestion from the error message above

Get-PSRepository

will likely return

WARNING: MSG:UnableToDownload "https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409" WARNING: Unable to download the list of available providers. Check your internet connection.

and

Ping https://www.powershellgallery.com/api/v2

will return

Ping request could not find host https://www.powershellgallery.com/api/v2. Please check the name and try again

To fix (from here), run this:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

if you simply run

[Net.ServicePointManager]::SecurityProtocol

before running the command to reassign its value above, it might return

Ssl3, Tls

whereas after you run that command to reassign its value above, it will return

Tls12

curiously, if you close your session and then re-run that same command to find out what security protocol you're running, it'll likely return the old result - as if you'd never run the command to correct. So, it seems this change only persists for your session. Anyway, once you run this command to fix the security protocol, the ping command will still fail, but at least now you can update OK.

–V–

–W–

word wrap - open settings (Ctrl+,), search for wrap, toggle

–X–

–Y–

–Z–

zoom - bigger: Ctrl+=, smaller: Ctrl+-