We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c8340 commit 0460facCopy full SHA for 0460fac
TypeScript.py
@@ -1531,11 +1531,6 @@ def setCaretPos(view, pos):
1531
# format on ";", "}", or "\n"; called by typing these keys in a ts file
1532
# in the case of "\n", this is only called when no completion dialogue visible
1533
class TypescriptFormatOnKey(sublime_plugin.TextCommand):
1534
- def is_enabled(self):
1535
- settings = sublime.load_settings('Preferences.sublime-settings')
1536
- _is_enabled = settings.get('typescript_auto_format', True)
1537
- return _is_enabled
1538
-
1539
def run(self, text, key = "", insertKey = True):
1540
if 0 == len(key):
1541
return
0 commit comments