Cheatsheet VS Code Extension
Quickly search and view markdown cheatsheets directly from the VS Code sidebar.
Features
- Sidebar Browser: A dedicated activity bar icon to browse all markdown files.
- Markdown Preview: Click any document to instantly view its rendered version.
- Quick Search: Focus the sidebar list and start typing to filter the available cheatsheets.
- Keybindings: Use
cmd+shift+c to quickly open and focus the Cheatsheet sidebar.
Getting Started
Development & Testing
- Open the workspace in VS Code.
- Press
F5 to launch the Extension Development Host.
- Click the Cheatsheet icon in the sidebar (Activity Bar) of the new window.
Structure
extension.js: Main logic for the sidebar tree view and file-opening commands.
package.json: Extension manifest and layout contribution.
docs/: Folder where markdown cheatsheets should be placed.
Publishing
The way to publish is via the Web UI:
- Install: Install the npm package
vsce by running npm install -g vsce.
- Package: Run
vsce package. This generates a .vsix file.
- Upload: Go to the Marketplace Management Portal and upload the
.vsix file.
| |