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

Override​Edit​Settings​Default​Contents

by evandrocoan ALL

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

Details

Installs

  • Total 169
  • Win 120
  • Mac 34
  • Linux 15
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 0 0 0 0 0 1 0 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
Mac 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
Linux 0 0 0 0 0 0 0 0 0 0 0 0 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 1 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
    
  6. Go to the menu Tools -> Command Palette... (Ctrl+Shift+P)

  7. Type Preferences: Package Control Settings – User on the opened quick panel and press Enter

  8. 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",
    ],
    
  9. 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...
  10. Now, go to the menu Preferences -> Package Control

  11. Type Install Package on the opened quick panel and press Enter

  12. Then, search for OverrideEditSettingsDefaultContents and press Enter

See also:

  1. ITE - Integrated Toolset Environment
  2. Package control docs for details.

License

See the LICENSE file.