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