Skip to main content

Sublime 4 ✭ < DELUXE >

"cmd": ["python3", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python"

Save as Python3.sublime-build – then Ctrl+B to run. Tools → Developer → New Snippet sublime 4

"keys": ["ctrl+shift+m"], "command": "run_macro_file", "args": "file": "res://Packages/User/my-macro.sublime-macro" Preferences → Key Bindings (User): "file_regex": "^[ ]*File \"(...*?)\"

export default $1; ]]></content> <tabTrigger>rfc</tabTrigger> <scope>source.js</scope> </snippet> "path": "docs" ]

Example (React component):

"folders": [ "path": "src" , "path": "docs" ], "settings": "tab_size": 4 , "build_systems": [ "name": "Custom Build", "cmd": ["make"] ]

<snippet> <content><![CDATA[ import React from 'react'; const $1:ComponentName = () => return <div>$2</div>; ;