Пример #1
0
def is_supported_lang(view):
	return basics.is_cpp_file(view) or basics.is_python_file(view)
Пример #2
0
 def on_modified(self, view):
     if basics.is_cpp_file(view):
         view.run_command('inteli_sense', {'action': 'sync_modified'})
Пример #3
0
 def on_activated(self, view):
     if basics.is_cpp_file(view):
         view.run_command('inteli_sense', {'action': 'run_sense'})
Пример #4
0
 def on_pre_close(self, view):
     if basics.is_cpp_file(view):
         view.run_command('inteli_sense', {'action': 'stop_sense'})