aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Better module structureAleksey Kladov2020-07-161-17/+20
|
* Reduce visibilityAleksey Kladov2020-07-161-1/+1
|
* Move typeAleksey Kladov2020-07-161-8/+1
|
* Add Markup typeAleksey Kladov2020-07-081-0/+2
|
* Categorize assistsJeremy Kolb2020-07-021-1/+1
|
* Reuse Semantics instancesLaurențiu Nicola2020-07-011-2/+4
|
* New VFSAleksey Kladov2020-06-231-7/+10
|
* Allow SSR to match type references, items, paths and patternsDavid Lattimore2020-06-221-1/+1
| | | | Part of #3186
* Add `Go to Type Definition` hover action.vsrs2020-06-181-1/+1
|
* Remove special casing for library symbolsAleksey Kladov2020-06-181-1/+1
| | | | | | | | We might as well handle them internally, via queries. I am not sure, but it looks like the current LibraryData setup might even predate salsa? It's not really needed and creates a bunch of complexity.
* Syntactic highlighting of NAME_REF for injectionsLeander Tentrup2020-06-151-2/+4
| | | | | | This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage. It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references. It also adds a color to unresolved references in HTML encoding.
* SimplifyAleksey Kladov2020-06-081-1/+1
|
* Code formattingvsrs2020-06-051-1/+1
|
* Add hover actions as LSP extensionvsrs2020-06-051-1/+1
|
* Preliminary implementation of lazy CodeAssitsMikhail Rakhmanov2020-06-021-22/+17
|
* Generate features docs from sourceAleksey Kladov2020-05-311-2/+2
|
* Less rust-analyzer specific onEnterAleksey Kladov2020-05-251-1/+2
|
* 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
|