Today I Learned

tags


2021/07/14

that Cmd+D selects the next occurence of the currently-highlighted text in VS Code! Thanks to Mark Brewer for teaching me this!


2021/10/02

that you can hold shift+alt (linux) or shift+opt (mac) and click to select box of rows and columns in VS Code. See https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_column-box-selection


2022/10/10

How to avoid opening live-share sessions in the web vscode version that I hate: https://learn.microsoft.com/en-us/visualstudio/liveshare/quickstart/browser-join#joining-from-the-desktop


2023/07/10

That in vscode, you can make your keypresses display on-screen using the “Developer: Toggle screencast mode” command.


2023/09/09

To add JSON schema validation to e.g. Cargo.toml files in VSCode using tamasfe.even-better-toml, you can add a special comment:

#:schema https://json.schemastore.org/cargo.json
# see https://taplo.tamasfe.dev/configuration/directives.html#the-schema-directive

That there’s such a thing as “canadian compilation”:

If build, host, and target are all the same, this is called a native. If build and host are the same but target is different, this is called a cross. If build, host, and target are all different this is called a canadian (for obscure reasons dealing with Canada’s political party and the background of the person working on the build at that time).

https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html


2023/10/03

That out of ~51672 extensions on the VSCode marketplace, there are only 31 that are marked as commercial software: “Trial” rather than “Free”.

#dateextensionpublisherlicensekind
12020-04-18RedisWeijan ChenMITdb
22020-04-21SSH ClientWeijan ChenMITdb
32020-05-05MySQLWeijan ChenMITdb
42021-01-27ElasticSearchWeijan ChenMITdb
52021-01-27PostgreSQLWeijan ChenMITdb
62021-02-05Database ClientWeijan ChenMITdb
72021-06-20JS Refactoring AssistantP42MITai
82021-06-29GitHub CopilotGitHubcommercialai
92021-11-22Local CILocal CIGPL-2tool
102021-12-01SQl Server Client(mssql)Weijan ChenMITdb
112022-01-18DVT IDE for Visual Studio CodeAMIQ EDA s.r.l.commercialtool
122022-06-27TestExtensionPrashantexperiment
132022-11-09GitHub Copilot VoiceGitHubcommercialai
142022-11-25UPG Code Generator for VS CodeGPT Labscommercialai
152022-12-14SkyCodesingularity-aicommercialai
162023-01-01Software Testing AISoftware Testing AIai
172023-01-06arandomthemeMiloTiloexperiment
182023-01-19CodeAssistCodeAssistai
192023-01-27DuckDB Sql ToolsRandom Fractals Inc.commercialdb
202023-03-28Polyverse Boost AI: Complexity SimplifiedPolyverse Corporationcommercialai
212023-04-12Merlin: GPT Assistant for VS CodeSpellcraftcommercialai
222023-04-27GitHub Copilot ChatGitHubcommercialai
232023-07-03GrapplGrapplcommercialtool
242023-07-16BaskSciouscommercialdsl
252023-07-17Data SyncNguyen Ngoc LongMITdb
262023-07-19FnMapyicode.techGPL-3tool
272023-08-10TaskfyTaskfycommercialtool

The paying for use of an extension is usually predicated on using a remote API (i.e. remote LLM services) using a paid API key or a subscription associated with an OIDC identity (e.g. a GitHub user account). Most common yet is no monetization scheme, which is understandable – setting up payments isn’t trivial. However, occasionally monetization schemes occasionally appear:

extensionpublisherlicensepayment
Database ClientWeijan ChenMITOn site, with API call for subscription check
DuckDB Sql ToolsRandom Fractals Inc.commercialGitHub sponsors (probably not checked)
Data SyncNguyen Ngoc LongMITvarious sponsors (probably not checked)
DVT IDEAMIQ EDA s.r.l.commercialOn-site license purchase
Local CILocal CIGPL-2subscription on website; issues license keys

2025/02/14

That VSCode has a “profiles” mechanism that allows bulk management of settings: https://code.visualstudio.com/docs/editor/profiles. These will make a fine addition to my dotfiles!


2025/05/09

Clicking “Debug Test” in VSCode doesn’t use the configuration in launch.json: https://github.com/golang/vscode-go/wiki/debugging#:~:text=the%20%22debug%20test%22%20codelens%20and%20the%20test%20ui%20do%20not%20use%20the%20launch.json%20configuration


2025/11/01

That gopls can emit UI hints about escape analysis: https://github.com/golang/vscode-go/wiki/settings#uidiagnosticannotations