aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
Commit message (Collapse)AuthorAgeFilesLines
* Rename folderAleksey Kladov2020-02-1825-5833/+0
|
* Rename the binary to rust-analyzerAleksey Kladov2020-02-186-16/+16
|
* Fully document ra_lsp_serverAleksey Kladov2020-02-188-11/+20
|
* RefactorAleksey Kladov2020-02-182-52/+52
|
* Reduce visibilityAleksey Kladov2020-02-181-6/+9
|
* RefactorAleksey Kladov2020-02-182-4/+3
|
* Some docsAleksey Kladov2020-02-187-15/+23
|
* Better folder structureAleksey Kladov2020-02-183-0/+5
|
* Replace ra_cli mentionsLaurențiu Nicola2020-02-171-7/+7
|
* Merge ra_vfs_glob and ra_lsp_serverAleksey Kladov2020-02-177-4/+105
|
* Merge cli and ra_lsp_serverAleksey Kladov2020-02-179-17/+1043
|
* Sort depsAleksey Kladov2020-02-171-14/+15
|
* Merge #3099bors[bot]2020-02-173-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3099: Init implementation of structural search replace r=matklad a=mikhail-m1 next steps: * ignore space and other minor difference * add support to ra_cli * call rust parser to check pattern * documentation original issue #2267 Co-authored-by: Mikhail Modin <[email protected]>
| * Init implementation of structural search replaceMikhail Modin2020-02-143-0/+19
| |
* | Merge #3181bors[bot]2020-02-174-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 3181: Add ability to pass additional arguments to rustfmt. r=matklad a=Leonqn relates to #2848 Co-authored-by: Ilya Titkov <[email protected]>
| * | Add arguments to rustfmtIlya Titkov2020-02-174-0/+6
| | |
* | | Merge #3153bors[bot]2020-02-173-8/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 3153: When a single test is run, do not run others with overlapping names r=matklad a=SomeoneToIgnore Co-authored-by: Kirill Bulatov <[email protected]>
| * | Fix a slow testKirill Bulatov2020-02-161-1/+1
| | |
| * | If possible, use --exact flag when running testsKirill Bulatov2020-02-142-7/+13
| |/
* / Enable profiling for benchAleksey Kladov2020-02-161-6/+1
|/
* prevent "Play" symbol in "Run Test" code lens from rendering as emojiQuan Luu2020-02-131-1/+1
|
* Better error messages while deserializingAleksey Kladov2020-02-113-11/+17
|
* Simplify Assists interfaceAleksey Kladov2020-02-091-28/+48
| | | | | Instead of building a physical tree structure, just "tag" related assists with the same group
* to_string_lossy() -> display()Emil Lauridsen2020-02-071-4/+1
|
* Don't crash when recieving unkown file for cargo diagnostic.Emil Lauridsen2020-02-071-6/+10
|
* Remove stray todoEmil Lauridsen2020-02-031-1/+0
|
* Rework how we send diagnostics to client.Emil Lauridsen2020-02-035-70/+140
| | | | | | | | | | | | The previous way of sending from the thread pool suffered from stale diagnostics due to being canceled before we could clear the old ones. The key change is moving to sending diagnostics from the main loop thread, but doing all the hard work in the thread pool. This should provide the best of both worlds, with little to no of the downsides. This should hopefully fix a lot of issues, but we'll need testing in each individual issue to be sure.
* Avoid premature pessimizationAleksey Kladov2020-02-021-1/+0
| | | | | | The extra allocation for message should not matter here at all, but using a static string is just as ergonomic, if not more, and there's no reason to write deliberately slow code
* Small cleanupAleksey Kladov2020-01-311-4/+6
|
* Fix long loop timeoutAleksey Kladov2020-01-291-1/+1
|
* Complain loudly if the main loop is blockedAleksey Kladov2020-01-291-1/+21
|
* More uniform namingAleksey Kladov2020-01-291-7/+7
|
* Don't compute diagnostics on the main threadAleksey Kladov2020-01-291-28/+28
| | | | closes #2909
* Bump main thread priority on windowsAleksey Kladov2020-01-262-0/+22
|
* Use default threadpool sizeAleksey Kladov2020-01-251-5/+3
|
* Disable env_logger humantime featureAleksey Kladov2020-01-251-1/+1
| | | | | We rarely care about timings of events, and, when we care, we need millisecond precision
* Cancel requests during shutdownAleksey Kladov2020-01-241-1/+1
|
* Remove RWLock from check watcher.Emil Lauridsen2020-01-233-12/+11
| | | | | | | | | | | | | | @matklad mentioned this might be a good idea. So the general idea is that we don't really need the lock, as we can just clone the check watcher state when creating a snapshot. We can then use `Arc::get_mut` to get mutable access to the state from `WorldState` when needed. Running with this it seems to improve responsiveness a bit while cargo is running, but I have no hard numbers to prove it. In any case, a serialization point less is always better when we're trying to be responsive.
* Update crateskjeremy2020-01-221-1/+1
|
* Minimize visibilityAleksey Kladov2020-01-163-6/+12
|
* itertools::Either -> either::EitherKirill Bulatov2020-01-152-2/+2
|
* Apply the api design suggestionsKirill Bulatov2020-01-152-10/+19
|
* Another attempt to add multiple editsKirill Bulatov2020-01-151-4/+8
|
* Extract check task handling into functionEmil Lauridsen2020-01-151-47/+56
|
* Manage check state updates in main_loop to reduce lock contentionEmil Lauridsen2020-01-152-5/+29
|
* lsp-types 0.69.0Jeremy Kolb2020-01-151-1/+1
| | | | Stabilizes most proposed features
* Merge #2843bors[bot]2020-01-152-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 2843: Add inlay parameter name hints for call expr r=matklad a=imtsuki This patch adds Intellij-like parameter name hints for literal values in function calls. <img width="624" alt="Screenshot" src="https://user-images.githubusercontent.com/8423594/72366533-68d7f800-3735-11ea-9279-cf193ca8ca2f.png"> Signed-off-by: imtsuki <[email protected]> Co-authored-by: imtsuki <[email protected]>
| * Add inlay parameter name hints for function callsimtsuki2020-01-142-0/+2
| | | | | | | | Signed-off-by: imtsuki <[email protected]>
* | Tweak add_custom_implJeremy Kolb2020-01-141-0/+1
|/
* Log client info if presentkjeremy2020-01-131-0/+4
|