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

Query Completions Silencer

by twolfson ALL

Silence query completions in Sublime Text

Labels auto-complete

Details

Installs

  • Total 727
  • Win 583
  • Mac 75
  • Linux 69
Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 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
Mac 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
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 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

sublime-query-completions-silencer

Silence query completions in Sublime Text

This was built as a companion to sublime-snippet-destroyer to silence any callback based completions (i.e. EventListener.on_query_completions)

Getting Started

Installation

This package is available under query-completions-silencer inside of Package Control, a Sublime Text plugin that allows for easy management of other plugins.

If you prefer the manual route, you can install the script via the following command in the Sublime Text terminal (ctrl+`) which utilizes git clone.

import os; path=sublime.packages_path(); (os.makedirs(path) if not os.path.exists(path) else None); window.run_command('exec', {'cmd': ['git', 'clone', 'https://github.com/twolfson/sublime-query-completions-silencer', 'query-completions-silencer'], 'working_dir': path})

Packages can be uninstalled via “Package Control: Remove Package” via the command pallete, ctrl+shift+p on Windows/Linux, command+shift+p on Mac.

Documentation

There are no commands provided for this plugin. Upon installation, our silencer will actively remove callbacks for EventListener.on_query_completions.

Upon disabling/removal, the silence watcher will be turned off but callbacks will not be restored. Sublime Text must be restarted for full restoration.

Examples

Sublime Text comes with CSS and HTML completions built in by default. An example usage would be to set your Syntax to HTML. Then, type:

strong

str<tab>

When on_query_completions are running, this would complete to <strong></strong>. When sublime-query-completions-silencer is enabled, this completes to strong.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

Donating

Support this project and others by twolfson via gratipay.

Support via Gratipay

Unlicense

As of May 28 2015, Todd Wolfson has released this repository and its contents to the public domain.

It has been released under the UNLICENSE.