aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add highlighting of items from other cratesAramis Razzaghipour2021-05-242-0/+2
| |/
* | Update test fixturesLaurențiu Nicola2021-05-2410-0/+56
| |
* | Bump misc depsLaurențiu Nicola2021-05-241-1/+1
| |
* | Don't discover workspaces when detached files are givenKirill Bulatov2021-05-231-3/+2
| |
* | Do not add cargo target for detached files only projectKirill Bulatov2021-05-231-13/+22
| |
* | Drag detached files towards loadingKirill Bulatov2021-05-233-5/+11
| |
* | Draft detached files retrievalKirill Bulatov2021-05-234-3/+21
|/
* Add a "Debug ItemTree" LSP requestJonas Schievink2021-05-213-0/+25
|
* Fix code completion not inserting borrow text when client supports ↵Lukas Tobias Wirth2021-05-201-3/+6
| | | | InsertAndReplace
* Merge #8873bors[bot]2021-05-203-20/+42
|\ | | | | | | | | | | | | | | | | | | | | | | 8873: Implement import-granularity guessing r=matklad a=Veykril This renames our `MergeBehavior` to `ImportGranularity` as rustfmt has it as the purpose of them are basically the same. `ImportGranularity::Preserve` currently has no specific purpose for us as we don't have an organize imports assist yet, so it currently acts the same as `ImportGranularity::Item`. We now try to guess the import style on a per file basis and fall back to the user granularity setting if the file has no specific style yet or where it is ambiguous. This can be turned off by setting `import.enforceGranularity` to `true`. Closes https://github.com/rust-analyzer/rust-analyzer/issues/8870 Co-authored-by: Lukas Tobias Wirth <[email protected]>
| * Replace ImportGranularity::Guess with guessing boolean flagLukas Tobias Wirth2021-05-193-7/+21
| |
| * Add ImportGranularity::GuessLukas Tobias Wirth2021-05-181-2/+4
| |
| * MergeBehavior -> ImportGranularityLukas Tobias Wirth2021-05-183-16/+22
| |
* | feat: allow clients to feature detect symbol filteringAleksey Kladov2021-05-191-0/+1
| |
* | Add new LSP extension for workspace symbol lookupalcroito2021-05-174-7/+148
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new extension allows filtering of workspace symbool lookup results by search scope or search kind. Filtering can be configured in 3 different ways: - The '#' or '*' markers can be added inline with the symbol lookup query. The '#' marker means symbols should be looked up in the current workspace and any dependencies. If not specified, only current workspace is considered. The '*' marker means all kinds of symbols should be looked up (types, functions, etc). If not specified, only type symbols are returned. - Each LSP request can take an optional search_scope or search_kind argument query parameter. - Finally there are 2 global config options that can be set for all requests served by the active RA instance. Add support for setting the global config options to the VSCode extension. The extension does not use the per-request way, but it's useful for other IDEs. The latest version of VSCode filters out the inline markers, so currently the only reasonable way to use the new functionality is via the global config.
* internal: use more evocative test folder nameAleksey Kladov2021-05-173-5/+4
|
* minor: adjust config nameAleksey Kladov2021-05-175-56/+22
|
* Merge #8795bors[bot]2021-05-174-10/+64
|\ | | | | | | | | | | | | | | | | | | 8795: Allow semantic tokens for strings to be disabled r=matklad a=djrenren Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7111 Pretty straightforward change, but open to any suggestions if there's a more recommended testing strategy than what I went with. Co-authored-by: John Renner <[email protected]>
| * Formatting and docsJohn Renner2021-05-104-16/+21
| |
| * Allow semantic tokens for strings to be disabledJohn Renner2021-05-104-9/+58
| |
* | Tag Self in impls as a TypeAliasLukas Wirth2021-05-161-1/+1
| |
* | minor: more useful benchAleksey Kladov2021-05-141-2/+2
| |
* | Apply async semantic token modifier to async/await keywordshi-rustin2021-05-142-0/+2
| | | | | | | | Only async semantic token modifier
* | Fix build script dependenciesJonas Schievink2021-05-121-1/+1
| |
* | Move `dot` invocation to rust-analyzer crateJonas Schievink2021-05-111-4/+16
| |
* | Allow viewing the crate graph in a webviewJonas Schievink2021-05-113-0/+15
| |
* | Update docsLukas Wirth2021-05-101-2/+2
| |
* | Give MergeBehaviour variants better namesLukas Wirth2021-05-102-11/+13
| |
* | internal: add rust-analyzer version to panic contextAleksey Kladov2021-05-081-4/+17
|/
* Use package renaming so source doesn't say tikvJohn Renner2021-05-071-2/+2
|
* Switch from jemalloc to tikv-jemallocJohn Renner2021-05-071-2/+2
|
* minor: standard snippetAleksey Kladov2021-05-071-6/+13
|
* Merge #8674bors[bot]2021-05-051-0/+1
|\ | | | | | | | | | | | | | | | | | | 8674: fix for #8664: Emit folding ranges for multi-line where clauses r=matklad a=m5tfi #8664 I added a test that assert folding multi-line where clauses while leaving single lined one. Please, let me know if the code needs further improvements. Co-authored-by: m5tfi <[email protected]>
| * add folding for where clausesm5tfi2021-04-301-0/+1
| |
* | internal: env var to toggle slow benchesAleksey Kladov2021-05-041-4/+2
| |
* | Merge #8720bors[bot]2021-05-043-75/+187
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8720: internal: add integrated completion benchmark r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | internal: add integrated completion benchmarkAleksey Kladov2021-05-043-75/+187
| | |
| * | More searchable nameAleksey Kladov2021-05-041-1/+1
| | |
* | | Code review fixesKirill Bulatov2021-05-033-15/+29
| | |
* | | Index retrieval fixKirill Bulatov2021-05-031-1/+11
| | |
* | | Less panics in the assist resolutionKirill Bulatov2021-05-031-2/+10
| | |
* | | Add docs and use better namingKirill Bulatov2021-05-031-2/+2
| | |
* | | Resolve single assist onlyKirill Bulatov2021-05-033-11/+24
| | |
* | | Add a way to resolve certain assistsKirill Bulatov2021-05-032-8/+16
|/ /
* | fix: don't duplicate Progerss::Finised for cache primingAleksey Kladov2021-05-021-20/+10
| |
* | Ensure that only one cache priming task can run at a timeBoris-Chengbiao Zhou2021-04-302-0/+18
|/ | | | Fixes #8632.
* internal: ensure that client and server-side configs are not mixed upAleksey Kladov2021-04-281-2/+5
| | | | https://github.com/rust-lang/rust/issues/84647 would help big time here.
* Merge #8679bors[bot]2021-04-271-0/+6
|\ | | | | | | | | | | | | | | | | 8679: fix: don't show error message for a valid notification r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * fix: don't show error message for a valid notificationAleksey Kladov2021-04-271-0/+6
| | | | | | | | Closes #6782, #6772
* | Return ServerNotInitialized according to the specJeremy Kolb2021-04-271-1/+1
| | | | | | | | | | | | | | According to the spec we should return ServerNotInitialized if the server is waiting for an initialize request and something else comes in. Upgrading to lsp-server 0.5.1 will do this and retry until the initialize request comes in. Fixes #8581