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
  • 9 minutes ago
  • 11 years ago

Installs

  • Total 286
  • Win 166
  • Mac 77
  • Linux 43
May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 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
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.