Jacob Dufault
11af3986ba
Better symbol resolution (ie, goto definition) for macro arguments.
2017-06-15 23:43:02 -07:00
Jacob Dufault
9d1369786f
Pre-filter completion results before sending to vscode.
...
This results in a less laggy completion experience. Before, vscode would
drop frames if handed too many completions (ie, by typing #include in a
very large project).
2017-06-15 19:28:49 -07:00
Jacob Dufault
7a71447273
Move some code out of command_line.cc
2017-06-14 22:47:41 -07:00
Jacob Dufault
4bddc95908
Fix possible race when setting diagnostics.
2017-06-13 23:29:41 -07:00
Jacob Dufault
d834d4db08
Provide code action to auto-implement methods (useful for classes or function declarations).
2017-05-29 14:18:35 -07:00
Jacob Dufault
7840b7a015
Cache global completion results.
2017-05-26 00:10:55 -07:00
Jacob Dufault
8910d0a13e
Fix warnings (almost all numeric cast-related)
2017-05-21 16:22:00 -07:00
Jacob Dufault
7a79532fff
Report document links on includes
2017-05-20 21:30:59 -07:00
Jacob Dufault
29845cc1e3
Cache code completion results for backspace character.
2017-05-20 01:07:29 -07:00
Jacob Dufault
3001faf9a8
Signature help and snippets for code completion
2017-05-15 00:29:22 -07:00
Jacob Dufault
1083a10a66
Fix some threading bugs with code completion
2017-05-09 21:52:15 -07:00
Jacob Dufault
e1e45b6dc5
Emit warning for bad working file index instead of crashing.
2017-05-06 22:34:43 -07:00
Jacob Dufault
c77531a432
Log initialization options, reactivate working file asserts.
2017-04-25 19:57:36 -07:00
Jacob Dufault
11d6623938
Update WorkingFile indexed content correctly.
...
We copy the file contents we indexed over to the index cache folder. Then we load those file contents into the WorkingFile instance as needed.
This means code lens should never get out of sync, as the index buffer cache will always be correct.
2017-04-20 23:32:18 -07:00
Jacob Dufault
ea045499b6
When looking up symbols map buffer line to index line.
...
This makes editing experience a bit smoother, as you can goto definition before saving.
2017-04-19 00:52:48 -07:00
Jacob Dufault
2e8e3d29c5
Indexer spelling lookup cannot fail
2017-04-18 16:49:55 -07:00
Jacob Dufault
26c0bfe71d
Misc fixes
2017-04-17 13:40:50 -07:00
Jacob Dufault
04a855ebc7
Much better algorithm to sync code lens index locations to the right buffer location
2017-04-16 01:09:12 -07:00
Jacob Dufault
031c0c2011
Include variable type and function signature in qualified name (better outline and workspace symbol search). Also add WIP rename provider.
2017-04-14 01:21:03 -07:00
Jacob Dufault
76b6a3d4fd
Store indexed dependencies so we can reload all files when restoring from cache. Also slightly improve goto definition source range
2017-04-10 22:26:27 -07:00
Jacob Dufault
43ad87ab8d
Some delta tracking improvements. Still not perfect but probably good enough. Also hide refs that have been deleted in source code.
2017-04-09 15:16:06 -07:00
Jacob Dufault
6e90f8db45
Enable partial document change sync, use delta info to keep references/code lens in sync when editing
2017-04-09 12:38:52 -07:00
Jacob Dufault
404b853d6f
code completion works (but is still blocking)
2017-03-26 14:40:34 -07:00