Module Import alias alias alias alias alias alias alias alias alias Assign NameStore CompareIs Call AttributeLoad NameLoad attr Str Assign NameStore CompareLt AttributeLoad NameLoad attr TupleLoad Num Num ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str Str FunctionDef arguments args defaults body TryExcept body Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str attr attr Str handlers ExceptHandler body Return NameLoad decorator_list Assign NameStore Call NameLoad If NameLoad body If Call NameLoad AttributeLoad NameLoad attr Str body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad body Return If BoolOpOr NameLoad BoolOpAnd CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad orelse Assign NameStore Num Assign NameStore ListLoad For NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str body Continue If NameLoad body Assign NameStore ListLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpSub Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Num orelse If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpAdd Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore ListLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Continue If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Continue Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Num orelse Expr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str keyword BinOpMult Num Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str NameLoad attr Str orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Call NameLoad NameLoad keyword Str If NameLoad body Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Str handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AugAssignBitOr AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad NameLoad orelse Return Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Global identifier If NameLoad body Assign NameStore NameLoad Return Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIn SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Slice Num ListLoad Str body Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad CompareIn Str Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr body Return NameLoad Return NameLoad decorator_list decorator_list
N/A N/A sublime sublime_plugin subprocess threading json re platform sys os N/A ON_WINDOWS N/A N/A N/A platform system Windows N/A ST2 N/A N/A sys version_info N/A 3 0 NodeCheck N/A N/A N/A This class check whether esformatter is installed and available in the path.
    The check is done only once when mightWork() is called for the first time.
    Being a tri-state class it's better not accessing it's properties but only call mightWork() __init__ N/A N/A self N/A N/A N/A N/A self works False N/A N/A self checkDone False N/A N/A self nodeName esformatter N/A mightWork N/A N/A self path N/A N/A N/A N/A self checkDone N/A N/A N/A self works N/A path N/A N/A N/A self nodeName path N/A N/A N/A self tryWithSelfName N/A N/A N/A self works False N/A N/A N/A N/A sublime error_message It looks like esformatter is not installed.
Please make sure that it is installed and is in your PATH N/A N/A self works N/A tryWithSelfName N/A N/A self N/A N/A N/A N/A N/A N/A N/A subprocess Popen N/A N/A self nodeName --version bufsize 1 stdin None stdout None stderr None startupinfo N/A getStartupInfo N/A N/A self works True N/A N/A N/A OSError N/A e N/A N/A N/A self works False N/A N/A N/A NODE N/A NodeCheck N/A AM_I_FORMATTING_AFTER_SAVE False N/A N/A ON_WINDOWS N/A N/A N/A N/A os environ N/A PATH :/usr/local/bin getNpmGlobalRoot N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A subprocess check_output N/A npm root -g rstrip decode utf-8 N/A N/A N/A N/A None N/A N/A npmRoot N/A getNpmGlobalRoot N/A npmRoot N/A N/A N/A hasattr N/A os environ NODE_PATH N/A N/A N/A N/A os environ N/A NODE_PATH N/A N/A os pathsep npmRoot N/A N/A N/A N/A os environ N/A NODE_PATH npmRoot EsformatterCommand N/A N/A sublime_plugin TextCommand N/A run N/A N/A self edit save ignoreSelection N/A False False N/A N/A settings N/A N/A sublime load_settings EsFormatter.sublime-settings N/A N/A N/A N/A NODE mightWork N/A N/A settings get esformatter_path False N/A N/A N/A N/A ignoreSelection N/A N/A N/A len N/A N/A N/A self view sel 1 N/A N/A N/A N/A N/A N/A self view sel N/A 0 empty N/A N/A textContent N/A N/A N/A self view substr N/A N/A sublime Region 0 N/A N/A N/A self view size N/A thread N/A NodeCall textContent N/A getFilePath N/A self view N/A N/A N/A thread start N/A N/A N/A self handle_thread thread N/A N/A N/A N/A N/A N/A self replaceFile thread save N/A N/A threads N/A N/A selection N/A N/A N/A self view sel N/A N/A region N/A N/A N/A self view line selection N/A textContent N/A N/A N/A self view substr region N/A thread N/A NodeCall textContent N/A getFilePath N/A self view N/A len threads region N/A N/A N/A threads append thread N/A N/A N/A thread start N/A N/A N/A self handle_threads threads N/A N/A N/A process lastError N/A N/A N/A self handleSyntaxErrors process lastError N/A replaceFile N/A N/A self thread save N/A False N/A N/A Replace the entire file content with the formatted text. N/A N/A N/A thread code N/A N/A N/A thread result encode utf-8 N/A N/A N/A N/A N/A N/A self view run_command esformat_update_content N/A text N/A thread result N/A N/A N/A sublime status_message File formatted N/A save N/A N/A N/A N/A N/A self view run_command save N/A handleSyntaxErrors N/A N/A self threads lastError N/A None None N/A N/A When formatting whole lines there might be a syntax error because we select
        the whole line content. In that case, fall-back to the user selection. N/A N/A N/A lastError None N/A threads None N/A N/A N/A N/A self replaceSelections threads None N/A N/A threads N/A N/A selection N/A N/A N/A self view sel N/A N/A textContent N/A N/A N/A self view substr selection N/A thread N/A NodeCall textContent N/A getFilePath N/A self view N/A len threads selection N/A N/A N/A threads append thread N/A N/A N/A thread start N/A N/A N/A self handle_threads threads N/A N/A N/A process lastError N/A N/A N/A self replaceSelections process lastError N/A replaceSelections N/A N/A self threads lastError N/A N/A N/A Replace the content of a list of selections.
        This is called when there are multiple cursors or a selection of text N/A lastError N/A N/A N/A N/A sublime error_message N/A Error (2): lastError N/A N/A offset 0 N/A regions N/A N/A thread N/A sorted threads key N/A N/A N/A t N/A N/A N/A N/A t region begin N/A N/A N/A N/A thread code N/A N/A N/A thread result encode utf-8 N/A N/A N/A offset N/A N/A region N/A N/A N/A N/A N/A thread region begin offset N/A N/A N/A N/A thread region end offset N/A thread result N/A N/A region N/A N/A N/A N/A thread region begin N/A N/A N/A thread region end N/A thread result N/A offset N/A N/A len N/A thread result N/A len N/A thread code N/A N/A N/A regions append region N/A N/A N/A N/A self view run_command esformat_update_content N/A regions regions N/A handle_thread N/A N/A self thread callback N/A N/A N/A N/A N/A thread is_alive N/A N/A N/A N/A sublime set_timeout N/A N/A N/A N/A N/A N/A self handle_thread thread callback 100 N/A N/A N/A N/A thread result False N/A N/A N/A callback N/A N/A N/A N/A sublime error_message N/A Error (1): N/A thread error N/A handle_threads N/A N/A self threads callback process lastError N/A False None N/A N/A next_threads N/A N/A N/A process False N/A N/A process N/A N/A thread threads N/A N/A N/A N/A thread is_alive N/A N/A N/A N/A next_threads append thread N/A N/A N/A N/A thread result False N/A N/A lastError N/A thread error N/A N/A N/A N/A process append thread N/A N/A len next_threads N/A N/A N/A N/A sublime set_timeout N/A N/A N/A N/A N/A N/A self handle_threads next_threads callback process lastError 100 N/A N/A N/A callback process lastError N/A N/A NodeCall N/A N/A threading Thread N/A __init__ N/A N/A self code path id region N/A 0 None N/A N/A N/A self code N/A N/A code encode utf-8 N/A N/A self region region N/A N/A self result None N/A N/A N/A N/A threading Thread __init__ self N/A run N/A N/A self N/A N/A N/A N/A N/A process N/A N/A subprocess Popen N/A esformatter bufsize N/A 160 N/A len N/A self code stdin N/A subprocess PIPE stdout N/A subprocess PIPE stderr N/A subprocess PIPE startupinfo N/A getStartupInfo N/A ST2 N/A N/A N/A stdout stderr N/A N/A process communicate N/A self code N/A N/A self result N/A N/A N/A N/A re sub (\r|\r\n|\n)\Z stdout decode utf-8 N/A N/A N/A stdout stderr N/A N/A process communicate N/A self code N/A N/A self result N/A N/A re sub (\r|\r\n|\n)\Z N/A str stdout encoding utf-8 N/A stderr N/A N/A N/A self result False N/A ST2 N/A N/A N/A self error N/A str N/A N/A stderr decode utf-8 N/A N/A N/A self error N/A str stderr encoding utf-8 N/A N/A N/A Exception N/A e N/A N/A N/A self result False N/A N/A self error N/A str e N/A N/A getStartupInfo N/A N/A N/A N/A N/A ON_WINDOWS N/A N/A info N/A N/A subprocess STARTUPINFO N/A N/A info dwFlags N/A subprocess STARTF_USESHOWWINDOW N/A N/A info wShowWindow N/A subprocess SW_HIDE N/A info N/A None N/A getFilePath N/A N/A view N/A N/A N/A path N/A N/A view file_name N/A path N/A N/A N/A str path N/A N/A N/A EsformatUpdateContent N/A N/A sublime_plugin TextCommand N/A run N/A N/A self edit text regions N/A None None N/A N/A text N/A N/A N/A N/A N/A self view replace edit N/A N/A sublime Region 0 N/A N/A N/A self view size text N/A N/A region regions N/A N/A N/A N/A N/A self view replace edit N/A N/A sublime Region N/A region N/A 0 N/A region N/A 1 N/A region N/A 2 N/A N/A EsformatEventListener N/A N/A sublime_plugin EventListener N/A on_pre_save N/A N/A self view N/A N/A N/A AM_I_FORMATTING_AFTER_SAVE N/A AM_I_FORMATTING_AFTER_SAVE N/A N/A AM_I_FORMATTING_AFTER_SAVE False N/A N/A AM_I_FORMATTING_AFTER_SAVE True N/A settings N/A N/A sublime load_settings EsFormatter.sublime-settings N/A N/A N/A N/A settings get format_on_save N/A N/A self isJavascript view N/A N/A N/A N/A N/A N/A view window run_command esformatter N/A save ignoreSelection True True N/A isJavascript N/A N/A self view N/A N/A N/A name N/A N/A view file_name N/A N/A name N/A N/A N/A N/A N/A N/A os path splitext name N/A 1 N/A 1 N/A js N/A N/A True N/A syntax N/A N/A N/A N/A view settings get syntax N/A N/A syntax N/A javascript N/A N/A N/A N/A N/A syntax split / N/A -1 lower N/A N/A True N/A False N/A N/A