Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename completion -> ide_completion | Aleksey Kladov | 2021-02-17 | 1 | -4/+4 |
| | | | | We don't have completion-related PRs in flight, so lets do it | ||||
* | Make utf8 default, implement utf16 in terms of it | Aleksey Kladov | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | Prepare for utf-8 offsets | Aleksey Kladov | 2021-02-16 | 1 | -1/+1 |
| | |||||
* | Moved CodeLens to ide crate | ivan770 | 2021-02-13 | 1 | -0/+14 |
| | |||||
* | Use NameLike in FileReference directly as its not exported from ide anymore | Lukas Wirth | 2021-02-12 | 1 | -1/+1 |
| | |||||
* | Refactor reference searching to work with the ast | Lukas Wirth | 2021-02-12 | 1 | -2/+2 |
| | |||||
* | Move SymbolKind to ide_db | Lukas Wirth | 2021-01-20 | 1 | -1/+1 |
| | |||||
* | Remove obsolete RangeInfo usage in references | Lukas Wirth | 2021-01-18 | 1 | -3/+1 |
| | |||||
*-. | Merge #7297 #7338 | bors[bot] | 2021-01-18 | 1 | -0/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7297: Propose trait associated items and autoimport traits on completion r=matklad a=SomeoneToIgnore ![trait_imports](https://user-images.githubusercontent.com/2690773/104819998-6faeb480-583a-11eb-8b45-b7351b51b90e.gif) Closes #7248 7338: Parse `impl const Trait` r=Veykril a=Veykril Closes #7313 bors r+ Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | | Add flyimport completion for trait assoc items | Kirill Bulatov | 2021-01-16 | 1 | -0/+2 |
| | | | |||||
* | | | Remove obsolete RangeInfo usage in rename | Lukas Wirth | 2021-01-18 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Minor | Aleksey Kladov | 2021-01-18 | 1 | -8/+5 |
|/ | |||||
* | Share import_assets and related entities | Kirill Bulatov | 2021-01-16 | 1 | -1/+1 |
| | |||||
* | Phase out SourceFileEdits in favour of a plain HashMap | Lukas Wirth | 2021-01-14 | 1 | -1/+1 |
| | |||||
* | Group file source edits by FileId | Lukas Wirth | 2021-01-14 | 1 | -2/+2 |
| | |||||
* | Group references by FileId | Lukas Wirth | 2021-01-12 | 1 | -1/+1 |
| | |||||
* | Split punctuation semantic highlighting up into more tags | Lukas Wirth | 2021-01-10 | 1 | -1/+1 |
| | |||||
* | Shorten names | Aleksey Kladov | 2021-01-09 | 1 | -3/+3 |
| | |||||
* | Shorten frequent names | Aleksey Kladov | 2021-01-09 | 1 | -1/+1 |
| | |||||
* | Align config's API with usage | Aleksey Kladov | 2021-01-06 | 1 | -1/+1 |
| | | | | The config now is mostly immutable, optimize for that. | ||||
* | YAGNI active_resolve_capabilities | Aleksey Kladov | 2021-01-06 | 1 | -2/+2 |
| | | | | | | | | | This leaks a lot of LSP details into ide layer, which we want to avoid: https://github.com/rust-analyzer/rust-analyzer/tree/c9cec381bcfd97e5f3536e31a9c546ab5c0665e6/docs/dev#lsp-independence Additionally, all what this infra does is providing a toggle for auto-import completion, but we already have one! | ||||
* | Merge #7068 | bors[bot] | 2021-01-03 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7068: Add VSCode command to view the hir of a function body r=theotherphil a=theotherphil Will fix https://github.com/rust-analyzer/rust-analyzer/issues/7061. Very rough initial version just to work out where I needed to wire everything up. @matklad would you be happy merging a hir visualiser of some kind? If so, do you have any thoughts on what you'd like it show, and how? I've spent very little time on this thus far, so I'm fine with throwing away the contents of this PR, but I want to avoid taking the time to make this more polished/interactive/useful only to discover that no-one else has any interest in this functionality. ![image](https://user-images.githubusercontent.com/1974256/103236081-bb58f700-493b-11eb-9d12-55ae1b870f8f.png) Co-authored-by: Phil Ellison <[email protected]> | ||||
| * | Initial implementation of view-hir command | Phil Ellison | 2020-12-28 | 1 | -0/+5 |
| | | |||||
* | | Avoid a couple of allocations | Laurențiu Nicola | 2020-12-29 | 1 | -1/+1 |
|/ | |||||
* | Simplify assists resolution API | Aleksey Kladov | 2020-12-26 | 1 | -14/+8 |
| | | | | | | Assist vs UnresolvedAssist split doesn't really pull its weight. This is especially bad if we want to include `Assist` as a field of diagnostics, where we'd have to make the thing generic. | ||||
* | pit-of-success API for unresolved code actions | Aleksey Kladov | 2020-12-24 | 1 | -11/+11 |
| | |||||
* | Implement workspace/willRenameFiles for single-level file moves | Jeremy Kolb | 2020-12-23 | 1 | -0/+8 |
| | | | | Renames modules during file rename if they're in the same directory. | ||||
* | Don't expose SyntaxKind from IDE API | Aleksey Kladov | 2020-12-18 | 1 | -1/+1 |
| | | | | | | SyntaxKind is somewhat of an internal type, but IDE is using it to basically specify an icon. Let's have a dedicated entity for this instead. | ||||
* | Cleaup imports | Aleksey Kladov | 2020-12-18 | 1 | -7/+7 |
| | | | | ide should re-export everything it needs. | ||||
* | Lifetime reference search | Lukas Wirth | 2020-12-16 | 1 | -0/+7 |
| | |||||
* | Simplify | Kirill Bulatov | 2020-12-07 | 1 | -1/+0 |
| | |||||
* | Use stateless completion resolve | Kirill Bulatov | 2020-12-07 | 1 | -0/+22 |
| | |||||
* | Remove the state | Kirill Bulatov | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | Make completion resolve async | Kirill Bulatov | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | Simplify import edit calculation | Kirill Bulatov | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | Properly fill client completion resolve capabilities data | Kirill Bulatov | 2020-12-07 | 1 | -2/+2 |
| | |||||
* | Working resolve completion imports prototype | Kirill Bulatov | 2020-12-07 | 1 | -1/+2 |
| | |||||
* | Extract the import code into the shared module | Kirill Bulatov | 2020-11-27 | 1 | -3/+1 |
| | |||||
* | Remove more unreachable pubs | Aleksey Kladov | 2020-11-02 | 1 | -6/+8 |
| | |||||
* | Re-export base_db from ide_db | Igor Aleksanov | 2020-10-24 | 1 | -4/+4 |
| | |||||
* | Make call_info a part of ide_db | Igor Aleksanov | 2020-10-24 | 1 | -2/+2 |
| | |||||
* | Extract call_info and completion into separate crates | Igor Aleksanov | 2020-10-18 | 1 | -6/+4 |
| | |||||
* | Improve prime_caches and display its progress | Jonas Schievink | 2020-10-12 | 1 | -2/+6 |
| | |||||
* | Merge #5917 | bors[bot] | 2020-10-12 | 1 | -1/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5917: Add a command to open docs for the symbol under the cursor r=matklad a=zacps #### Todo - [ ] Decide if there should be a default keybind or context menu entry - [x] Figure out how to get the documentation path for methods and other non-top-level defs - [x] Design the protocol extension. In future we'll probably want parameters for local/remote documentation URLs, so that should maybe be done in this PR? - [x] Code organisation - [x] Tests Co-authored-by: Zac Pullar-Strecker <[email protected]> | ||||
| * | Code reorganisation and field support | Zac Pullar-Strecker | 2020-10-08 | 1 | -1/+1 |
| | | |||||
| * | Changes from review | Zac Pullar-Strecker | 2020-10-08 | 1 | -1/+1 |
| | | |||||
| * | Rename ide::link_rewrite -> ide::doc_links & tidy imports | Zac Pullar-Strecker | 2020-10-08 | 1 | -3/+3 |
| | | |||||
| * | WIP: Command to open docs under cursor | Zac Pullar-Strecker | 2020-10-08 | 1 | -0/+8 |
| | | |||||
* | | Show reason for failed rename refactoring | Rüdiger Herrmann | 2020-10-10 | 1 | -2/+4 |
|/ | | | | | | | | | | | Return an error with a meaningful message for requests to `textDocument/rename` if the operation cannot be performed. Pass errors raised by rename handling code to the LSP runtime. As a consequence, the VS Code client shows and logs the request as if a server-side programming error occured. Resolves https://github.com/rust-analyzer/rust-analyzer/issues/3981 | ||||
* | honor content_format clientcap | Robin van Dijk | 2020-10-05 | 1 | -1/+3 |
| | | | | | | This removes all markdown when the client does not support the markdown MarkupKind Otherwise the output on the editor will have some markdown boilerplate, making it less readable |