riotbit Posted November 16, 2014 Posted November 16, 2014 Lists all Sublime projects on your disk and lets you open a choosen one. Usage sub {query} The matching of query is fuzzy. Download https://github.com/riotbit/sublimeprojects-workflow
40-02 Posted November 21, 2014 Posted November 21, 2014 I got error. What it can be? Last alfred, st3
riotbit Posted November 22, 2014 Author Posted November 22, 2014 The problem should be fixed now 40-02 1
deanishe Posted November 23, 2014 Posted November 23, 2014 (edited) Rather than encoding the query back to UTF-8, it'd be better to run the results of subprocess.check_output() through Workfow.decode().The issue is that there are multiple ways to represent, say, ü in Unicode (and UTF-8), and Python considers them unequal. Python uses a different representation than OS X by default.It's therefore possible for a user to enter, say, motörhead but it won't match a file called Motörhead.sublime-project. Workflow.decode(), which is automatically called on Workflow.args, ensures everything uses the same representation. Edited November 23, 2014 by deanishe
riotbit Posted November 23, 2014 Author Posted November 23, 2014 (edited) Rather than encoding the query back to UTF-8, it'd be better to run the results of subprocess.check_output() through Workfow.decode(). Done and thanks for your help as well as for this article. Edited November 23, 2014 by riotbit
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now