-
-
Save Enteleform/4c4e58e5ff2ec8bb997ee897c3ab7b9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#▒▒▒ Basic Function For StackOverflow Question ▒▒▒# | |
import sublime, sublime_plugin | |
class TestCommand( sublime_plugin.TextCommand ): | |
def run( self, edit ): | |
print( "This Is A Basic Function" ) | |
#▒▒▒ FrameWork Test ▒▒▒# | |
# import sublime, sublime_plugin | |
# from enteleform_utils import _LOADER | |
# moduleDirectories = [ "enteleform_utils" ] | |
# _LOADER.load ( moduleDirectories, globals() ) | |
# class TestCommand( sublime_plugin.TextCommand ): | |
# def run( self, edit ): | |
# print( "This Is Function That Requires My Framework" ) | |
#▒▒▒ Specific Function For Some Plugin ▒▒▒# | |
# import sublime, sublime_plugin | |
# import re | |
# import os | |
# from os import path | |
# class TestCommand( sublime_plugin.TextCommand ): | |
# def run( self, edit ): | |
# print( "This Is A Function That Will Be Used For Some Plugin" ) | |
#▒▒▒ Event Listeners ▒▒▒# | |
# class EventListener( sublime_plugin.EventListener ): | |
# def on_new( self, view ): | |
# def on_new_async( self, view ): | |
# def on_clone( self, view ): | |
# def on_clone_async( self, view ): | |
# def on_load( self, view ): | |
# def on_load_async( self, view ): | |
# def on_pre_close( self, view ): | |
# def on_close( self, view ): | |
# def on_pre_save( self, view ): | |
# def on_pre_save_async( self, view ): | |
# def on_post_save( self, view ): | |
# def on_post_save_async( self, view ): | |
# def on_modified( self, view ): | |
# def on_modified_async( self, view ): | |
# def on_selection_modified( self, view ): | |
# def on_selection_modified_async( self, view ): | |
# def on_activated( self, view ): | |
# def on_activated_async( self, view ): | |
# def on_deactivated( self, view ): | |
# def on_deactivated_async( self, view ): | |
# def on_text_command( self, view, command_name, args ): | |
# def on_window_command( self, window, command_name, args ): | |
# def on_post_text_command( self, view, command_name, args ): | |
# def on_post_window_command( self, window, command_name, args ): | |
# def on_query_context( self, view, key, operator, operand, match_all ): | |
# def on_query_completions( self, view, prefix, locations ): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment