An extension that opens a random file from the VS Code file explorer.
This is useful when you want to randomly open notes from your Zettelkasten or similar knowledge bases.
Features
Context Menu: Right-click a folder and select "Feel Lucky" to open a random file from within that folder (including subfolders).
Shortcut Key: Execute with Cmd+Shift+R (Mac) / Ctrl+Shift+R (Windows/Linux).
If a folder is selected in the explorer, it targets that folder (Note: A dialog selection might be required for the first time).
If you are working in the editor, it opens a random file from the previously selected folder.
If there is no history, a folder selection dialog will appear.
Usage
Right-click a folder in the explorer and select "Feel Lucky".
Or, press Cmd+Shift+R / Ctrl+Shift+R.
Installation
Search for "Feel Lucky" in the VS Code Marketplace and install it.