Skip to content

Symlinking personal directory in snippets directory doesnt allow snippets to be run #61

@KarlVogel

Description

@KarlVogel

If you create a symlink in the snipets directory to some other directory, the editor will show the snippets in the symlinked dir, but you can't execute any of them (no error shown either). Issue is that the includeWalk uses os.walk which by default doesn't follow symlinks, ie.:

for (root, dirs, files) in os.walk(dir):

changing that to: os.walk(dir, followlinks=True) will fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions