Things
A simple tool to manage .code-profile
files, named vs-prof-tk
.
VS Code has a profile
When you export an existing profile to disk, you get a .code-profile
file (a nested JSON file).
For now, the tool can do two things:
extract
, to unpack a .code-profile
file into a specific folder,archive
, to pack a profile folder into a .code-profile
file.I have multiple profiles, and I want to easily compare them and write my own profiles by hand. One day I might add a “diff” command to the tool to have a better view of the differences of each profile, but for now here’s my workflow:
.code-profile
files)vs-prof-tk extract
to unpack the profiles in a folder
vs-prof-tk extract -i /work/Default.code-profile /work/extracted
.code-profile
file using vs-prof-tk archive
vs-prof-tk archive -i /work/extracted/Default /work/DefaultNew.code-profile
You need a recent version of Go.
If you use nix
, you can use the included shell.nix
file.
go build -o vs-prof-tk