Quick-open files in VSCodium / VS Code

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

Dunno why I haven't found this till now.  I have many many files in my project now.

129 = C/H source (game logic — main/, excluding cave_data & generated files)
 20 = 6502 DASM assembly (banks + driver includes + kernels)
 54 = Python tooling scripts (tools/, main/tools/, gfx/tools/, main/spinningGlobe/)
140 = Graphics assets (PNG/JPG/BMP, excluding cave_data previews)
----
343 - Total code + graphics source


In the project tree these are variously nested in subdirectories, and I often finding myself scrolling back and forth "where did I put that?".  Only just now I realised there's a shortcut to all that.

Cmd-P and then type the filename. As you type, you get a realtime list of all the project files that match what you've typed so far. And you can arrow-down and select at any time if you see the file. It's super quick and would have saved me a lot of time had I known this.

Well, now you do know.