Introducing Code Modes
Lately, I've been finding myself showing/hiding folders/files again and again depending on what I am doing. To make this easier, I created a VSCode extension called Code Modes.
SiddharthShyniben / code-modes
Change your file tree based on what mode you are in!
Code Modes (for VSCode)
Change your file tree based on what mode you are in
Explore the docs
Report Bug Request Feature
Table of Contents
About The Project
Ever found yourself going to the settings to show/hide folders/files again and again depending on whether you are Git debugger man or Configuration man? This extension does exactly that, hiding/showing folders/files depending on what you are doing.
Getting Started
To install the extension follow these simple steps.
Prerequisites
You need VSCode installed.
Installation
- Open the extension sidebar panel in VSCode
- Search for
code-modes
. (Be sure to find the right one!) - Click install to install it.
OR
- Clone this repo
cd
(fcd
?) into it- run
code --install-extension code-modes-1.0.0.vsix
Usage
This extension exposes a command and a status bar item
Use the command Code Modes: Change mode
Basically, there are a bunch of modes, which you can choose. When you are in a certain mode, certain files get excluded from the file tree.
For now, the extension is very basic (I made it in 1 day and I had the most amazing feeling when it worked bug-free) and there is no way to add custom modes, etc.
If you have any suggestions for any modes, feel free to comment!
Original Link: https://dev.to/siddharthshyniben/introducing-code-modes-13h7
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To