Skip to content

Instantly share code, notes, and snippets.

@bizoo
bizoo / symbol.py
Last active June 28, 2016 14:24
Modified ST3 symbol.py to propose active file items first and and an other item than the current one by default
import sublime
import sublime_plugin
import os.path
def lookup_symbol(window, symbol):
if len(symbol.strip()) < 3:
return []
index_locations = window.lookup_symbol_in_index(symbol)
open_file_locations = window.lookup_symbol_in_open_files(symbol)
@bizoo
bizoo / gist:5056526
Created February 28, 2013 12:53
oracle_exec.py for ST3
import sublime
import re
import os.path
from . import oracle_lib
from Default import exec as execmod
RE_ENTITIES = re.compile("^\\((.+?)/(0):[0-9]+\\) ([0-9]+):[0-9]+ (.+)$", re.M)
class OracleExecCommand(execmod.ExecCommand):