Jacob Dufault
2e4c5474da
Index implicit function calls.
2017-05-22 23:47:27 -07:00
Jacob Dufault
1598129d8b
Fix file finding on windows when path case changes.
2017-05-22 00:14:11 -07:00
Jacob Dufault
8d9374ee59
Disable logging of filtered project paths, but let user enable it in config.
2017-05-21 23:45:47 -07:00
Jacob Dufault
da6a8f335f
Only delta update on file save if the file is already imported.
2017-05-21 23:18:38 -07:00
Jacob Dufault
dc605bc5c3
Don't import defs without definition information into querydb
2017-05-21 23:09:09 -07:00
Jacob Dufault
440fa950a0
Use -xc (instead of -xc++) for files ending with .c.
...
A good chunk of c files will fail to compile under c++ mode.
2017-05-21 23:06:30 -07:00
Jacob Dufault
639bf8a431
Show error message when regex parsing fails.
2017-05-21 22:54:27 -07:00
Jacob Dufault
c66c927c1f
Fix some more warnings from clang
2017-05-21 16:48:21 -07:00
Jacob Dufault
8910d0a13e
Fix warnings (almost all numeric cast-related)
2017-05-21 16:22:00 -07:00
Jacob Dufault
e182ac12ae
Elide long include path proposals
2017-05-21 14:01:52 -07:00
Jacob Dufault
89b34a359c
Log message if creating regex fails
2017-05-21 14:00:48 -07:00
Jacob Dufault
864ff122d8
Scan include directories for include completion candidates.
2017-05-21 12:51:15 -07:00
Jacob Dufault
a058eb8e95
Small nits
2017-05-21 00:56:21 -07:00
Jacob Dufault
3fe824e208
Fix clang compile
2017-05-21 00:43:10 -07:00
Jacob Dufault
94bd6fc301
Add #include auto-complete.
2017-05-21 00:37:53 -07:00
Jacob Dufault
7a79532fff
Report document links on includes
2017-05-20 21:30:59 -07:00
Jacob Dufault
41e1dff4c9
Goto definition for includes
2017-05-20 20:47:20 -07:00
Jacob Dufault
c03f99ce1f
Remove foo from source
2017-05-20 19:00:02 -07:00
Jacob Dufault
529f309c45
Index macros (treat them like variables)
2017-05-20 18:58:54 -07:00
Jacob Dufault
d3bd31604e
Code lens improvements
...
- Hide declaration from list of refs on types and variables (so now they will show as '0 refs')
- Let the user hide code lens on parameter and function-local variables
2017-05-20 18:26:50 -07:00
Jacob Dufault
44153f94e8
Fix auto variable type deduction when auto is a pointer.
2017-05-20 17:19:32 -07:00
Jacob Dufault
b79b98f464
Darken/fade code disabled by preprocessor.
2017-05-20 14:45:46 -07:00
Jacob Dufault
f3d00dea23
Implement code actions using clang FixIts
...
- Also make server check client version and show an error message if they do not match.
2017-05-20 12:31:07 -07:00
Jacob Dufault
440c6c5325
Small code cleanup
2017-05-20 01:23:01 -07:00
Jacob Dufault
b258f2dd0b
Cache signature completion as well.
...
- Also check file path when validating completion cache.
2017-05-20 01:20:37 -07:00
Jacob Dufault
9d3187a06c
Don't bother saving if we reported diagnostics.
...
Always report if file has diagnostics, always report if file is interactive.
2017-05-20 01:07:54 -07:00
Jacob Dufault
29845cc1e3
Cache code completion results for backspace character.
2017-05-20 01:07:29 -07:00
Jacob Dufault
9ae526089a
Fix removing entries from querydb.
...
I expect this will resolve most of the issues with the index getting messed up when actively editing a file.
2017-05-20 00:33:11 -07:00
Jacob Dufault
b3d5327342
Real-time diagnostics via clang_codeCompleteAt
2017-05-19 23:35:14 -07:00
Jacob Dufault
54fed027ce
Fix CopyFileTo when there is already a destination file.
...
This fixes reindexing files, as before we would update the json but not
the indexed file contents which caused code lens and references to get
out of sync.
2017-05-19 17:41:27 -07:00
Jacob Dufault
3e00e5fc0c
Log compile arguments when there is a libclang failure
2017-05-19 09:51:42 -07:00
Jacob Dufault
00143bef8e
Log index updates before applying them
2017-05-19 00:02:01 -07:00
Jacob Dufault
f9787f83d8
Don't serialize diagnostics
2017-05-18 22:44:23 -07:00
Jacob Dufault
cafa2f103e
Ignore *.pyc files
2017-05-18 18:16:13 -07:00
Jacob Dufault
cf45c91bcd
A bit more work on making a faster compile_commands.json loader
2017-05-18 18:14:53 -07:00
Jacob Dufault
1d6477c3e9
Fix compile
2017-05-18 18:14:15 -07:00
Jacob Dufault
866faed4fc
Exit when there is no more stdin input
2017-05-18 18:13:51 -07:00
Jacob Dufault
2b407e0bce
Basic performance data tracking during indexing
2017-05-17 00:08:45 -07:00
Jacob Dufault
f2d46e86b7
Don't force index updates on primary translation unit when updating dependency indexes.
2017-05-16 23:09:53 -07:00
Jacob Dufault
c5f29c277b
Fix off-by-one error for resolving document column to symbol column
2017-05-16 23:05:12 -07:00
Jacob Dufault
59a077d8a9
Fix race condition when saving indexed file contents to cache.
2017-05-16 23:01:51 -07:00
Jacob Dufault
671a54c7af
Move most of the information in document outline to containerName. This makes searching nicer.
2017-05-16 00:45:46 -07:00
Jacob Dufault
f907d1d1b9
When indexing make sure we use the correct contents.
...
Hopefully this will make overlapping saves more robust.
2017-05-16 00:38:15 -07:00
Jacob Dufault
d8567c75cc
More robust approach for tracking indexed file.
2017-05-16 00:26:26 -07:00
Jacob Dufault
83f8c7afa8
Better insert text for STL types
2017-05-15 00:58:29 -07:00
Jacob Dufault
b727fc5a36
Fix signature help for calls prefixed by a namespace
2017-05-15 00:37:47 -07:00
Jacob Dufault
6ad60c4299
Update README.md
2017-05-15 00:31:44 -07:00
Jacob Dufault
3001faf9a8
Signature help and snippets for code completion
2017-05-15 00:29:22 -07:00
Jacob Dufault
7f33861526
Don't serialize diagnostics for tests.
2017-05-15 00:29:22 -07:00
Jacob Dufault
2c20cf0157
Add some partial update tests
2017-05-15 00:29:22 -07:00