Fangrui Song
|
08b09bc1da
|
Redesign SymbolRef, Ref, Use
Remove lsLocationEx
|
2019-11-09 20:03:28 -08:00 |
|
Fangrui Song
|
fa2234c894
|
Use non-inferred entries and build preamble for .h; index on didOpen if no pending requests; documentHighlight
|
2019-11-09 20:03:28 -08:00 |
|
Fangrui Song
|
62d0c49b0a
|
Rename hierarchies to $ccls/{call,inheritance,member}
bool flat = false; -> bool hierarchy = false; (set it to true to enable hierarchical view)
Delete $ccls/callers (which is what $ccls/call does now)
|
2019-11-09 19:58:32 -08:00 |
|
Fangrui Song
|
db50943cd7
|
textDocument/documentSymbol
|
2019-11-09 19:58:32 -08:00 |
|
Fangrui Song
|
27a5b24b59
|
Add license notice
|
2019-10-24 01:01:21 -07:00 |
|
Fangrui Song
|
39787d2851
|
clang-format
DEF CON 26 CTF
|
2019-10-24 01:01:21 -07:00 |
|
Fangrui Song
|
da545f1139
|
$ccls/vars: differentiate local/field/parameter
|
2019-10-24 00:17:28 -07:00 |
|
Fangrui Song
|
bb08fdfa02
|
Remove $ccls/random; remove DB::symbols; decrease DB::entities grow rate
|
2019-10-24 00:17:25 -07:00 |
|
Fangrui Song
|
6d96d9dce2
|
textDocument/references: include base references by default
|
2019-10-23 21:56:51 -07:00 |
|
Fangrui Song
|
c279090ac5
|
cmake: link against zlib; use StringMap
|
2019-10-23 21:56:51 -07:00 |
|
Fangrui Song
|
36729818c3
|
experimental/filesystem -> LLVM/Support/FileSystem.h; sparsepp -> DenseMap
|
2019-10-23 21:56:51 -07:00 |
|
Fangrui Song
|
eb057c7acd
|
Use usr as primary key and remove id; simplify import pipeline
Remove on_id_map, IndexMergeIndexUpdates
|
2019-10-23 21:56:51 -07:00 |
|
Fangrui Song
|
9ed024f5cc
|
Simplify lsp.h and fix qual_name_offset when SetVarDetail is called on an existing variable
|
2019-10-23 21:56:51 -07:00 |
|
Fangrui Song
|
cdc7544471
|
Better definition/references on #include lines
|
2019-10-23 21:56:50 -07:00 |
|
Fangrui Song
|
fdb562bb42
|
Use global config.
|
2019-10-23 21:56:50 -07:00 |
|
Fangrui Song
|
b839389f77
|
Resurrection of ccls
|
2019-10-23 21:56:50 -07:00 |
|
Jacob Dufault
|
db7e25c542
|
Reformat
|
2019-10-23 21:56:50 -07:00 |
|
Fangrui Song
|
57f2c325f0
|
parentKind in semantic highlighting: SymbolKind -> lsSymbolKind
|
2018-03-07 00:34:20 -08:00 |
|
Fangrui Song
|
6815f1312f
|
Add semantic parent to textDocument/references
|
2018-03-06 20:05:32 -08:00 |
|
Fangrui Song
|
214eded2cb
|
Support listing local variables in memberHierarchy and better handling of locations for typedef; remove cquery_call_tree.cc
|
2018-02-26 21:32:58 -08:00 |
|
Fangrui Song
|
c68548a2ca
|
Remove <regex> from lex_utils.h and separate language_server_api.h
% time clang++ -fsyntax-only -std=c++11 a.cc
<iostream> => 0.35s
<regex> => 0.68s
|
2018-02-23 16:33:48 -08:00 |
|
Fangrui Song
|
411d49951d
|
Reduce structs in language_server_api.h and clarify query_utils.h
|
2018-02-23 15:57:11 -08:00 |
|
Jacob Dufault
|
01fe19f280
|
Format code
|
2018-02-21 23:34:32 -08:00 |
|
Fangrui Song
|
1a4da727da
|
Index namespace alias and MSVC __interface; add --enable-assert to waf; add lexical container to xref requests
|
2018-02-20 22:13:58 -08:00 |
|
Fangrui Song
|
909c2e247a
|
Simplify query_utils
|
2018-02-20 18:30:58 -08:00 |
|
Fangrui Song
|
65ba98c3f8
|
Add Config::maxXrefResults and improve textDocument/definition
-std=c++11 => -std=c++14 for generic lambda
|
2018-02-20 16:19:26 -08:00 |
|
Fangrui Song
|
f3134d564c
|
Simplify Index* Query*
|
2018-02-18 10:43:27 -08:00 |
|
Fangrui Song
|
cfdb6bf422
|
Change optional<...> QueryVar::Def to forward_list
Related to #403
|
2018-02-17 22:09:03 -08:00 |
|
Fangrui Song
|
a1e1d115bf
|
Simplify GetDefinitionSpellingOfSymbol
|
2018-02-13 12:15:31 -08:00 |
|
Fangrui Song
|
afd38cbce9
|
Add Id<QueryFile> file; to Use and simplify query.cc
|
2018-02-11 20:43:54 -08:00 |
|
Fangrui Song
|
aee79b3617
|
variable_type -> type; remove parent_{id,kind} (they should be inferred from Def::spell; clean up SymbolIdx, Reference, SymbolRef
|
2018-02-11 10:28:26 -08:00 |
|
Fangrui Song
|
e019968f51
|
Add lexical parent to Func
|
2018-02-10 20:30:27 -08:00 |
|
Fangrui Song
|
9a6cbafa04
|
Add lexical parent to Type/Var and definition_spelling->spell, definition_extent->extent
|
2018-02-10 20:23:46 -08:00 |
|
Fangrui Song
|
3ba9209eea
|
Add config->extension.referenceContainer
|
2018-02-10 18:34:34 -08:00 |
|
Fangrui Song
|
420e84329b
|
Derive SymbolRef,Use from Reference and add lexical container to func/var/type uses
|
2018-02-10 17:33:56 -08:00 |
|
Fangrui Song
|
bd4482df5e
|
GetDefinitionSpellingOfSymbol: optional -> Maybe
|
2018-02-10 00:19:17 -08:00 |
|
Fangrui Song
|
e7c90b62b5
|
$cquery/base for virtual void f() = 0
|
2018-02-09 23:12:34 -08:00 |
|
Fangrui Song
|
50cf05763b
|
Query* structs: QueryLocation -> Reference
|
2018-02-09 17:50:47 -08:00 |
|
Fangrui Song
|
c4bd7ef44b
|
Rename Reference members
|
2018-02-09 14:12:35 -08:00 |
|
Fangrui Song
|
a131ccdcb4
|
Remove ToQueryLocation
|
2018-02-08 23:43:18 -08:00 |
|
Fangrui Song
|
67e8132dbe
|
struct QueryFuncRef : Reference {};
|
2018-02-08 23:10:54 -08:00 |
|
Fangrui Song
|
82b429bfbc
|
QueryLocation -> Reference
|
2018-02-08 21:26:34 -08:00 |
|
Fangrui Song
|
2d255da07b
|
{Index,Query}Type::uses: Range/QueryLocation -> Reference
And add serialization for Reference
|
2018-02-08 18:26:09 -08:00 |
|
Fangrui Song
|
1a82f1f113
|
We may should represent Query{Func,Type,Var} as a bag of definitions and references
|
2018-02-05 10:16:43 -08:00 |
|
Fangrui Song
|
1349cbfde3
|
Simplify EachWithGen
|
2018-02-04 13:43:29 -08:00 |
|
Fangrui Song
|
985dec101d
|
Generation
|
2018-02-03 19:51:30 -08:00 |
|
Fangrui Song
|
e5128d3db9
|
Wrap Query* references with WithGen
|
2018-02-03 17:44:20 -08:00 |
|
Fangrui Song
|
3d6d000297
|
Add Generation gen; to Query{Func,Type,Var} and corresponding ToQueryLocation
|
2018-02-03 14:52:26 -08:00 |
|
Fangrui Song
|
37809def7c
|
Add bool include_decl parameter to GetUsesOfSymbol
Fixes #350
Function declarations/definitions are not counted if include_decl is
false.
We should do similar thing to Var and Type.
|
2018-01-26 17:31:50 -08:00 |
|
Jacob Dufault
|
dce1365eb6
|
Move import pipeline into import_pipeline.cc
|
2017-12-23 17:30:55 -08:00 |
|