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
  • 11 years ago
  • 4 weeks ago
  • 12 years ago

Installs

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