wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.8k stars 818 forks source link

Need an obvious way to silence the release notes #909

Closed plato-cambrian closed 9 years ago

plato-cambrian commented 9 years ago

I don't want to see the release notes; it's very distracting to boot sublime and get a glimpse of the last thing I was working on and then BAM, a new file opens that I didn't ask for:

Package Control Messages
========================

Package Control:
---------------

  Version 3.0 Release Notes

  **** Windows Sublime Text 3 Users ****

  Due to a bug in Package Control 2.0, Windows ST3 users will need to open the
  Sublime Text console (ctrl+`) and execute the following Python to properly
  upgrade. All other users may ignore this part of the message.

  Make sure NOT to copy the leading two spaces, or an "unexpected indent" error
  will occur.

  import urllib.request,os,sys; exec("if sys.version_info < (3,) or os.name != 'nt': raise OSError('This code is for Windows ST3 only!')"); pr='Preferences.sublime-settings'; ip='ignored_packages'; n='Package Control'; s=sublime.load_settings(pr); ig=s.get(ip); ig.append(n); s.set(ip,ig); sublime.save_settings('Preferences.sublime-settings'); pf=n+'.sublime-package'; urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler())); by=urllib.request.urlopen('https://packagecontrol.io/'+pf.replace(' ','%20')).read(); open(os.path.join(sublime.installed_packages_path(),pf),'wb').write(by); ig.remove(n); s.set(ip,ig); sublime.save_settings(pr); print('Package Control: 3.0.0 upgrade successful!')

  ********

  Package Control 3.0 adds a bunch of polish, improving the Sublime Text
  experience for users and package developers:

   - improved upgrades of themes, color schemes and syntaxes
   - dependency support
   - SSL for Linux
   - new secondary Windows HTTP backend
   - patches for Python in Sublime Text 2 on Windows
   - commands to easily remove channels and repositories
   - an events API for packages
   - improved documentation

  As of July 2014, I now work for myself. This has allowed me to spend more time
  working on open source software, including Package Control. If you appreciate
  the work I've done, please consider a small donation. If even 5% of regular
  users donated the price of a coffee or beer, that would cover quite a bit of
  my development time! See https://packagecontrol.io/about for options.

  Some recent Package Control stats:

   - every weekday over 1M JSON requests hit the channel server
   - in December, the channel server will transmit 4TB+ of compressed JSON
   - users have installed, upgraded or removed 85M+ packages since late 2011

  Read more about the release at:

  https://packagecontrol.io/news#2014-12-23-Package_Control_30_Released

How do I prevent this message from opening up when I boot sublime? Could it maybe open in a background tab instead of taking away my context?

wbond commented 9 years ago

Is the issue that you see it every time? It should show up within seconds of the editor starting.

wbond commented 9 years ago

@plato-cambrian Please answer.

iluuu1994 commented 9 years ago

Sublime is my default editor so I often click a file, Sublime launches and I start typing. Seconds later the release notes tab robs the context and I'm typing into the release notes.

This has been driving me mad :P Like @plato-cambrian suggested, would it be possible to open the tab in the background, without automatically selecting it?

sirkkalap commented 6 years ago

This would make me happy too. I am easily distracted by this kind of alerts and I really would prefer to postpone the Package Control messages.

FichteFoll commented 6 years ago

Personally, I'd prefer if they were opend in the background somehow, but the ST API doesn't allow that currently. You can only re-focus the previosly active view.