Skip to main content

Python command line application to backup IDE / code editor settings.

Project description

snit

License: MIT Code style: black

Python command line application to backup IDE / code editor settings. Currently only VSCode is supported.

Motivation: I have most of my projects in Github, but don't want to put editor settings there. This lets me save the important information in launch.json, settings.json, to some central location.

Project Features

  • Simply copies files to given destination
  • files are numgered sequentially, like old-school VMS
  • files are compared so only changed files are backed up.
  • numbering preserves the extension so the OS still recognizes the file type.

Alternatives

VSCode offers settings sync, but not for workspaces, only for user settings.

Git, Hg, etc. seem too heavy.

Installation

$ pip install snit

Usage

$ snit [OPTIONS] COMMAND

Options:
   -a, --archive PATH    Specify the directory for the archive.  Can be set with
                         the SNIT_DIR environment variable.  [required]
   --help                Show this message and exit.

Commands:
    backup  Backup editor settings.  
    list    List any found backups.  

Example:

(Windows, with SNIT_DIR set)

D:\Code\MyBigProject>snit backup

Copies workspace settings to $SNIT_DIR\D__Code_MyBigProject\vscode

ToDo

Verify Unix compatibility.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snit-0.1.1.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

snit-0.1.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page