aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Swtches to rust SSR query checkMikhail Modin2020-03-151-1/+2
| |
* | Make naming more uniformAleksey Kladov2020-03-121-2/+2
| |
* | Merge #3543bors[bot]2020-03-121-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3543: Parameter inlay hint separate from variable type inlay? #2876 r=matklad a=slyngbaek Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side Co-authored-by: Steffen Lyngbaek <[email protected]>
| * | Address Issues from GithubSteffen Lyngbaek2020-03-101-3/+2
| | | | | | | | | | | | | | | | | | | | | - Updated naming of config - Define struct in ra_ide and use remote derive in rust-analyzer/config - Make inlayConfig type more flexible to support more future types - Remove constructor only used in tests
| * | Parameter inlay hint separate from variable type inlay? #2876Steffen Lyngbaek2020-03-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side
* | | Merge #3549bors[bot]2020-03-111-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3549: Implement env! macro r=matklad a=edwin0cheng This PR implements `env!` macro by adding following things: 1. Added `additional_outdirs` settings in vscode. (naming to be bikeshed) 2. Added `ExternSourceId` which is a wrapping for SourceRootId but only used in extern sources. It is because `OUT_DIR` is not belonged to any crate and we have to access it behind an `AstDatabase`. 3. This PR does not implement the `OUT_DIR` parsing from `cargo check`. I don't have general design about this, @kiljacken could we reuse some cargo watch code for that ? ~~Block on [#3536]~~ PS: After this PR , we (kind of) completed the `include!(concat!(env!('OUT_DIR'), "foo.rs")` macro call combo. [Exodia Obliterate!](https://www.youtube.com/watch?v=RfqNH3FoGi0) Co-authored-by: Edwin Cheng <[email protected]>
| * | Add extern sourceEdwin Cheng2020-03-111-0/+1
| |/
* | Move FeatureFlagsAleksey Kladov2020-03-101-13/+3
| |
* | Pull completion options up to the rust-analyzerAleksey Kladov2020-03-101-11/+6
| |
* | Introduce CompletionOptionsAleksey Kladov2020-03-101-2/+11
|/
* Use `Index` for CrateGraphAleksey Kladov2020-03-091-2/+2
|
* Less abstract CrateData apiKirill Bulatov2020-03-091-2/+2
|
* Consider crate declaration namesKirill Bulatov2020-03-081-1/+7
|
* Prime open files on loadAleksey Kladov2020-03-051-0/+5
|
* Cleanup APIAleksey Kladov2020-03-041-3/+2
|
* Remove hover::type_ofEdwin Cheng2020-02-281-5/+0
|
* Better highlightign APIAleksey Kladov2020-02-271-1/+3
|
* More type safety for highlightingAleksey Kladov2020-02-261-1/+1
|
* Refactor primary IDE APIAleksey Kladov2020-02-261-4/+1
| | | | | | | | | | This introduces the new type -- Semantics. Semantics maps SyntaxNodes to various semantic info, such as type, name resolution or macro expansions. To do so, Semantics maintains a HashMap which maps every node it saw to the file from which the node originated. This is enough to get all the necessary hir bits just from syntax.
* Rename back to highlight and check event's again highlight rangekjeremy2020-02-251-5/+3
|
* Semantic RangesJeremy Kolb2020-02-251-0/+7
|
* Teach the server about Semantic Tokens proposed LSPkjeremy2020-02-251-1/+1
|
* Merge #3099bors[bot]2020-02-171-0/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3099: Init implementation of structural search replace r=matklad a=mikhail-m1 next steps: * ignore space and other minor difference * add support to ra_cli * call rust parser to check pattern * documentation original issue #2267 Co-authored-by: Mikhail Modin <[email protected]>
| * Init implementation of structural search replaceMikhail Modin2020-02-141-0/+12
| |
* | If possible, use --exact flag when running testsKirill Bulatov2020-02-141-1/+1
|/
* Move imports locator to ide_dbAleksey Kladov2020-02-061-1/+0
|
* CleanupAleksey Kladov2020-02-061-0/+74
|
* cleanup importsAleksey Kladov2020-02-061-21/+17
|
* Move to a crateAleksey Kladov2020-02-061-2/+3
|
* Move change to ide-dbAleksey Kladov2020-02-061-2/+1
|
* Move QueryAleksey Kladov2020-02-061-40/+1
|
* Move symbol_indexAleksey Kladov2020-02-061-2/+5
|
* Move FeatureFlagsAleksey Kladov2020-02-061-2/+1
|
* Move line_indexAleksey Kladov2020-02-061-4/+4
|
* Start ide_dbAleksey Kladov2020-02-061-0/+2
|
* Initial auto import action implementationKirill Bulatov2020-01-261-0/+1
|
* Cancel requests during shutdownAleksey Kladov2020-01-241-0/+3
|
* Split Declaration out into it's own typekjeremy2020-01-101-1/+3
|
* Basic DocumentHighlightKind support for assignmentsJeremy Kolb2020-01-101-1/+1
|
* Actually test referenceskjeremy2020-01-081-1/+1
|
* Implement proposed CallHierarchy featureJeremy Kolb2020-01-081-0/+20
| | | | See: https://github.com/microsoft/vscode-languageserver-node/blob/master/protocol/src/protocol.callHierarchy.proposed.ts
* Run rustfmt with respect to Cargo.toml editionVincent Rouillé2019-12-041-0/+5
|
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-0/+489