BigFont Blog
  • Home
  • About
  • Bibliography (Work)

vscode

A collection of 5 posts

dotnet-core

Attach VS Code to dotnet test

First, run dotnet test from a terminal. Then open the VS Code command palette. Choose Debug: Select and Start Debugging. Debug: Select and Start DebuggingNext choose .NET Core Attach. .NET Core AttachFinally, attach

  • Shaun Luttin
    Shaun Luttin
1 min read
vscode

Clear your VS Code User Session

VS Code caches a lot. That's helpful but is sometimes a pain. Here is how to clear the workspace / user session session, which, among other things, remembers your recently opened files. Bash in

  • Shaun Luttin
    Shaun Luttin
1 min read
vscode

Allow VSCode through WSL Firewall

As far as I can tell, VSCode's Remote - WSL service connects over port `41261`. So, we can allow it through the Firewall like this: sudo ufw allow 41261 comment 'VSCODE'

  • Shaun Luttin
    Shaun Luttin
1 min read
Use a regular expression in VS Code's find/replace to replace && with JavaScript's optional chaining
vscode

Use a regular expression in VS Code's find/replace to replace && with JavaScript's optional chaining

In December 2019, optional chaining went to TC39 stage 4. Here is a regular expression to replace most instances of foo && foo.bar and baz && baz() with optional chaining.

  • Shaun Luttin
    Shaun Luttin
1 min read
code

Rename Symbol vs Change All Occurances

Rename Symbol Works across files. Operates on symbols; therefore, requires language support (e.g. C# supports this). Change All Occurrences Works in the currently open file. Operates on text; therefore, does not require

  • Shaun Luttin
    Shaun Luttin
1 min read
BigFont Blog © 2022
Latest Posts Ghost