Is it possible to increase the number of recent projects that appear in the Projects -> Recent Projects menu in Sublime Text 2? I have searched through the settings and I haven't found anything.
There are 2 ways that you can do is. 1) Select the option from Project -> Add project to folder and select project menu. 2) You can also drag your folder to the sublime.
Projects in Sublime are contained in sublime-project files, and allow you to: Control what folders are present in the project. Per folder control of what files and folders from within are rejected from the project or included in the project. Can contain settings that apply only to files open in that window.
Sublime Text is able to run build programs such as 'make', either when a key in pressed (F7 by default), or when a file is saved. The build system to use can be select from the Tools/Build System menu. If a project is open, the selected build system will be remembered for the project.
Edit this file:
~/Library/Application Support/Sublime Text 2/Packages/Default/Main.sublime-menu
At around line 715 you'll see this:
"caption": "Recent Projects", "mnemonic": "R", "children": [ { "command": "open_recent_project", "args": {"index": 0 } }, { "command": "open_recent_project", "args": {"index": 1 } }, { "command": "open_recent_project", "args": {"index": 2 } }, { "command": "open_recent_project", "args": {"index": 3 } }, { "command": "open_recent_project", "args": {"index": 4 } }, { "command": "open_recent_project", "args": {"index": 5 } }, { "command": "open_recent_project", "args": {"index": 6 } }, { "command": "open_recent_project", "args": {"index": 7 } }, { "command": "open_recent_project", "args": {"index": 8 } }, { "command": "open_recent_project", "args": {"index": 9 } }, { "caption": "-" }, { "command": "clear_recent_projects", "caption": "Clear Items" } ]
Add additional lines of
{ "command": "open_recent_project", "args": {"index": n } },
I.E.
"caption": "Recent Projects", "mnemonic": "R", "children": [ { "command": "open_recent_project", "args": {"index": 0 } }, { "command": "open_recent_project", "args": {"index": 1 } }, { "command": "open_recent_project", "args": {"index": 2 } }, { "command": "open_recent_project", "args": {"index": 3 } }, { "command": "open_recent_project", "args": {"index": 4 } }, { "command": "open_recent_project", "args": {"index": 5 } }, { "command": "open_recent_project", "args": {"index": 6 } }, { "command": "open_recent_project", "args": {"index": 7 } }, { "command": "open_recent_project", "args": {"index": 8 } }, { "command": "open_recent_project", "args": {"index": 9 } }, { "command": "open_recent_project", "args": {"index": 10 } }, { "caption": "-" }, { "command": "clear_recent_projects", "caption": "Clear Items" } ]
Now you have 11 recent projects
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With