How to increase number of recent files in Sublime Text 3?

后端 未结 7 1915
刺人心
刺人心 2020-12-22 23:49

Is it possible to increase the number of recent files that appear in the File -> Open recent menu in Sublime Text 3 (Ubuntu)?

I have already read Increase number of

7条回答
  •  北海茫月
    2020-12-23 00:31

    Add this Main.sublime-menu to your %APPDATA%\Sublime Text 3\Packages\User folder. You will see an added File Menu child named Open Recent More, giving you the next same-amount of recent files/folders. (If only I could position it in the menu where I want it, though.)

    [
        {
            "caption": "File",
            "mnemonic": "F",
            "id": "file",
            "children":
            [
                {
                    "caption": "Open Recent More",
                    "mnemonic": "R",
                    "children":
                    [
                        { "command": "open_recent_file", "args": {"index": 8 } },
                        { "command": "open_recent_file", "args": {"index": 9 } },
                        { "command": "open_recent_file", "args": {"index": 10 } },
                        { "command": "open_recent_file", "args": {"index": 11 } },
                        { "command": "open_recent_file", "args": {"index": 12 } },
                        { "command": "open_recent_file", "args": {"index": 13 } },
                        { "command": "open_recent_file", "args": {"index": 14 } },
                        { "command": "open_recent_file", "args": {"index": 15 } },
                        { "command": "open_recent_file", "args": {"index": 16 } },
                        { "caption": "-" },
                        { "command": "open_recent_folder", "args": {"index": 8 } },
                        { "command": "open_recent_folder", "args": {"index": 9 } },
                        { "command": "open_recent_folder", "args": {"index": 10 } },
                        { "command": "open_recent_folder", "args": {"index": 11 } },
                        { "command": "open_recent_folder", "args": {"index": 12 } },
                        { "command": "open_recent_folder", "args": {"index": 13 } },
                        { "command": "open_recent_folder", "args": {"index": 14 } },
                        { "command": "open_recent_folder", "args": {"index": 15 } },
                        { "command": "open_recent_folder", "args": {"index": 16 } },
                        { "caption": "-" }
                    ]
                }
            ]
        }
    ]
    

提交回复
热议问题