← All articles
development

VSCode New File Shortcut Stops Working

VS Code's CMD+N (New File) shortcut suddenly stopped working. The fix: reload the language plugin (Dart, in my case) causing the conflict.

Donn Felker

Donn Felker

2018.11.29 · 1 min read · updated January 21, 2020

VS Code started reporting this error recently any time I pressed CMD+N (New File):

command '-workbench.action.files.newUntitledFile' not found

The root cause of this issue was that the Dart language plugin needed to be reloaded. I assume this might also be the case for any other language plugin that is installed. If shortcut keys stop working, try checking your plugins and reloading them.

Donn Felker

Written by Donn Felker

I've spent 25+ years shipping software, writing books, and running my own companies. I write about thinking clearly, working for yourself, and doing real work while AI rewrites the rules. New essays land here every week.

Get the newsletter

Keep reading