Permalink
Browse files

use different default settings (python->pythonw) on Windows platform

  • Loading branch information...
wistful committed Nov 5, 2012
1 parent e48350b commit c036090904f571738d1f38770ec4d64829b5515f
Showing with 31 additions and 3 deletions.
  1. +11 −0 AutoPep8 (Windows).sublime-settings
  2. +0 −2 AutoPep8.sublime-settings
  3. +20 −1 Main.sublime-menu
@@ -0,0 +1,11 @@
+{
+ // do not fix these errors / warnings(e.g. E4, W)
+ "ignore": "",
+ // select errors / warnings(e.g. E4, W)
+ "select": "",
+ "format_on_save": false,
+ // path to python binary which should use to execute autopep8.py module
+ "python": "pythonw"
+ // path to autopep8 lib
+ // , "autopep8": "D:\\sublime\\autopep8.py"
+}
@@ -6,7 +6,5 @@
"format_on_save": false
// path to python binary which should use to execute autopep8.py module
// , "python": "/usr/bin/python3"
- // , "python": "pythonw"
- // path to autopep8 lib
// , "autopep8": "/home/sublime/autopep8.py"
}
View
@@ -17,7 +17,26 @@
[
{
"command": "open_file",
- "args": {"file": "${packages}/AutoPEP8/AutoPep8.sublime-settings"},
+ "args": {
+ "file": "${packages}/AutoPEP8/AutoPep8.sublime-settings",
+ "platform": "Linux"
+ },
+ "caption": "Settings – Default"
+ },
+ {
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/AutoPEP8/AutoPep8.sublime-settings",
+ "platform": "OSX"
+ },
+ "caption": "Settings – Default"
+ },
+ {
+ "command": "open_file",
+ "args": {
+ "file": "${packages}/AutoPEP8/AutoPep8 (Windows).sublime-settings",
+ "platform": "Windows"
+ },
"caption": "Settings – Default"
},
{

0 comments on commit c036090

Please sign in to comment.