gerardroche / sublime-sesame Goto Github PK
View Code? Open in Web Editor NEWA quick way to open, add, switch, and remove projects and folders.
Home Page: https://blog.gerardroche.com
License: GNU General Public License v3.0
A quick way to open, add, switch, and remove projects and folders.
Home Page: https://blog.gerardroche.com
License: GNU General Public License v3.0
Hi, thanks for Sublime-Sesame, I use it daily. I'm using Sesame to switch to different projects. I think it would be nice to then use Sesame to jump to a folder inside a project. E.g.: Open command palette, choose "Sesame Go To", type wp-content/themes/my-theme/resources/js/components
I guess what I want is basically the "Go to anywhere" (Command + P) Sublime functionality, except with folders.
Is it doable? Would it be worth a pull request?
Hi,
this week open
command started working the same way as switch
. It doesn't open new window, but changes current one. Happened on multiple macs, restart didn't help.
With setting "open-sesame.projects_path": "~/code"
and:
<code>
project/a/
project/b/
a/file.txt
another/file.txt
The above will prompt to open:
project/a
project/b
a/file.txt
another/file.txt
project/a
project/b
Good to have an option to show only git repositories.
I can not set path to my projects.
D:\Sublime Text 3 x64
sublime-project
and sublime-workspace
files โ D:\Sublime Text 3 x64\Data\Packages\User\Projects
.PROJECTS_PATH = D:\Sublime Text 3 x64\Data\Packages\User\Projects
User/Preferences.sublime-settings
"open-sesame.projects_path": "PROJECTS_PATH",
"open-sesame.projects_depth": 1,
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I install Open Sesame โ I restart Sublime Text โ I open any file in Sublime Text โ Ctrl+Shift+P (โโงp for Mac) โ Open Sesame: Add Project Folder
.
Successful add a project to the active window.
command: open_sesame_add_folder
Traceback (most recent call last):
File "D:\Sublime Text 3 x64\sublime_plugin.py", line 797, in run_
return self.run()
File "plugin in D:\Sublime Text 3 x64\Data\Installed Packages\open-sesame.sublime-package", line 45, in run
File "plugin in D:\Sublime Text 3 x64\Data\Installed Packages\open-sesame.sublime-package", line 78, in find_folders
ValueError: PROJECTS_PATH must be a valid directory
If
"open-sesame.projects_path": "./Projects",
I get similar stack trace:
command: open_sesame_add_folder
Traceback (most recent call last):
File "D:\Sublime Text 3 x64\sublime_plugin.py", line 797, in run_
return self.run()
File "plugin in D:\Sublime Text 3 x64\Data\Installed Packages\open-sesame.sublime-package", line 45, in run
File "plugin in D:\Sublime Text 3 x64\Data\Installed Packages\open-sesame.sublime-package", line 78, in find_folders
ValueError: ./Projects must be a valid directory
I try set path to my Projects
directory use Sublime Text Build System variables โ I get similar behavior.
Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126
Package:
I use the latest stable version of this package for Sublime Text 3
Thanks.
Directories containing characters like $
cause a RuntimeError
.
Given setting "open-sesame.projects_path": "~/code" and:
<code>
vendor_a/project_a/
vendor_b/project_b/
vendor_$_c/project_c/
vendor_d/project_$_d/
RuntimeError
Traceback (most recent call last):
File "/home/user/sublime_text_3/sublime_plugin.py", line 535, in run_
return self.run()
File "/home/user/.config/sublime-text-3/Packages/open-sesame/plugin.py", line 36, in run
self.open(path)
File "/home/user/.config/sublime-text-3/Packages/open-sesame/plugin.py", line 39, in open
self.quick_panel_list = self.get_quick_panel_list(path)
File "/home/user/.config/sublime-text-3/Packages/open-sesame/plugin.py", line 95, in get_quick_panel_list
raise RuntimeError('Invalid path name in path')
RuntimeError: Invalid path name in path
At least to prompted to open:
vendor_a/project_a
vendor_b/project_b
Re: #5 (comment)
When sesame.path contains one non-existent directory, the other valid paths are ignored altogether.
It would be nice if Sesame would be more tolerant and still process the remaining valid paths, like FuzzyFileNav does.
I use the same .sublime-settings file on two computers, where not every machine has the same folders.
Preface: I've configured my Menu > Preferences > Settings
correctly with "sesame.path": "~/projects"
confirming the path is correct.
When I select Sesame: Open
from the command palette, I get this message ("Sesame: No projects found") in the status bar at the bottom of Sublime.
(The same thing happens when executing the keyboarding binding I've set up for sesame_open.)
I'm not sure if I understand its functionality correctly, but I'm trying to open a new window with the current project like Project > New Workspace for Project
does.
Regardless, I presume something should be happening. Am I missing something?
Great plugin, but is there any way to turn off recursive indexing? I have all my projects nested under ~/Projects/ but the autocomplete is finding things I don't really want, deep in the project folder hierarchy. It also won't let me open an empty folder.
I just installed sesame on sublime text 3176. Trying to open a new project, nothing happens and I instead see the following error in my sublime text console:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1036, in run_
return self.run()
File "/Users/<me>/Library/Application Support/Sublime Text 3/Installed Packages/Sesame.sublime-package/plugin.py", line 59, in run
File "/Users/<me>/Library/Application Support/Sublime Text 3/Installed Packages/Sesame.sublime-package/plugin.py", line 160, in _find_folders
TypeError: int() argument must be a string or a number, not 'NoneType'
First of: Thanks for Open Sesame, it's a great idea and a nice plugin! :)
One thing, though: Most of my project folders have a |
pipe symbol in the name, for example EN | 2017 | Project
(I know, it's terrible, but my employer chose this ยฏ_(ใ)_/ยฏ), and these Folders do not show up in the Open Sesame overview.
Can this be fixed? <3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.