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

Extension causes file lock. #1522

Closed
Kazii78 opened this issue Jul 14, 2024 · 1 comment
Closed

Extension causes file lock. #1522

Kazii78 opened this issue Jul 14, 2024 · 1 comment

Comments

@Kazii78
Copy link

Kazii78 commented Jul 14, 2024

OS: WIndows 11
Installed extension: Datapack Helper Plus by Spyglass (v4.1.2) (with syntax-mcfunction (v1.0.0))

Messing around your workspace for a while, causes the extension to hold your files (mostly folders) in a lock.
Renaming, moving (the most common issues) will not go through and end up in an EPERM error after a couple minutes.

I cannot tell the reproduction steps as I have no idea as to what's causing it.
However, I suspect that if you mess around in a folder, add some files, rename, delete, just mess with it,
then try to rename it, it will cause that. I'm unsure.

It might correlate to the whole extension freezing, it breaks syntax highlighting, auto-completion and syntax detection.

This has been going on for past versions and I'm unable to fix it.

renaming
This will sit here for a couple minutes, then end up in an

error
EPERM error.

Error: EPERM: operation not permitted, rename 'path a' -> 'path b'

I've tried general troubleshooting steps like running VSCode as administrator.
Nothing has worked as of now.

EDIT 1: Reloading VSCode immediately after renaming will allow the rename to go through. Not very practical though.

@misode
Copy link
Member

misode commented Jul 14, 2024

Duplicate of #1414

@misode misode marked this as a duplicate of #1414 Jul 14, 2024
@misode misode closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants