aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't expose SyntaxKind from IDE APIAleksey Kladov2020-12-181-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 importsAleksey Kladov2020-12-181-7/+7
| | | | ide should re-export everything it needs.
* Lifetime reference searchLukas Wirth2020-12-161-0/+7
|
* SimplifyKirill Bulatov2020-12-071-1/+0
|
* Use stateless completion resolveKirill Bulatov2020-12-071-0/+22
|
* Remove the stateKirill Bulatov2020-12-071-1/+1
|
* Make completion resolve asyncKirill Bulatov2020-12-071-1/+1
|
* Simplify import edit calculationKirill Bulatov2020-12-071-1/+1
|
* Properly fill client completion resolve capabilities dataKirill Bulatov2020-12-071-2/+2
|
* Working resolve completion imports prototypeKirill Bulatov2020-12-071-1/+2
|
* Extract the import code into the shared moduleKirill Bulatov2020-11-271-3/+1
|
* Remove more unreachable pubsAleksey Kladov2020-11-021-6/+8
|
* Re-export base_db from ide_dbIgor Aleksanov2020-10-241-4/+4
|
* Make call_info a part of ide_dbIgor Aleksanov2020-10-241-2/+2
|
* Extract call_info and completion into separate cratesIgor Aleksanov2020-10-181-6/+4
|
* Improve prime_caches and display its progressJonas Schievink2020-10-121-2/+6
|
* Merge #5917bors[bot]2020-10-121-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 supportZac Pullar-Strecker2020-10-081-1/+1
| |
| * Changes from reviewZac Pullar-Strecker2020-10-081-1/+1
| |
| * Rename ide::link_rewrite -> ide::doc_links & tidy importsZac Pullar-Strecker2020-10-081-3/+3
| |
| * WIP: Command to open docs under cursorZac Pullar-Strecker2020-10-081-0/+8
| |
* | Show reason for failed rename refactoringRĂ¼diger Herrmann2020-10-101-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 clientcapRobin van Dijk2020-10-051-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 -> fixtureAleksey Kladov2020-10-021-1/+1
|
* Move ide::AnalysisChange -> base_db::ChangeAleksey Kladov2020-10-021-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 visibiityAleksey Kladov2020-10-021-1/+2
|
* Extend **Status** command to also show dep info for the fileAleksey Kladov2020-09-291-2/+2
| | | | This should help with troubleshooting wrong project configuration
* Remove periodic gc stubAleksey Kladov2020-09-291-4/+0
|
* Do not show references CodeLens for tests.vsrs2020-09-291-13/+4
|
* Make method references CodeLens lazy.vsrs2020-09-291-1/+16
|
* Add hover config `linksInHover` to suppress linksflw2020-09-291-2/+6
|
* Make MergeBehaviour configurableLukas Wirth2020-09-121-1/+3
|
* Merge remote-tracking branch 'upstream/master' into 503-hover-doc-linksZac Pullar-Strecker2020-08-241-0/+1
|
* Introduce LabelAleksey Kladov2020-08-181-0/+1
|
* MinorAleksey Kladov2020-08-181-30/+1
|
* Align diagnostics config with the rest of rust-analyzerAleksey Kladov2020-08-181-8/+5
|
* Move analysis config structure to the config.rsIgor Aleksanov2020-08-181-6/+0
|
* Make disabled diagnostics an argument of corresponding functionIgor Aleksanov2020-08-181-14/+6
|
* Merge branch 'master' into add-disable-diagnosticsIgor Aleksanov2020-08-141-5/+23
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-0/+542