Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems when a symlink to a template is broken #7

Open
fkusche opened this issue Nov 10, 2019 · 0 comments
Open

Problems when a symlink to a template is broken #7

fkusche opened this issue Nov 10, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@fkusche
Copy link

fkusche commented Nov 10, 2019

This is a follow up to my "question" in the vscode marketplace.

I am using this version of vscode:

Version: 1.40.0 (user setup)
Commit: 86405ea23e3937316009fc27c9361deee66ffbf5
Datum: 2019-11-06T17:02:13.381Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
Betriebssystem: Windows_NT x64 10.0.18362
(Should be the normal Windows version)

I have my templates under version control, so I create a symlink like this from my vscode-settings to my versioned templates:
New-Item -Force -Path ( Join-Path $env:APPDATA "Code\User\globalStorage\3axap4ehko.file-templates-manager\Python.py" ) -ItemType SymbolicLink -Value C:\own\etc\code\FileTemplates\Python.py | Out-Null

This works well, unless I delete (or rename) the destination of the symlink. Then, the "Templates" explorer will be empty, when I start vscode and actions like the refresh button show error messages in the lower right.

@3axap4eHko 3axap4eHko added the enhancement New feature or request label Nov 19, 2019
@3axap4eHko 3axap4eHko self-assigned this Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants