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

Example Overflow

by alexeyza ST2

Searches and suggests code snippets based on Stack Overflow

Details

  • 2014.08.21.17.39.23
  • github.​com
  • github.​com
  • 10 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 286
  • Win 166
  • Mac 77
  • Linux 43
Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19
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 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Example Overflow Sublime Text 2 Plugin

Example Overflow plugin searches and suggests code snippets based on Stack Overflow.

How It Works

The plugin will use your query and your current syntax to search Stack Overflow. It will choose the top accepted answers, extract code snippets from them, and let you to choose one of them (from Sublime Text 2).

This plugin uses the SE API package

Install

The suggested method is to use the Sublime Package Manager.

Use

Use one of the following key bindings

  • 'Ctrl + o' : to use the selected text (or code) as the search query
  • 'Shift + Ctrl + o' : to open a search input panel at the bottom
  • use 'Super' instead of 'Ctrl' for OS X

The plugin will open a quick panel with the top results (title and tags from StackOverflow). Upon choosing one of the results a new buffer will open with a pasted code snippet.

Alternatively it is possible to use the Command Palette (Ctrl+Shift+P) instead of the key bindings.

Beta

This plugin is in early development and may not work properly (or at all). Its design is still under development (I'm open to suggestions).


Copyright © 2013 Alexey Zagalsky

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.