aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/runnables.rs
Commit message (Collapse)AuthorAgeFilesLines
* 7526: Rename crate assists to ide_assists.Chetan Khilosiya2021-02-221-1/+1
|
* Merge #7353bors[bot]2021-01-221-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_dbLukas Wirth2021-01-201-2/+2
| |
* | Treat BlockExpr as a potential module originJonas Schievink2021-01-201-0/+1
| |
* | Avoid intermediate collectionsAleksey Kladov2021-01-201-26/+20
| |
* | Don't show runnable suggestions for other filesAleksey Kladov2021-01-201-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 macrosEdwin Cheng2021-01-191-67/+135
|
* Goto for inner doc links works for module inner doc commentsAleksey Kladov2021-01-111-14/+23
|
* CleanupAleksey Kladov2021-01-101-35/+40
|
* Change <|> to $0 - RebaseKevaundray Wedderburn2021-01-071-9/+9
|
* More maintainable configAleksey Kladov2021-01-061-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 Bos2021-01-011-1/+1
|
* Don't split path separators apart in doctest runnablesLukas Wirth2020-12-251-1/+39
|
* Align code_model name with ungrammarAleksey Kladov2020-12-201-1/+1
|
* Reduce test verbosityAleksey Kladov2020-12-181-169/+32
|
* NavTarget doesn't assume that it points to a symbolAleksey Kladov2020-12-181-22/+54
|
* Don't expose SyntaxKind from IDE APIAleksey Kladov2020-12-181-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 runnablesAleksey Kladov2020-12-171-88/+83
| | | | Handle more cases in a generic way without copy-pasting code.
* Minor code styleAleksey Kladov2020-12-171-27/+19
|
* Make `Attrs::from_attrs_owner` privateJonas Schievink2020-12-171-11/+9
|
* Rename ImplDef -> ImplAleksey Kladov2020-12-171-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 DocCommentsOwnerLukas Wirth2020-12-111-9/+9
|
* Add **Ignore Test** assistAleksey Kladov2020-11-171-16/+3
|
* add doctest runnables on struct #6356Benjamin Coenen2020-10-271-1/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* add doctest runnables on struct #6356Benjamin Coenen2020-10-271-3/+67
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Emit better #[cfg] diagnosticsJonas Schievink2020-10-221-39/+45
|
* rename mock_analysis -> fixtureAleksey Kladov2020-10-021-2/+2
|
* Get rid of MockAnalysisAleksey Kladov2020-10-021-20/+20
|
* Do not show references CodeLens for tests.vsrs2020-09-291-1/+1
|
* Improve support for code block attributesLeón Orell Valerian Liehr2020-08-261-9/+99
|
* Omit lenses for not runnable doctestsKirill Bulatov2020-08-221-3/+23
|
* Switch to expect_test from crates.ioAleksey Kladov2020-08-211-1/+1
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-0/+883