Exemplo n.º 1
0
 def db_add(self):
     cmd = ':cscope add ' + os.path.join(self.root_directory, self.tags_filename)
     YavideUtils.send_vim_remote_command(self.yavide_instance, cmd)
     logging.info("Adding a new db connection: '{0}'".format(cmd))
Exemplo n.º 2
0
 def db_set_default_params(self):
     cmd = ':set cscopetag | set cscopetagorder=0'
     YavideUtils.send_vim_remote_command(self.yavide_instance, cmd)
     logging.info("Setting default parameters: '{0}'".format(cmd))
Exemplo n.º 3
0
 def db_add(self):
     cmd = ':cscope add ' + os.path.join(self.root_directory,
                                         self.tags_filename)
     YavideUtils.send_vim_remote_command(self.yavide_instance, cmd)
     logging.info("Adding a new db connection: '{0}'".format(cmd))
Exemplo n.º 4
0
 def db_set_default_params(self):
     cmd = ':set cscopetag | set cscopetagorder=0'
     YavideUtils.send_vim_remote_command(self.yavide_instance, cmd)
     logging.info("Setting default parameters: '{0}'".format(cmd))
Exemplo n.º 5
0
 def db_reset(self):
     cmd = ':cscope reset'
     YavideUtils.send_vim_remote_command(self.yavide_instance, cmd)
     logging.info("Resetting the db connection: '{0}'".format(cmd))
Exemplo n.º 6
0
 def db_reset(self):
     cmd = ':cscope reset'
     YavideUtils.send_vim_remote_command(self.yavide_instance, cmd)
     logging.info("Resetting the db connection: '{0}'".format(cmd))