Permalink
Browse files

Comment default settings and add Package Settings menu

  • Loading branch information...
1 parent 1ba1a94 commit baecbc9e38f41568445cede05715a166f082da02 @wuub wuub committed Mar 10, 2012
Showing with 52 additions and 1 deletion.
  1. +39 −0 Main.sublime-menu
  2. +1 −1 SublimeREPL (OSX).sublime-settings
  3. +12 −0 SublimeREPL.sublime-settings
View
@@ -0,0 +1,39 @@
+[
+ {
+ "caption": "Preferences",
+ "mnemonic": "n",
+ "id": "preferences",
+ "children":
+ [
+ {
+ "caption": "Package Settings",
+ "mnemonic": "P",
+ "id": "package-settings",
+ "children":
+ [
+ {
+ "caption": "SublimeREPL",
+ "children":
+ [
+ {
+ "command": "open_file", "args":
+ {
+ "file": "${packages}/SublimeREPL/SublimeREPL.sublime-settings"
+ },
+ "caption": "Settings – Default"
+ },
+ {
+ "command": "open_file", "args":
+ {
+ "file": "${packages}/User/SublimeREPL.sublime-settings"
+ },
+ "caption": "Settings – User"
+ },
+ { "caption": "-" }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+]
@@ -1,4 +1,4 @@
{
-
+ // Add to PATH /usr/local/bin by default on OSX.
"default_extend_env": {"PATH": "{PATH}:/usr/local/bin"}
}
@@ -1,5 +1,17 @@
{
+ // default_extend_env are used to augment any environment variables
+ // that should be visible for all subporcess repls launched within
+ // SublimeREPL. This is a very good place to add PATH extension
+ // once "PATH": "{PATH}:/home/username/mylocalinstalls/bin" or whatever
"default_extend_env": {},
+
+ // Persistent history is stored per REPL external_id, it means that all python
+ // REPLS will share history. If you wish you can disable history altogether
"presistent_history_enabled": true,
+
+ // By default SublimeREPL leaves REPL view open once the underlying subprocess
+ // dies or closes connection. This is useful when the process dies for an unexpected
+ // reason as it allows you to inspect it output. If you want. Setting this
+ // to true will cause SublimreREPL to close view once the process died.
"view_auto_close": false
}

0 comments on commit baecbc9

Please sign in to comment.