Answer the question
In order to leave comments, you need to log in
How to set up exceptions in Sublime Text SFTP plugin?
I use the Sublime Text 3
editor. The SFTP plugin is installed in the editor ( https://wbond.net/sublime_packages/sftp).
In the config settings for the site, you can specify templates for the names of directories and files that do not need to be processed. Templates are specified in a Python-compatible format. But I can't seem to solve the specific problem. Namely:
- I need to exclude from processing the folder at the root with the name myfolder (along with its contents)
- but do not exclude other folders with the same name.
Now the config looks like this:
"remote_path": "/www/mysite.com/",
"ignore_regexes": [
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini",
"myfolder"
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question