Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. [
  2. {
  3. "id": "tools",
  4. "children":
  5. [{
  6. "caption": "SublimeREPL",
  7. "mnemonic": "r",
  8. "id": "SublimeREPL",
  9. "children":
  10. [
  11. {"caption": "Python",
  12. "id": "Python",
  13.  
  14. "children":[
  15. {"command": "repl_open",
  16. "caption": "Python",
  17. "id": "repl_python",
  18. "mnemonic": "p",
  19. "args": {
  20. "type": "subprocess",
  21. "encoding": "utf8",
  22. "cmd": ["python3", "-i", "-u"],
  23. "cwd": "$file_path",
  24. "syntax": "Packages/Python/Python.tmLanguage",
  25. "view_id": "*REPL* [python]",
  26. "external_id": "python",
  27. "extend_env": {"PYTHONIOENCODING": "utf-8"}
  28. }
  29. },
  30. {"command": "python_virtualenv_repl",
  31. "id": "python_virtualenv_repl",
  32. "caption": "Python - virtualenv"},
  33. {"command": "repl_open",
  34. "caption": "Python - PDB current file",
  35. "id": "repl_python_pdb",
  36. "mnemonic": "d",
  37. "args": {
  38. "type": "subprocess",
  39. "encoding": "utf8",
  40. "cmd": ["python3", "-i", "-u", "-m", "pdb", "$file_basename"],
  41. "cwd": "$file_path",
  42. "syntax": "Packages/Python/Python.tmLanguage",
  43. "view_id": "*REPL* [python]",
  44. "external_id": "python",
  45. "extend_env": {"PYTHONIOENCODING": "utf-8"}
  46. }
  47. },
  48. {"command": "repl_open",
  49. "caption": "Python - RUN current file",
  50. "id": "repl_python_run",
  51. "mnemonic": "d",
  52. "args": {
  53. "type": "subprocess",
  54. "encoding": "utf8",
  55. "cmd": ["python3", "-u", "$file_basename"],
  56. "cwd": "$file_path",
  57. "syntax": "Packages/Python/Python.tmLanguage",
  58. "view_id": "*REPL* [python]",
  59. "external_id": "python",
  60. "extend_env": {"PYTHONIOENCODING": "utf-8"}
  61. }
  62. },
  63. {"command": "repl_open",
  64. "caption": "Python - IPython",
  65. "id": "repl_python_ipython",
  66. "mnemonic": "p",
  67. "args": {
  68. "type": "subprocess",
  69. "encoding": "utf8",
  70. "autocomplete_server": true,
  71. "cmd": {
  72. "osx": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"],
  73. "linux": ["python3", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"],
  74. "windows": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"]
  75. },
  76. "cwd": "$file_path",
  77. "syntax": "Packages/Python/Python.tmLanguage",
  78. "view_id": "*REPL* [python]",
  79. "external_id": "python",
  80. "extend_env": {
  81. "PYTHONIOENCODING": "utf-8",
  82. "SUBLIMEREPL_EDITOR": "$editor"
  83. }
  84. }
  85. }
  86. ]}
  87. ]
  88. }]
  89. }
  90. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement