Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move Semantics::visit_file_defs to ide_db::helpers | Lukas Wirth | 2021-03-15 | 1 | -1/+2 |
| | |||||
* | Introduce Semantics::visit_file_defs | Lukas Wirth | 2021-03-15 | 1 | -39/+20 |
| | |||||
* | Don't drop type params in doc-test paths | Lukas Wirth | 2021-03-14 | 1 | -4/+51 |
| | |||||
* | Merge #7799 | bors[bot] | 2021-03-13 | 1 | -6/+338 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 7799: Related tests r=matklad a=vsrs ![tests](https://user-images.githubusercontent.com/62505555/109397453-a9013680-7947-11eb-8b11-ac03079f7645.gif) This adds an ability to look for tests for the item under the cursor: function, constant, data type, etc The LSP part is bound to change. But the feature itself already works and I'm looking for a feedback :) Co-authored-by: vsrs <[email protected]> | ||||
| * | Add `Feature: Related Tests` comment | vsrs | 2021-03-11 | 1 | -0/+13 |
| | | |||||
| * | Apply review suggestions | vsrs | 2021-03-11 | 1 | -2/+5 |
| | | |||||
| * | Remove erroneous comment | vsrs | 2021-02-27 | 1 | -10/+0 |
| | | |||||
| * | Add runnables::related_tests | vsrs | 2021-02-27 | 1 | -6/+332 |
| | | |||||
* | | Use upstream cov-mark | Laurențiu Nicola | 2021-03-08 | 1 | -4/+4 |
| | | |||||
* | | Fix some warnings | Laurențiu Nicola | 2021-03-05 | 1 | -1/+1 |
|/ | |||||
* | 7526: Rename crate assists to ide_assists. | Chetan Khilosiya | 2021-02-22 | 1 | -1/+1 |
| | |||||
* | Merge #7353 | bors[bot] | 2021-01-22 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7353: Add LifetimeParam and ConstParam to CompletionItemKind r=matklad a=Veykril Adds `LifetimeParam` and `ConstParam` to `CompletionItemKind` and maps them both to `TypeParam` in the protocol conversion as there are no equivalents, so nothing really changes there. `ConstParam` could be mapped to `Const` I guess but I'm split on whether that would be better? Additions were solely inspired by (the single) test output for const params. Also sorts the variants of `CompletionItemKind` and its to_proto match. Co-authored-by: Lukas Wirth <[email protected]> | ||||
| * | Move SymbolKind to ide_db | Lukas Wirth | 2021-01-20 | 1 | -2/+2 |
| | | |||||
* | | Treat BlockExpr as a potential module origin | Jonas Schievink | 2021-01-20 | 1 | -0/+1 |
| | | |||||
* | | Avoid intermediate collections | Aleksey Kladov | 2021-01-20 | 1 | -26/+20 |
| | | |||||
* | | Don't show runnable suggestions for other files | Aleksey Kladov | 2021-01-20 | 1 | -3/+32 |
|/ | | | | | It't be actually great to have these once we have run anything dialog, but for run the thing at point it makes sense to show a limited set. | ||||
* | Support runnables in macros | Edwin Cheng | 2021-01-19 | 1 | -67/+135 |
| | |||||
* | Goto for inner doc links works for module inner doc comments | Aleksey Kladov | 2021-01-11 | 1 | -14/+23 |
| | |||||
* | Cleanup | Aleksey Kladov | 2021-01-10 | 1 | -35/+40 |
| | |||||
* | Change <|> to $0 - Rebase | Kevaundray Wedderburn | 2021-01-07 | 1 | -9/+9 |
| | |||||
* | More maintainable config | Aleksey Kladov | 2021-01-06 | 1 | -18/+17 |
| | | | | | | | Rather than eagerly converting JSON, we losslessly keep it as is, and change the shape of user-submitted data at the last moment. This also allows us to remove a bunch of wrong Defaults | ||||
* | Add support for Rust 2021. | Mara Bos | 2021-01-01 | 1 | -1/+1 |
| | |||||
* | Don't split path separators apart in doctest runnables | Lukas Wirth | 2020-12-25 | 1 | -1/+39 |
| | |||||
* | Align code_model name with ungrammar | Aleksey Kladov | 2020-12-20 | 1 | -1/+1 |
| | |||||
* | Reduce test verbosity | Aleksey Kladov | 2020-12-18 | 1 | -169/+32 |
| | |||||
* | NavTarget doesn't assume that it points to a symbol | Aleksey Kladov | 2020-12-18 | 1 | -22/+54 |
| | |||||
* | Don't expose SyntaxKind from IDE API | Aleksey Kladov | 2020-12-18 | 1 | -24/+28 |
| | | | | | | 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. | ||||
* | Rewrite doctest runnables | Aleksey Kladov | 2020-12-17 | 1 | -88/+83 |
| | | | | Handle more cases in a generic way without copy-pasting code. | ||||
* | Minor code style | Aleksey Kladov | 2020-12-17 | 1 | -27/+19 |
| | |||||
* | Make `Attrs::from_attrs_owner` private | Jonas Schievink | 2020-12-17 | 1 | -11/+9 |
| | |||||
* | Rename ImplDef -> Impl | Aleksey Kladov | 2020-12-17 | 1 | -1/+1 |
| | | | | | | We used to have `Def` suffix for all symbols, but we moved off from that. `FunctionDef` isn't better than `Function`. Looks like we've forgot to change `Impl` though! | ||||
* | Use Attrs::docs in runnables instead of DocCommentsOwner | Lukas Wirth | 2020-12-11 | 1 | -9/+9 |
| | |||||
* | Add **Ignore Test** assist | Aleksey Kladov | 2020-11-17 | 1 | -16/+3 |
| | |||||
* | add doctest runnables on struct #6356 | Benjamin Coenen | 2020-10-27 | 1 | -1/+1 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | add doctest runnables on struct #6356 | Benjamin Coenen | 2020-10-27 | 1 | -3/+67 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Emit better #[cfg] diagnostics | Jonas Schievink | 2020-10-22 | 1 | -39/+45 |
| | |||||
* | rename mock_analysis -> fixture | Aleksey Kladov | 2020-10-02 | 1 | -2/+2 |
| | |||||
* | Get rid of MockAnalysis | Aleksey Kladov | 2020-10-02 | 1 | -20/+20 |
| | |||||
* | Do not show references CodeLens for tests. | vsrs | 2020-09-29 | 1 | -1/+1 |
| | |||||
* | Improve support for code block attributes | León Orell Valerian Liehr | 2020-08-26 | 1 | -9/+99 |
| | |||||
* | Omit lenses for not runnable doctests | Kirill Bulatov | 2020-08-22 | 1 | -3/+23 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+883 |