mirror of
https://github.com/sstent/sublime-text-3.git
synced 2026-01-27 07:32:28 +00:00
backing up sublime settings
This commit is contained in:
86
Packages/SublimeREPL/config/Python/Main.sublime-menu
Normal file
86
Packages/SublimeREPL/config/Python/Main.sublime-menu
Normal file
@@ -0,0 +1,86 @@
|
||||
[
|
||||
{
|
||||
"id": "tools",
|
||||
"children":
|
||||
[{
|
||||
"caption": "SublimeREPL",
|
||||
"mnemonic": "r",
|
||||
"id": "SublimeREPL",
|
||||
"children":
|
||||
[
|
||||
{"caption": "Python",
|
||||
"id": "Python",
|
||||
|
||||
"children":[
|
||||
{"command": "repl_open",
|
||||
"caption": "Python",
|
||||
"id": "repl_python",
|
||||
"mnemonic": "p",
|
||||
"args": {
|
||||
"type": "subprocess",
|
||||
"encoding": "utf8",
|
||||
"cmd": ["python", "-i", "-u"],
|
||||
"cwd": "$file_path",
|
||||
"syntax": "Packages/Python/Python.tmLanguage",
|
||||
"external_id": "python",
|
||||
"extend_env": {"PYTHONIOENCODING": "utf-8"}
|
||||
}
|
||||
},
|
||||
{"command": "python_virtualenv_repl",
|
||||
"id": "python_virtualenv_repl",
|
||||
"caption": "Python - virtualenv"},
|
||||
{"command": "repl_open",
|
||||
"caption": "Python - PDB current file",
|
||||
"id": "repl_python_pdb",
|
||||
"mnemonic": "d",
|
||||
"args": {
|
||||
"type": "subprocess",
|
||||
"encoding": "utf8",
|
||||
"cmd": ["python", "-i", "-u", "-m", "pdb", "$file_basename"],
|
||||
"cwd": "$file_path",
|
||||
"syntax": "Packages/Python/Python.tmLanguage",
|
||||
"external_id": "python",
|
||||
"extend_env": {"PYTHONIOENCODING": "utf-8"}
|
||||
}
|
||||
},
|
||||
{"command": "repl_open",
|
||||
"caption": "Python - RUN current file",
|
||||
"id": "repl_python_run",
|
||||
"mnemonic": "d",
|
||||
"args": {
|
||||
"type": "subprocess",
|
||||
"encoding": "utf8",
|
||||
"cmd": ["python", "-u", "$file_basename"],
|
||||
"cwd": "$file_path",
|
||||
"syntax": "Packages/Python/Python.tmLanguage",
|
||||
"external_id": "python",
|
||||
"extend_env": {"PYTHONIOENCODING": "utf-8"}
|
||||
}
|
||||
},
|
||||
{"command": "repl_open",
|
||||
"caption": "Python - IPython",
|
||||
"id": "repl_python_ipython",
|
||||
"mnemonic": "p",
|
||||
"args": {
|
||||
"type": "subprocess",
|
||||
"encoding": "utf8",
|
||||
"autocomplete_server": true,
|
||||
"cmd": {
|
||||
"osx": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"],
|
||||
"linux": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"],
|
||||
"windows": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"]
|
||||
},
|
||||
"cwd": "$file_path",
|
||||
"syntax": "Packages/Python/Python.tmLanguage",
|
||||
"external_id": "python",
|
||||
"extend_env": {
|
||||
"PYTHONIOENCODING": "utf-8",
|
||||
"SUBLIMEREPL_EDITOR": "$editor"
|
||||
}
|
||||
}
|
||||
}
|
||||
]}
|
||||
]
|
||||
}]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user