/vscds

VS Code Data Swapper

Primary LanguageNimMIT LicenseMIT

VS Code Data Swapper

This console app takes advantage of VS Code Portable Mode to make your VS Code Environment more Organized.

※ Currently only tested on Windows 10!
※ Currently it does not work on MacOS!

What it does

It simply swaps data folder!
see VS Code Portable Mode

Installing

using nimble:

nimble install vscds

How to use

  1. install vscds
  2. run vscds using a terminal
  3. configure settings.json
  4. run vscds and enter help or ? for help

Settings

settings.json

// Command for starting VS Code.
// (Uses startProcess())
"vscodeRunCommand": "code",

// Command for Revealing VS Code directory.
// (Uses execCmd())
// (If a explorer.exe is launched successfully, it returns  exit code 1)
"vscodeRevealCommand": "explorer \"D:\\My Apps\\VS-Code\"",

// Location of the VS Code executable.
"vscodePath": "D:\\My Apps\\VS-Code",

// Inactive data folders will be stored inside this folder.
"inactiveFolderName": "data-inactive",

// Currently active Data name.
// (If it becomes inactive it will be renamed and moved to '<VS Code Path>/data-inactive/nim')
"currentDataName": "nim"

Features

  • CMD: Show help.
  • CMD: Open settings file.
  • CMD: Swap data folder.
  • CMD: Create data folder.
  • CMD: Delete data folder.
  • CMD: Rename data folder.
  • CMD: List all data folders.
  • CMD: Run VS Code.
  • CMD: Reveal VS Code directory in explorer.

TODO

  • ADD: MacOS Support(?).
  • FIX: Exterminate bugs.

Change Log

CHANGELOG.md