2013-04-02 13 views

Odpowiedz

37

Edytuj ten plik:

~/Library/Application Support/Sublime Text 2/Packages/Default/Main.sublime-menu 

Około linia 715 zobaczysz to:

"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" } 
      ] 

Dodaj dodatkowe linie z

{ "command": "open_recent_project", "args": {"index": n } }, 

CZYLI

"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" } 
      ] 

Teraz masz 11 najnowsze projekty

+3

który pracował! Jeśli ktoś w systemie Windows (tak jak ja) zastanawia się, gdzie znajduje się ten plik, znajduje się on w: \ AppData \ Roaming \ Sublime Text 2 \ Packages \ Default –

+0

To działa. Szkoda, że ​​to hack, a nie faktyczna konfiguracja w ustawieniach. Jeśli Sublime zostanie zaktualizowane, zmodyfikowana konfiguracja może zostać nadpisana. – Gor

+4

Dla ST3: łączenie tej porady z odpowiedziami w http://stackoverflow.com/questions/20540492/how-to-increase-number-of-recent-files-in-sublime-text-3 działa ładnie – ptim