Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

allow setting the storage path #3

Open
sheldonhull opened this issue Jul 22, 2020 · 1 comment
Open

allow setting the storage path #3

sheldonhull opened this issue Jul 22, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sheldonhull
Copy link

First, thanks for this great project!

export function getSoftwareDir(autoCreate = true) {

  1. I believe forward slash is valid for windows paths, as all my scripts typically use forward slash to be cross compatible with Linux, MacOS, and Windows.
  2. The storage path is fixed to the user home directory. This caused me some initial confusion as I was trying to indentify the path the log was stored to make sure it was backed up. In my case, I have a home/work pc and assumed this was stored in the extension data that is backed up, which it doesn't seem to.

Consider allowing this to be set for target path, so that I could use: C:\Users\username\AppData\Roaming\Code - Insiders\User\. Not sure if this would be globalStorage, workspaceStorage, or if you can create your own directory in there, or what.

For those using the sync extension, or the new visual studio code insiders preferences sync, this would ensure the log is backed up as part of that.

@dillon-sftw dillon-sftw self-assigned this Jul 28, 2020
@shreyshah33 shreyshah33 self-assigned this Jul 28, 2020
@shreyshah33 shreyshah33 added the enhancement New feature or request label Jul 30, 2020
@shreyshah33
Copy link
Collaborator

Thanks for creating this issue! We currently back up data using your software account so that it is accessible across multiple devices and editors. However, I think this is a great idea and can see how it could be useful. We’re going to look into adding this as a feature in V2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants