You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With [Package Control](https://packagecontrol.io/):
63
60
64
-
~~- Run “Package Control: Install Package” command or click to the `Preferences > Package Control` menu item, find and install `JavaScript Enhancements` plugin.~~
61
+
- Run “Package Control: Install Package” command or click to the `Preferences > Package Control` menu item, find and install `JavaScript Enhancements` plugin.
sublime.error_message("Windows is not supported by this plugin for now.")
4853
4857
return
4854
4858
4859
+
ifplatform.architecture()[0] !="64bit":
4860
+
sublime.error_message("Your architecture is not supported by this plugin. This plugin supports only 64bit architectures.")
4861
+
return
4862
+
4855
4863
try:
4856
4864
sys.modules["TerminalView"]
4857
4865
exceptExceptionaserr:
4858
-
sublime.error_message("TerminalView plugin is missing. TerminalView is required to be able to use this plugin.")
4866
+
response=sublime.yes_no_cancel_dialog("TerminalView plugin is missing. TerminalView is required to be able to use \"JavaScript Enhancements\" plugin. Do you want open the github repo of it?", "Yes, open it", "No")
sublime.error_message("Error during installation: node.js is not installed on your system.")
4882
+
response=sublime.yes_no_cancel_dialog("Error during installation: node.js is not installed on your system. Node.js and npm are required to be able to use JavaScript Enhancements plugin. Do you want open the website of node.js?", "Yes, open it", "Or use nvm")
sublime.error_message("JavaScript Enhancements plugin requires Sublime Text 3 (build 3124 or newer). Your version build is: "+sublime.version())
4883
-
4896
+
response=sublime.yes_no_cancel_dialog("JavaScript Enhancements plugin requires Sublime Text 3 (build 3124 or newer). Your build is: "+sublime.version() +". Do you want open the download page?", "Yes, open it", "No")
Copy file name to clipboardExpand all lines: make/_init.py
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -106,10 +106,16 @@ def start():
106
106
sublime.error_message("Windows is not supported by this plugin for now.")
107
107
return
108
108
109
+
ifplatform.architecture()[0] !="64bit":
110
+
sublime.error_message("Your architecture is not supported by this plugin. This plugin supports only 64bit architectures.")
111
+
return
112
+
109
113
try:
110
114
sys.modules["TerminalView"]
111
115
exceptExceptionaserr:
112
-
sublime.error_message("TerminalView plugin is missing. TerminalView is required to be able to use this plugin.")
116
+
response=sublime.yes_no_cancel_dialog("TerminalView plugin is missing. TerminalView is required to be able to use \"JavaScript Enhancements\" plugin. Do you want open the github repo of it?", "Yes, open it", "No")
sublime.error_message("Error during installation: node.js is not installed on your system.")
132
+
response=sublime.yes_no_cancel_dialog("Error during installation: node.js is not installed on your system. Node.js and npm are required to be able to use JavaScript Enhancements plugin. Do you want open the website of node.js?", "Yes, open it", "Or use nvm")
sublime.error_message("JavaScript Enhancements plugin requires Sublime Text 3 (build 3124 or newer). Your version build is: "+sublime.version())
137
-
146
+
response=sublime.yes_no_cancel_dialog("JavaScript Enhancements plugin requires Sublime Text 3 (build 3124 or newer). Your build is: "+sublime.version() +". Do you want open the download page?", "Yes, open it", "No")
0 commit comments