Nebula
Nebula
.ycm_extra_conf.py 文件参考

函数

def DirectoryOfThisScript
 
def IsHeaderFile
 
def GetCompilationInfoForFile
 
def FlagsForFile
 

变量

list flags
 
string compilation_database_folder = ''
 
tuple database = ycm_core.CompilationDatabase( compilation_database_folder )
 
list SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]
 

函数说明

def DirectoryOfThisScript ( )

+ 这是这个函数的调用关系图:

def FlagsForFile (   filename,
  kwargs 
)

+ 函数调用图:

def GetCompilationInfoForFile (   filename)

+ 函数调用图:

+ 这是这个函数的调用关系图:

def IsHeaderFile (   filename)

+ 这是这个函数的调用关系图:

变量说明

string compilation_database_folder = ''
database = ycm_core.CompilationDatabase( compilation_database_folder )
list flags
初始值:
1 = [
2 '-Wall',
3 '-Wextra',
4 '-Werror',
5 '-fexceptions',
6 '-DNDEBUG',
7 # THIS IS IMPORTANT! Without a "-std=<something>" flag, clang won't know which
8 # language to use when compiling headers. So it will guess. Badly. So C++
9 # headers will be compiled as C headers. You don't want that so ALWAYS specify
10 # a "-std=<something>".
11 # For a C project, you would set this to something like 'c99' instead of
12 # 'c++11'.
13 '-std=c++11',
14 # ...and the same thing goes for the magic -x option which specifies the
15 # language that the files to be compiled are written in. This is mostly
16 # relevant for c++ headers.
17 # For a C project, you would set this to 'c' instead of 'c++'.
18 '-x',
19 'c++',
20 '-isystem',
21 '/usr/include',
22 '-isystem',
23 '/usr/local/include',
24 '-isystem',
25 '/home/bwar/factory/cplus/NebulaDepend/include',
26 '-isystem',
27 '/home/bwar/factory/cplus/Nebula/src',
28 ]
list SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]