Sublime Forum

A neater Project Manager

#21

Yeah. Would you prefer if I open an issue an GitHub? I just didn’t want to make it sound like a demand or anything.

But I think leaving the project and workspace files within the appropriate projects and creating an index under User that PM relies on to locate them would solve all issues. And possibly bring about world peace. (But I could be wrong about this last one.)

Is there something you’re worried about this scheme?

Atom is interesting. I was jealous when it first came out in OSX, as I’m a Linux user by choice and Windows user at work. But even now that has been released for other platforms, I haven’t even tried it (though I will, at some point). I really like Sublime, warts and all.

I’m currently on the market for a CMS for a small project and I’m looking into Statamic, because it’s a flat file CMS. Which, basically, translates into spending more time in Sublime while building the site. I’m that sad :smile:

0 Likes

#22

I finally have some time to implement this “import” feature. Have a look of the latest github commit. It should do what you are expecting.

0 Likes

#23

Cool. This is probably the better way of doing it. Given your implementation there might be an issue with paths on different machines. It’s hard to tell because I had my two other laptops stolen a few weeks ago. (They were old and crappy but I hadn’t backed up some data in ages :frowning: )

I’ll let you know how it goes once I transition my projects to the library.json system.

Oh, and it’s not that hard to figure out, but you should probably add a note to the README about where users can locate their projects.

P.S. I’m really tired of this forum. I even wrote a strongly-worded email to Sublime HQ about it :imp:

0 Likes

#24

Sorry to hear that your laptop was stolen.

There are certainly some issues with paths on different machines. I am thinking a machine specified projects directory.
Perhaps something like

Packages/User/Projects/Machine1/
Packages/User/Projects/Machine2/

Project Manager will read both Packages/User/Projects/ and Packages/User/Projects/Machine1/

0 Likes

#25

Done, there is now an option use_machine_projects_dir to allow machine specified projects_dir.
I appreciate it if you could help me to test it.

use_machine_projects_dir may be poorly worded…
you may have better idea of the option name use_machine_projects_dir,

0 Likes

#26

I don’t get how to use this :-/

I’ve added "use_machine_projects_dir": true, in my User/pm.sublime-settings file. Now what?

0 Likes

#27

With this option enabled, the projects and the library.json will be saved under machine specified folder. So now, you could import your sublime-project on different machines since different library.json will be loaded on different machines. And there will be no path issue.

0 Likes

#28

I don’t get it. :blush:

I’ve set “use_machine_projects_dir” to true.

I imported my projects on my personal laptop. When I tried Sublime at my desktop computer at work library.json was completely empty. Switching back to my laptop I found that it had been erased.

Possible causes:

  • I share my User folder via Dropbox.
  • I have commented out the “projects_dir” setting.
0 Likes

#29

Did you check out the github branch? I haven’t pushed the new version to Package Control (yet).

If you are using the github version, you should be a folder under Packages/User/Projects/ named as your computer name.

0 Likes

#30

No, sorry. I was just using the PC version.

I’ll test & report today.

Alex

0 Likes

#31

OK, now this makes sense. It looks great on my Linux laptop but I’m having some trouble on Windows. I opened an issue on GitHub.

0 Likes

#32

This is new version is wonderful.

I’m tweaking my project paths back to sanity. Here’s one I just came across:

"path": "../../../../../../Notebook/"

:astonished:

0 Likes

#33

If you don’t found Project Manager under Ctrl+Shift+P>> install package then do follow

*Ctrl+Shift+P *> Type ‘add repository

opens up at bottom Repository URL :…]

paste **https://github.com/randy3k/Project-Manager ** and Enter

Now again type install package and you will find Project Manager

0 Likes

#34

xkeshav: Are you perhaps on ST2? Because Project Manager is an ST3 package.

The other reason it may not show up in the install packages list is if you have it installed already. You might want to check the ignored packages setting in your User settings in that case.

0 Likes