Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #3099 | bors[bot] | 2020-02-17 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 replace | Mikhail Modin | 2020-02-14 | 1 | -0/+5 |
| | | |||||
* | | Merge #3181 | bors[bot] | 2020-02-17 | 1 | -0/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 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 rustfmt | Ilya Titkov | 2020-02-17 | 1 | -0/+1 |
| |/ | |||||
* / | If possible, use --exact flag when running tests | Kirill Bulatov | 2020-02-14 | 1 | -2/+2 |
|/ | |||||
* | prevent "Play" symbol in "Run Test" code lens from rendering as emoji | Quan Luu | 2020-02-13 | 1 | -1/+1 |
| | |||||
* | Better error messages while deserializing | Aleksey Kladov | 2020-02-11 | 1 | -1/+2 |
| | |||||
* | Simplify Assists interface | Aleksey Kladov | 2020-02-09 | 1 | -28/+48 |
| | | | | | Instead of building a physical tree structure, just "tag" related assists with the same group | ||||
* | Remove stray todo | Emil Lauridsen | 2020-02-03 | 1 | -1/+0 |
| | |||||
* | Rework how we send diagnostics to client. | Emil Lauridsen | 2020-02-03 | 1 | -29/+8 |
| | | | | | | | | | | | | 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. | ||||
* | Small cleanup | Aleksey Kladov | 2020-01-31 | 1 | -4/+6 |
| | |||||
* | Remove RWLock from check watcher. | Emil Lauridsen | 2020-01-23 | 1 | -3/+2 |
| | | | | | | | | | | | | | | @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. | ||||
* | Minimize visibility | Aleksey Kladov | 2020-01-16 | 1 | -4/+6 |
| | |||||
* | itertools::Either -> either::Either | Kirill Bulatov | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Apply the api design suggestions | Kirill Bulatov | 2020-01-15 | 1 | -10/+18 |
| | |||||
* | Another attempt to add multiple edits | Kirill Bulatov | 2020-01-15 | 1 | -4/+8 |
| | |||||
* | Merge #2843 | bors[bot] | 2020-01-15 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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 calls | imtsuki | 2020-01-14 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: imtsuki <[email protected]> | ||||
* | | Tweak add_custom_impl | Jeremy Kolb | 2020-01-14 | 1 | -0/+1 |
|/ | |||||
* | Basic DocumentHighlightKind support for assignments | Jeremy Kolb | 2020-01-10 | 1 | -10/+24 |
| | |||||
* | Implement proposed CallHierarchy feature | Jeremy Kolb | 2020-01-08 | 1 | -2/+96 |
| | | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts | ||||
* | Adds a way to limits reference search by StructLiteral | Mikhail Modin | 2020-01-08 | 1 | -6/+9 |
| | |||||
* | Initial implementation of cargo check watching | Emil Lauridsen | 2019-12-25 | 1 | -1/+27 |
| | |||||
* | Add some module docs | Jeremy Kolb | 2019-12-21 | 3 | -3/+4 |
| | |||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Revert "Revert "Support LSP 3.15"" | Aleksey Kladov | 2019-12-11 | 1 | -1/+4 |
| | | | | This reverts commit 1e0bf205eff81f04c0e1e6c208c3489327520c3f. | ||||
* | Revert "Support LSP 3.15" | Aleksey Kladov | 2019-12-11 | 1 | -4/+1 |
| | | | | This reverts commit 712700d8e027b108f9c4f8fa9acc2f25e453b6d1. | ||||
* | Support LSP 3.15 | Jeremy Kolb | 2019-12-11 | 1 | -1/+4 |
| | | | | This merely upgrades our protocol support. It does not add any of the new features. | ||||
* | Run rustfmt with respect to Cargo.toml edition | Vincent Rouillé | 2019-12-04 | 1 | -0/+6 |
| | |||||
* | Move identifier check to analysis | Wilco Kusee | 2019-11-29 | 1 | -11/+1 |
| | |||||
* | Also allow renaming to underscore | Wilco Kusee | 2019-11-29 | 1 | -1/+3 |
| | |||||
* | Only allow renames to valid identifiers | Wilco Kusee | 2019-11-29 | 1 | -1/+7 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 2 | -4/+4 |
| | |||||
* | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
|\ | | | | | Add fancy truncation of type hints. | ||||
| * | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a general truncation framework for HirFormatter that keeps track of how much has been output so far. This information can then be used to perform truncation inside the language server, instead of relying on the client. Initial support is implemented for truncating types hints using the maxInlayHintLength server config option. The existing solution in the VSCode extension has been removed in favor of letting the server truncate type hints. | ||||
* | | Change return type of expand_macro | Edwin Cheng | 2019-11-19 | 1 | -2/+5 |
| | | |||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 1 | -0/+15 |
|/ | |||||
* | Profile all request handlers | kjeremy | 2019-10-29 | 1 | -0/+19 |
| | |||||
* | disable the new typing handler for `->` | Aleksey Kladov | 2019-10-25 | 1 | -0/+9 |
| | | | | It doesn't actually work with LSP | ||||
* | insert space after `->` | Aleksey Kladov | 2019-10-25 | 1 | -0/+1 |
| | |||||
* | make typing infra slightly more extensible | Aleksey Kladov | 2019-10-25 | 1 | -6/+2 |
| | |||||
* | for highlighting, search only the current file | Aleksey Kladov | 2019-10-24 | 1 | -3/+8 |
| | |||||
* | add couple of profiling calls | Aleksey Kladov | 2019-10-23 | 1 | -0/+4 |
| | |||||
* | fix highlighting | Ekaterina Babshukova | 2019-10-22 | 1 | -0/+1 |
| | |||||
* | restructure a bit | Ekaterina Babshukova | 2019-10-22 | 1 | -1/+1 |
| | |||||
* | make `handle_references` accept refs from other files | Ekaterina Babshukova | 2019-10-22 | 1 | -4/+9 |
| | |||||
* | fixup folding ranges for "lineFoldingOnly" clients #2033 | Alex Zatelepin | 2019-10-21 | 1 | -2/+8 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 3 | -0/+6 |
| | | | | #1856 | ||||
* | move fold conversino to conv.rs | Aleksey Kladov | 2019-09-19 | 1 | -32/+6 |
| | |||||
* | fix typo | Aleksey Kladov | 2019-09-19 | 1 | -1/+1 |
| |