aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* KISS SourceChangeAleksey Kladov2020-05-221-2/+16
| | | | | | The idea behind requiring the label is a noble one, but we are not really using it consistently anyway, and it should be easy to retrofit later, should we need it.
* Formalize JoinLines protocol extensionAleksey Kladov2020-05-211-6/+3
|
* CleanupAleksey Kladov2020-05-211-3/+0
|
* Remove dead code for handling cursor positionsAleksey Kladov2020-05-211-1/+0
|
* Switch to new magic marksAleksey Kladov2020-05-201-2/+0
|
* Add AssistConfigAleksey Kladov2020-05-191-5/+5
|
* Make some stuff public so that they can be reused by other toolsPavan Kumar Sunkara2020-05-141-6/+2
|
* Nicer APIAleksey Kladov2020-05-071-1/+1
|
* Rename AssitLabel -> AssistAleksey Kladov2020-05-071-3/+3
|
* RenameAleksey Kladov2020-05-061-1/+1
|
* Use SourceChange for assistsAleksey Kladov2020-05-061-7/+24
|
* Lift SourceChange to the ra_ide_dbAleksey Kladov2020-05-061-2/+1
|
* Fix capitalizationAleksey Kladov2020-05-061-2/+2
|
* Convert code to text-sizeAleksey Kladov2020-04-251-2/+2
|
* Introduce ActiveParameterAleksey Kladov2020-04-241-15/+0
|
* feat: improve dot completions with scoringBenjamin Coenen2020-04-161-1/+3
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-111-0/+15
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Check for eprintln on CIAleksey Kladov2020-04-061-0/+5
|
* Better names for config structsAleksey Kladov2020-03-311-6/+6
|
* Reload only the properties that do not affect vfsKirill Bulatov2020-03-301-0/+5
|
* Add ProcMacroClientEdwin Cheng2020-03-251-0/+1
|
* Merge #3540bors[bot]2020-03-161-1/+2
|\ | | | | | | | | | | | | | | 3540: Swtches to rust SSR query check r=matklad a=mikhail-m1 related to #3186 Co-authored-by: Mikhail Modin <[email protected]>
| * 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
|