Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Add highlighting of items from other crates | Aramis Razzaghipour | 2021-05-24 | 2 | -0/+2 | |
| |/ | ||||||
* | | Update test fixtures | Laurențiu Nicola | 2021-05-24 | 10 | -0/+56 | |
| | | ||||||
* | | Bump misc deps | Laurențiu Nicola | 2021-05-24 | 1 | -1/+1 | |
| | | ||||||
* | | Don't discover workspaces when detached files are given | Kirill Bulatov | 2021-05-23 | 1 | -3/+2 | |
| | | ||||||
* | | Do not add cargo target for detached files only project | Kirill Bulatov | 2021-05-23 | 1 | -13/+22 | |
| | | ||||||
* | | Drag detached files towards loading | Kirill Bulatov | 2021-05-23 | 3 | -5/+11 | |
| | | ||||||
* | | Draft detached files retrieval | Kirill Bulatov | 2021-05-23 | 4 | -3/+21 | |
|/ | ||||||
* | Add a "Debug ItemTree" LSP request | Jonas Schievink | 2021-05-21 | 3 | -0/+25 | |
| | ||||||
* | Fix code completion not inserting borrow text when client supports ↵ | Lukas Tobias Wirth | 2021-05-20 | 1 | -3/+6 | |
| | | | | InsertAndReplace | |||||
* | Merge #8873 | bors[bot] | 2021-05-20 | 3 | -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 flag | Lukas Tobias Wirth | 2021-05-19 | 3 | -7/+21 | |
| | | ||||||
| * | Add ImportGranularity::Guess | Lukas Tobias Wirth | 2021-05-18 | 1 | -2/+4 | |
| | | ||||||
| * | MergeBehavior -> ImportGranularity | Lukas Tobias Wirth | 2021-05-18 | 3 | -16/+22 | |
| | | ||||||
* | | feat: allow clients to feature detect symbol filtering | Aleksey Kladov | 2021-05-19 | 1 | -0/+1 | |
| | | ||||||
* | | Add new LSP extension for workspace symbol lookup | alcroito | 2021-05-17 | 4 | -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 name | Aleksey Kladov | 2021-05-17 | 3 | -5/+4 | |
| | ||||||
* | minor: adjust config name | Aleksey Kladov | 2021-05-17 | 5 | -56/+22 | |
| | ||||||
* | Merge #8795 | bors[bot] | 2021-05-17 | 4 | -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 docs | John Renner | 2021-05-10 | 4 | -16/+21 | |
| | | ||||||
| * | Allow semantic tokens for strings to be disabled | John Renner | 2021-05-10 | 4 | -9/+58 | |
| | | ||||||
* | | Tag Self in impls as a TypeAlias | Lukas Wirth | 2021-05-16 | 1 | -1/+1 | |
| | | ||||||
* | | minor: more useful bench | Aleksey Kladov | 2021-05-14 | 1 | -2/+2 | |
| | | ||||||
* | | Apply async semantic token modifier to async/await keywords | hi-rustin | 2021-05-14 | 2 | -0/+2 | |
| | | | | | | | | Only async semantic token modifier | |||||
* | | Fix build script dependencies | Jonas Schievink | 2021-05-12 | 1 | -1/+1 | |
| | | ||||||
* | | Move `dot` invocation to rust-analyzer crate | Jonas Schievink | 2021-05-11 | 1 | -4/+16 | |
| | | ||||||
* | | Allow viewing the crate graph in a webview | Jonas Schievink | 2021-05-11 | 3 | -0/+15 | |
| | | ||||||
* | | Update docs | Lukas Wirth | 2021-05-10 | 1 | -2/+2 | |
| | | ||||||
* | | Give MergeBehaviour variants better names | Lukas Wirth | 2021-05-10 | 2 | -11/+13 | |
| | | ||||||
* | | internal: add rust-analyzer version to panic context | Aleksey Kladov | 2021-05-08 | 1 | -4/+17 | |
|/ | ||||||
* | Use package renaming so source doesn't say tikv | John Renner | 2021-05-07 | 1 | -2/+2 | |
| | ||||||
* | Switch from jemalloc to tikv-jemalloc | John Renner | 2021-05-07 | 1 | -2/+2 | |
| | ||||||
* | minor: standard snippet | Aleksey Kladov | 2021-05-07 | 1 | -6/+13 | |
| | ||||||
* | Merge #8674 | bors[bot] | 2021-05-05 | 1 | -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 clauses | m5tfi | 2021-04-30 | 1 | -0/+1 | |
| | | ||||||
* | | internal: env var to toggle slow benches | Aleksey Kladov | 2021-05-04 | 1 | -4/+2 | |
| | | ||||||
* | | Merge #8720 | bors[bot] | 2021-05-04 | 3 | -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 benchmark | Aleksey Kladov | 2021-05-04 | 3 | -75/+187 | |
| | | | ||||||
| * | | More searchable name | Aleksey Kladov | 2021-05-04 | 1 | -1/+1 | |
| | | | ||||||
* | | | Code review fixes | Kirill Bulatov | 2021-05-03 | 3 | -15/+29 | |
| | | | ||||||
* | | | Index retrieval fix | Kirill Bulatov | 2021-05-03 | 1 | -1/+11 | |
| | | | ||||||
* | | | Less panics in the assist resolution | Kirill Bulatov | 2021-05-03 | 1 | -2/+10 | |
| | | | ||||||
* | | | Add docs and use better naming | Kirill Bulatov | 2021-05-03 | 1 | -2/+2 | |
| | | | ||||||
* | | | Resolve single assist only | Kirill Bulatov | 2021-05-03 | 3 | -11/+24 | |
| | | | ||||||
* | | | Add a way to resolve certain assists | Kirill Bulatov | 2021-05-03 | 2 | -8/+16 | |
|/ / | ||||||
* | | fix: don't duplicate Progerss::Finised for cache priming | Aleksey Kladov | 2021-05-02 | 1 | -20/+10 | |
| | | ||||||
* | | Ensure that only one cache priming task can run at a time | Boris-Chengbiao Zhou | 2021-04-30 | 2 | -0/+18 | |
|/ | | | | Fixes #8632. | |||||
* | internal: ensure that client and server-side configs are not mixed up | Aleksey Kladov | 2021-04-28 | 1 | -2/+5 | |
| | | | | https://github.com/rust-lang/rust/issues/84647 would help big time here. | |||||
* | Merge #8679 | bors[bot] | 2021-04-27 | 1 | -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 notification | Aleksey Kladov | 2021-04-27 | 1 | -0/+6 | |
| | | | | | | | | Closes #6782, #6772 | |||||
* | | Return ServerNotInitialized according to the spec | Jeremy Kolb | 2021-04-27 | 1 | -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 |