-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sesame_open does nothing #12
Comments
Hmm. Are you projects located at With:
This should display a select list with the four projects above. |
I think there is confusion between Sesame projects and Sublime projects. They Sesame only provides an easy way to access folders or "projects" on your system. For example, let's say you organise your projects folders like so:
With that folder structure for your projects you can set:
And then when you run Sesame: Open it will prompt you with a list of your
If you prefer to organise your project folders at a single level you can set the
And setting the depth to 1:
Now running Sesame: Open will prompt you with a list at a single depth:
I hope that helps. |
Sorry, I missed your reply a year and a half ago. Thanks for revisiting this issue. The functionality you describe is exactly what I'm trying to achieve, and I think I'm using the plugin as intended. ‾\(ツ)/‾ I've got the following file structure: ~/Code/projects % ls
test.sublime-project test.sublime-workspace ...and two different configuration attempts in my "sesame.path": "~/Code/projects/",
"sesame.depth": 1,
"sesame": {
"path": "~/Code/projects/",
"depth": 1,
}, No combination of these work individually either, FYI. I just listed everything I've tried. With and without depth, different depth values, nested JSON, etc. And when I As an alternative, I started using an Alfred file filter workflow to search my "~/Code/projects" directory for "*.sublime-project" files in order to achieve this functionality, so this isn't super important to me now. 😬 I have a knack for finding edges cases, so if no one else is seeing this, I'd probably just close the issue. Thanks again. |
Ah yes, move both
Sesame looks for folders, it won't pickup With the test project above and a depth of 1, Sesame will prompt with one
If you have the following with a depth of 2:
Sesame will prompt:
If the folder contains a |
I tried that just now. I can't get it to work. I might need to restart Sublime or something, but it's not happening for me. Sorry to be a pain. I'm sure it's user error. |
@joelmellon Did you ever get it working? I wrote a blog post which may help: https://blog.gerardroche.com/2023/05/19/sesame-a-sublime-text-plugin/ |
I just ran into a similar issue. I am on windows and set my sesame.path to If I change sesame.path to
Just getting started with Sublime Text. Looking at https://www.sublimetext.com/docs/settings.html#settings-files I don't see anything like a I guess technically I could omit the Appreciate your time. |
You can ignore this entire comment. After working on linux all day today with |
@mike2hex no worries. Glad you got it working, and for the information.
You could leave the setting in sublime blank and set the PROJECTS_PATH environment variable on each system. Example: For Windows users: You can set environment variables for each user separately through the System Properties dialog box. The steps to do that:
Please keep in mind that to activate these changes, you will be required to restart Sublime Text and, in some cases, reboot your system.
OS specific settingsWe could maybe provide some way of configuring sesame for different operating systems too because I can see how this could be difficult. I don't personally switch between linux and windows systems so haven't been faced with this problem. But I don't think this is an issue unique to sesame. I think you will have similar issues with other plugins. For instance, I've faced the issue where I want different
And then have git ignore those files: https://github.com/gerardroche/sublimefiles/blob/master/.gitignore#L33 I then set two different ui scales in those. The downside is they are not version controlled, but once I had the Note that you don't actually need different setting files, you could just as easily use one, e.g. You can use os specific settings files in packages, so you could create one package with three different os specific settings, with a default fallback:
Here are the docs on sublime settings: See https://www.sublimetext.com/docs/settings.html I would recommend prefixing any custom packages that use with "User" to avoid clashing with any package names in package control. |
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?
The text was updated successfully, but these errors were encountered: