linux - In Sublime Text 3, can I send a selection of a do file to Stata? -


this question led me try sublime text 3 replacement stata's file editor on linux (full instructions here).

syntax highlighting works , ctrl+b shortcut sends whole file stata.

is there way send selection of lines stata?

yes can. first need find name of python function it. sublimestata enhanced package , corresponds function text_2_statacommand in file text_2_stata.py.

second, need add shortcut function in key binding user file, put function name in command field (the suffix command must removed , separations indicated underscores instead of capital letters).

{ "keys": ["super+shift+b"], "command":"text_2_stata", "context": [ {"key": "selector", "operator": "equal", "operand": "source.stata"},] }, 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -