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.
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
includeWalkusesos.walkwhich by default doesn't follow symlinks, ie.:snippets/__init__.py
Line 66 in ceb917b
changing that to:
os.walk(dir, followlinks=True)will fix this.