aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src
Commit message (Collapse)AuthorAgeFilesLines
* Add detection for a user already starting a fn impl and still providing ↵Kevin DeLorey2020-02-052-38/+157
| | | | completion.
* Already implemented fn will no longer be suggested for trait implementations.Kevin DeLorey2020-01-292-17/+131
|
* Renamed the trait completion mod.Kevin DeLorey2020-01-232-3/+3
|
* Added basic support for completing `fn` for trait impl.Kevin DeLorey2020-01-233-0/+116
|
* Omit default parameters for reference typesKirill Bulatov2020-01-221-1/+13
|
* Improve parameter hints a bit & add emacs supportFlorian Diebold2020-01-182-17/+25
| | | | | - just include the name, not e.g. `mut` - don't return empty hints (or `_`)
* Create modules via SourceBinderAleksey Kladov2020-01-167-54/+37
|
* Move module to SourceBinderAleksey Kladov2020-01-163-21/+21
|
* Move more stuff to SourceBinderAleksey Kladov2020-01-161-2/+2
|
* More natural trait setupAleksey Kladov2020-01-161-3/+3
|
* Make FromSource privateAleksey Kladov2020-01-162-17/+18
|
* Micro-optimize type hints to avoid allocationsAleksey Kladov2020-01-161-39/+38
|
* Merge #2837bors[bot]2020-01-156-72/+105
|\ | | | | | | | | | | | | | | | | | | 2837: Accidentally quadratic r=matklad a=matklad Our syntax highlighting is accdentally quadratic. Current state of the PR fixes it in a pretty crude way, looks like for the proper fix we need to redo how source-analyzer works. **NB:** don't be scared by diff stats, that's mostly a test-data file Co-authored-by: Aleksey Kladov <[email protected]>
| * TyposAleksey Kladov2020-01-151-1/+1
| |
| * :arrow_up: once_cellAleksey Kladov2020-01-151-1/+3
| |
| * Add commentAleksey Kladov2020-01-151-0/+1
| |
| * Optimize inlay hintsAleksey Kladov2020-01-151-5/+6
| |
| * Only new-style classificationAleksey Kladov2020-01-155-28/+21
| |
| * Add a testAleksey Kladov2020-01-151-3/+20
| |
| * Make syntax highlighting linearAleksey Kladov2020-01-153-54/+73
| |
| * Introduce SourceBinderAleksey Kladov2020-01-151-1/+1
| |
* | itertools::Either -> either::EitherKirill Bulatov2020-01-151-1/+1
| |
* | Apply the api design suggestionsKirill Bulatov2020-01-151-8/+15
| |
* | Another attempt to add multiple editsKirill Bulatov2020-01-151-8/+27
|/
* Merge #2843bors[bot]2020-01-152-2/+159
|\ | | | | | | | | | | | | | | | | | | | | | | 2843: Add inlay parameter name hints for call expr r=matklad a=imtsuki This patch adds Intellij-like parameter name hints for literal values in function calls. <img width="624" alt="Screenshot" src="https://user-images.githubusercontent.com/8423594/72366533-68d7f800-3735-11ea-9279-cf193ca8ca2f.png"> Signed-off-by: imtsuki <[email protected]> Co-authored-by: imtsuki <[email protected]>
| * FnSignature: use unwrap_or_default for parameter_name_listimtsuki2020-01-151-5/+3
| | | | | | | | Signed-off-by: imtsuki <[email protected]>
| * Update test snapshotimtsuki2020-01-141-2/+2
| | | | | | | | Signed-off-by: imtsuki <[email protected]>
| * Add inlay parameter name hints for function callsimtsuki2020-01-142-2/+161
| | | | | | | | Signed-off-by: imtsuki <[email protected]>
* | Move Type API to typeAleksey Kladov2020-01-142-19/+24
| |
* | Move impls_future to Type, where it belongsAleksey Kladov2020-01-141-1/+1
| |
* | Use lang-items to resolve future traitAleksey Kladov2020-01-141-0/+1
|/
* Readabilitykjeremy2020-01-131-5/+5
|
* Some clippy lintskjeremy2020-01-136-41/+40
|
* Add macro_rules item snippetmemoryruins2020-01-121-0/+8
|
* Remove hir usage from macro_rules! detection in structure_node()Roland Ruckerbauer2020-01-121-4/+2
|
* Use hir .path() and .name() to differentiateRoland Ruckerbauer2020-01-121-22/+24
| | | | macro call and macro definition
* Added test for file_structure unidentified macro definitionRoland Ruckerbauer2020-01-121-4/+18
|
* Fix file_structure() to recognize macro_rules!Roland Ruckerbauer2020-01-121-3/+17
| | | | where first token != "macro_rules"
* Fix formatEdwin Cheng2020-01-121-5/+2
|
* Use prev_token and next_tokenEdwin Cheng2020-01-121-44/+47
|
* Use indices first and last instead of min-maxEdwin Cheng2020-01-121-3/+4
|
* Use first and last token onlyEdwin Cheng2020-01-121-35/+56
|
* Handle extend selection in recursive macroEdwin Cheng2020-01-121-27/+49
|
* Minor fixEdwin Cheng2020-01-121-5/+4
|
* Fix formattingEdwin Cheng2020-01-121-1/+1
|
* Supporting extend selection inside macro callsEdwin Cheng2020-01-121-14/+109
|
* Add testEdwin Cheng2020-01-121-0/+12
|
* Use attr location for builtin macro goto-impEdwin Cheng2020-01-121-1/+5
|
* Fix ordering problem between qualifying paths and substituting paramsFlorian Diebold2020-01-111-4/+3
|
* Add AccessMode to declskjeremy2020-01-101-8/+57
|