Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | rename mock_analysis -> fixture | Aleksey Kladov | 2020-10-02 | 1 | -1/+1 |
| | |||||
* | Move ide::AnalysisChange -> base_db::Change | Aleksey Kladov | 2020-10-02 | 1 | -4/+3 |
| | | | | | | This seems like a better factoring logically; ideally, clients shouldn't touch `set_` methods of the database directly. Additionally, I think this should remove the unfortunate duplication in fixture code. | ||||
* | Reduce visibiity | Aleksey Kladov | 2020-10-02 | 1 | -1/+2 |
| | |||||
* | Extend **Status** command to also show dep info for the file | Aleksey Kladov | 2020-09-29 | 1 | -2/+2 |
| | | | | This should help with troubleshooting wrong project configuration | ||||
* | Remove periodic gc stub | Aleksey Kladov | 2020-09-29 | 1 | -4/+0 |
| | |||||
* | Do not show references CodeLens for tests. | vsrs | 2020-09-29 | 1 | -13/+4 |
| | |||||
* | Make method references CodeLens lazy. | vsrs | 2020-09-29 | 1 | -1/+16 |
| | |||||
* | Add hover config `linksInHover` to suppress links | flw | 2020-09-29 | 1 | -2/+6 |
| | |||||
* | Make MergeBehaviour configurable | Lukas Wirth | 2020-09-12 | 1 | -1/+3 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-24 | 1 | -0/+1 |
| | |||||
* | Introduce Label | Aleksey Kladov | 2020-08-18 | 1 | -0/+1 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-18 | 1 | -30/+1 |
| | |||||
* | Align diagnostics config with the rest of rust-analyzer | Aleksey Kladov | 2020-08-18 | 1 | -8/+5 |
| | |||||
* | Move analysis config structure to the config.rs | Igor Aleksanov | 2020-08-18 | 1 | -6/+0 |
| | |||||
* | Make disabled diagnostics an argument of corresponding function | Igor Aleksanov | 2020-08-18 | 1 | -14/+6 |
| | |||||
* | Merge branch 'master' into add-disable-diagnostics | Igor Aleksanov | 2020-08-14 | 1 | -5/+23 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+542 |