Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement `ra_lsp_server --version` | Aleksey Kladov | 2019-12-09 | 2 | -1/+32 | |
| | ||||||
* | Skip slow tests by default | Aleksey Kladov | 2019-12-07 | 1 | -0/+38 | |
| | ||||||
* | Run rustfmt with respect to Cargo.toml edition | Vincent Rouillé | 2019-12-04 | 2 | -0/+64 | |
| | ||||||
* | Merge #2451 | bors[bot] | 2019-11-30 | 4 | -10/+3 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 2451: Use env_logger instead of flexi_logger r=matklad a=AlexanderEkdahl This fixes https://github.com/rust-analyzer/rust-analyzer/issues/2335 - By default only `error` will be printed. From what I can tell this matches the current behaviour. Configured through `RUST_LOG`. - I looked through the optional dependencies for `env_logger`and I have only enabled `human_time`. Without this feature no timestamp will be shown for log messages. - `RA_LOG_DIR` feature is removed This PR adds 2 new dependencies(`env_logger` and `human_time`) and removes 6 dependencies. Co-authored-by: Alexander Ekdahl <[email protected]> | |||||
| * | Remove flexi_logger from ra_lsp_server | Alexander Ekdahl | 2019-11-30 | 4 | -10/+3 | |
| | | ||||||
* | | 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 | 8 | -12/+12 | |
| | ||||||
* | Update parking_lot and smallvec to drop some dependencies | Jeremy Kolb | 2019-11-26 | 1 | -1/+1 | |
| | ||||||
* | Ban println in lsp_server | Aleksey Kladov | 2019-11-22 | 2 | -4/+23 | |
| | ||||||
* | Merge pull request #2297 from kiljacken/master | Aleksey Kladov | 2019-11-20 | 4 | -1/+6 | |
|\ | | | | | Add fancy truncation of type hints. | |||||
| * | Move type inlay hint truncation to language server | Emil Lauridsen | 2019-11-19 | 4 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -3/+13 | |
| | | ||||||
* | | Add recursive expand in vscode | Edwin Cheng | 2019-11-19 | 3 | -0/+31 | |
|/ | ||||||
* | Disable doctests | Aleksey Kladov | 2019-11-17 | 1 | -0/+3 | |
| | ||||||
* | Update crates | kjeremy | 2019-11-07 | 1 | -2/+2 | |
| | | | | | | | Removes nodrop and extra arrayvec We have an extra crossbeam-queue and crossbeam-utils left but those should drop once rayon accepts https://github.com/rayon-rs/rayon/pull/704 | |||||
* | Use `bool` instead of `Option<bool>` and print it's value only when `true` | Martin Asquino | 2019-11-02 | 1 | -1/+1 | |
| | ||||||
* | Set `deprecated` field on `CompletionItem`s | Martin Asquino | 2019-11-02 | 1 | -0/+1 | |
| | ||||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 1 | -1/+1 | |
| | ||||||
* | 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 | 2 | -1/+2 | |
| | ||||||
* | make typing infra slightly more extensible | Aleksey Kladov | 2019-10-25 | 1 | -6/+2 | |
| | ||||||
* | document feature flags | Aleksey Kladov | 2019-10-25 | 1 | -5/+9 | |
| | ||||||
* | for highlighting, search only the current file | Aleksey Kladov | 2019-10-24 | 1 | -3/+8 | |
| | ||||||
* | don't die if a sync task panics | Aleksey Kladov | 2019-10-24 | 1 | -6/+10 | |
| | ||||||
* | 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 | |
| | ||||||
* | add test #2033 | Alex Zatelepin | 2019-10-21 | 1 | -0/+43 | |
| | ||||||
* | fixup folding ranges for "lineFoldingOnly" clients #2033 | Alex Zatelepin | 2019-10-21 | 4 | -24/+74 | |
| | ||||||
* | relative-path 1.0 | kjeremy | 2019-10-17 | 1 | -2/+2 | |
| | ||||||
* | Merge #1998 | bors[bot] | 2019-10-17 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 1998: No need to make config pub r=matklad a=kjeremy Just a drive by Co-authored-by: kjeremy <[email protected]> | |||||
| * | No need to make config pub | kjeremy | 2019-10-11 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unused dependencies | Shotaro Yamada | 2019-10-12 | 1 | -2/+0 | |
|/ | ||||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -2/+6 | |
| | ||||||
* | Use raw cfgs in json project and fix typo | oxalica | 2019-10-05 | 1 | -1/+7 | |
| | ||||||
* | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 2 | -2/+7 | |
| | ||||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 13 | -0/+26 | |
| | | | | #1856 | |||||
* | Start simplifying editing API | Aleksey Kladov | 2019-09-26 | 1 | -1/+0 | |
| | ||||||
* | move fold conversino to conv.rs | Aleksey Kladov | 2019-09-19 | 2 | -34/+28 | |
| | ||||||
* | fix typo | Aleksey Kladov | 2019-09-19 | 1 | -1/+1 | |
| | ||||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 2 | -1/+7 | |
| | | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph | |||||
* | don't deadlock on shutdown | Aleksey Kladov | 2019-09-06 | 3 | -4/+4 | |
| | | | | | | | Specifically, when we tear down IO threads, we should take care to dispose connection. closes #1775 | |||||
* | add option to disable notify | Aleksey Kladov | 2019-09-06 | 5 | -63/+130 | |
| | ||||||
* | fix renaming of modules | Aleksey Kladov | 2019-09-05 | 1 | -8/+6 | |
| | ||||||
* | lsp-types 0.61.0 | kjeremy | 2019-09-03 | 2 | -1/+2 | |
| | ||||||
* | cleanup main loop | Aleksey Kladov | 2019-08-31 | 8 | -221/+172 | |
| |