示例#1
0
 def additional_cli_args(self):
     return get_setting(self.view, 'additional_cli_args', {})
示例#2
0
 def max_file_size_limit(self):
     return int(get_setting(self.view, 'max_file_size_limit', -1))
示例#3
0
 def allow_inline_formatting(self):
     return get_setting(self.view, 'allow_inline_formatting', False)
示例#4
0
 def disable_tab_width_auto_detection(self):
     return get_setting(self.view, 'disable_tab_width_auto_detection',
                        False)
示例#5
0
 def get_auto_format_on_save_requires_prettier_config(view):
     return bool(
         get_setting(view, 'auto_format_on_save_requires_prettier_config',
                     False))
示例#6
0
 def allow_inline_formatting(self):
     return get_setting(self.view, 'allow_inline_formatting', False)
示例#7
0
 def get_auto_format_on_save_requires_prettier_config(view):
     return bool(get_setting(view, 'auto_format_on_save_requires_prettier_config', False))
示例#8
0
 def get_auto_format_on_save_excludes(view):
     return get_setting(view, 'auto_format_on_save_excludes', [])
示例#9
0
 def get_auto_format_on_save_excludes(view):
     return get_setting(view, 'auto_format_on_save_excludes', [])
示例#10
0
 def get_custom_file_extensions(view):
     return get_setting(view, 'custom_file_extensions', [])
示例#11
0
 def get_auto_format_on_save(view):
     return bool(get_setting(view, 'auto_format_on_save', False))
示例#12
0
 def max_file_size_limit(self):
     return int(get_setting(self.view, 'max_file_size_limit', -1))
示例#13
0
 def additional_cli_args(self):
     return get_setting(self.view, 'additional_cli_args', {})
示例#14
0
 def disable_prettier_cursor_offset(self):
     return get_setting(self.view, 'disable_prettier_cursor_offset', False)
示例#15
0
 def get_additional_cli_args(view):
     return dict(get_setting(view, 'additional_cli_args', {}))
示例#16
0
 def get_auto_format_on_save(view):
     return bool(get_setting(view, 'auto_format_on_save', False))
示例#17
0
 def node_path(self):
     return get_setting(self.view, 'node_path')
示例#18
0
 def get_custom_file_extensions(view):
     return get_setting(view, 'custom_file_extensions', [])
示例#19
0
 def node_path(self):
     return expand_var(self.view.window(),
                       get_setting(self.view, 'node_path'))
示例#20
0
 def get_additional_cli_args(view):
     return dict(get_setting(view, 'additional_cli_args', {}))
示例#21
0
 def node_path(self):
     return get_setting(self.view, 'node_path')