ctrl+shift+p filters: :st2 :st3 :win :osx :linux

更新时间:2019-12-10 07:15:37

Browse

Override​Edit​Settings​Default​Contents

by evandrocoan ST2/ST3 New

Disables the default text provided by edit_settings to allow the window to be closed without the save prompt

Details

Installs

  • Total 2
  • Win 1
  • OS X 1
  • Linux 0
Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26
Windows 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Override Edit Settings Default Contents

Usually the packages add the same text when opening their setting for the first time:

[

]

However, most times you do not edit or want to save this empty file, then when closing the settings windows, Sublime Text will prompt you wheter you want to save your changes to the unsaved file.

This package disables the default text provided by edit_settings to allow the window to be closed without the save prompt, when no changes are preformed on the view.

Installation

By Package Control

  1. Download & Install Sublime Text 3 (https://www.sublimetext.com/3)
  2. Go to the menu Tools -> Install Package Control, then, wait few seconds until the installation finishes up
  3. Now, Go to the menu Preferences -> Package Control
  4. Type Add Channel on the opened quick panel and press Enter
  5. Then, input the following address and press Enter
https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json
  1. Go to the menu Tools -> Command Palette... (Ctrl+Shift+P)
  2. Type Preferences: Package Control Settings – User on the opened quick panel and press Enter
  3. Then, find the following setting on your Package Control.sublime-settings file:
"channels":
       [
           "https://packagecontrol.io/channel_v3.json",
           "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
       ],
  1. And, change it to the following, i.e., put the https://raw.githubusercontent... line as first:
"channels":
       [
           "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
           "https://packagecontrol.io/channel_v3.json",
       ],
  • The https://raw.githubusercontent...** line must to be added before the **https://packagecontrol.io...** one, otherwise, you will not install this forked version of the package, but the original available on the Package Control default channel **https://packagecontrol.io...
    1. Now, go to the menu Preferences -> Package Control
    2. Type Install Package on the opened quick panel and press Enter
    3. Then, search for OverrideEditSettingsDefaultContents and press Enter

See also: 1. ITE - Integrated Toolset Environment 1. Package control docs for details.

License

See the LICENSE file.