88 "addWords" : true
99 },
1010 {
11- "name" : " project-words " ,
11+ "name" : " maintainers " ,
1212 "path" : " ./cspell_dicts/maintainers_dict.txt" ,
1313 "addWords" : true
1414 },
1515 {
16- "name" : " project-words" ,
16+ "name" : " personal-names" ,
17+ "path" : " ./cspell_dicts/names_dict.txt" ,
18+ "addWords" : true
19+ },
20+ {
21+ "name" : " layouts" ,
1722 "path" : " ./cspell_dicts/layouts_dict.txt" ,
1823 "addWords" : true
1924 },
2227 " project-words" ,
2328 " maintainers" ,
2429 " layouts" ,
30+ " personal-names" ,
2531 ],
2632 "ignorePaths" : [
33+ // Skip build directories
2734 " build*" ,
35+ // and dependencies
2836 " third_party/**" ,
29- " /.cspell_dict.txt" ,
37+ // Do not scan the dictionaries
38+ " cspell_dicts/**" ,
39+ // file containing lot of names
40+ " Acknowledgements.txt" ,
41+ // Doxygen has weird names in config
42+ " Doxyfile" ,
43+ // TODO(klecki): Check cmake spelling
44+ " *.cmake" ,
45+ " CMakeLists.txt" ,
46+ // files encoded as text
3047 " *.ipynb" ,
48+ // Internal config files and similar
3149 " *.sh" ,
3250 " *.json" ,
51+ " *.sup" ,
52+ " *.yml" ,
53+ " *.yaml" ,
54+ " *map.in" ,
55+ // test data with lots of names
3356 " *synset*" ,
57+ // Do not include C++ tests, as they use weird strings
58+ " *_test.cc" ,
59+ " *_test.cu" ,
60+ // temporary file pattern for developement
61+ " *-words.txt" ,
62+ ],
63+ "overrides" : [
64+ // Force `*.cu` and `*.cuh` files to be treated as `cpp` files:
65+ {
66+ "filename" : " **/{*.cu,*.cuh}" ,
67+ "languageId" : " cpp"
68+ },
69+ ],
70+ "languageSettings" : [
71+ // Specific, per-language settings
72+ {
73+ // use with cpp or c files
74+ "languageId" : " cpp,c" ,
75+ // turn off compound words, because it is only checking strings.
76+ "allowCompoundWords" : false ,
77+ // Only check comments and strings
78+ "includeRegExpList" : [
79+ " CStyleComment" ,
80+ " strings" ,
81+ " /([R]\" .*\\ ()[^\\ 1]*?\\ 1/g" // multiline docstrings don't want to work
82+ ],
83+
84+ "ignoreRegExpList" : [
85+ " /#include.*/" , // Exclude includes, because they are also strings.
86+ " /@param([ ]+[^ ]+)/" // match anything of form "@param <param_name>"
87+ ],
88+ },
89+ {
90+ "languageId" : " python" ,
91+ "includeRegExpList" : [
92+ " strings" ,
93+ " comments"
94+ ]
95+ }
3496 ]
3597}
0 commit comments