aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/display
Commit message (Collapse)AuthorAgeFilesLines
* Rename TypeRef -> TypeAleksey Kladov2020-07-311-1/+1
| | | | | | | | | | The TypeRef name comes from IntelliJ days, where you often have both type *syntax* as well as *semantical* representation of types in scope. And naming both Type is confusing. In rust-analyzer however, we use ast types as `ast::Type`, and have many more semantic counterparts to ast types, so avoiding name clash here is just confusing.
* Remove TypeAscriptionOwnerAleksey Kladov2020-07-301-7/+7
|
* Finalize Trait grammarAleksey Kladov2020-07-302-3/+3
|
* Finalize const&static grammarAleksey Kladov2020-07-302-6/+6
|
* Rename EnumVariant -> VariantAleksey Kladov2020-07-302-3/+3
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-302-5/+5
|
* Rename StructDef -> StructAleksey Kladov2020-07-302-3/+3
|
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-302-3/+3
|
* Rename TypeAliasDef -> TypeAliasAleksey Kladov2020-07-302-3/+3
|
* Rename FnDef -> FnAleksey Kladov2020-07-302-3/+3
|
* Move testsAleksey Kladov2020-07-171-0/+71
|
* Unclutter NavigationTarget APIAleksey Kladov2020-07-171-54/+27
|
* Remove FunctionSignatureAleksey Kladov2020-07-161-152/+0
|
* Inlay hints use callablesAleksey Kladov2020-07-161-95/+1
|
* RenameAleksey Kladov2020-07-161-1/+1
|
* Don't use function signature for DisplayAleksey Kladov2020-07-161-54/+2
|
* Better module structureAleksey Kladov2020-07-161-441/+0
|
* Reduce visibilityAleksey Kladov2020-07-161-21/+19
|
* Semantical call infoAleksey Kladov2020-07-161-21/+0
|
* simplifyAleksey Kladov2020-07-161-60/+47
|
* Implementations lens for unionsAleksey Kladov2020-07-111-0/+1
| | | | closes #4728
* Update file structure testsAleksey Kladov2020-07-011-213/+215
|
* Remove confusing APIAleksey Kladov2020-06-301-22/+14
|
* Rewrite goto implementation testsAleksey Kladov2020-06-301-3/+7
|
* Rewrite goto definition testsAleksey Kladov2020-06-301-1/+4
|
* Slightly better nameAleksey Kladov2020-06-231-2/+2
|
* display Doctest code lens before comment #4785Benjamin Coenen2020-06-181-3/+1
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* display Doctest code lens before comment #4785Benjamin Coenen2020-06-091-2/+23
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Merge #4678bors[bot]2020-06-031-2/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4678: Unsquish parameter types in tooltips for macro-generated functions r=aloucks a=aloucks Note the missing whitespace between `:` and the parameter type. Before: ![image](https://user-images.githubusercontent.com/221559/83364680-faf13d80-a370-11ea-96b7-a041969a4954.png) After: ![image](https://user-images.githubusercontent.com/221559/83364685-03e20f00-a371-11ea-9668-4e6ebcb81947.png) Co-authored-by: Aaron Loucks <[email protected]>
| * Use split1 when formatting function signature paramsAaron Loucks2020-06-031-5/+3
| |
| * Unsquish parameter types in tooltips for macro-generated functionsAaron Loucks2020-05-311-1/+12
| |
* | New runnables APIAleksey Kladov2020-06-021-43/+23
| |
* | Don't require module docs for Features and AssistsAleksey Kladov2020-05-311-5/+1
| |
* | Generate features docs from sourceAleksey Kladov2020-05-311-0/+13
|/
* Simplify proto conversionAleksey Kladov2020-05-101-2/+7
| | | | | Trait based infra in conv.rs is significantly more complicated than what we actually need here.
* Remove dbgEdwin Cheng2020-05-101-1/+0
|
* Hot fix panic for function_signatureEdwin Cheng2020-05-101-7/+13
|
* Fix panic in FunctionSignatureAleksey Kladov2020-05-071-1/+7
|
* Fix focus range for TypeParamAleksey Kladov2020-05-041-3/+7
| | | | closes #4274
* Unsafe traitsDiana2020-05-011-1/+5
|
* Include function qualifiers in signatureoxalica2020-04-291-0/+40
|
* Rename StructField -> FieldAleksey Kladov2020-04-251-2/+2
|
* Convert tests to text-sizeAleksey Kladov2020-04-251-38/+38
|
* Merge #3954bors[bot]2020-04-231-21/+48
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3954: Improve autocompletion by looking on the type and name r=matklad a=bnjjj This tweet (https://twitter.com/tjholowaychuk/status/1248918374731714560) gaves me the idea to implement that in rust-analyzer. Basically for this first example I made some examples when we are in a function call definition. I look on the parameter list to prioritize autocompletions for the same types and if it's the same type + the same name then it's displayed first in the completion list. So here is a draft, first step to open a discussion and know what you think about the implementation. It works (cf tests) but maybe I can make a better implementation at some places. Be careful the code needs some refactoring to be better and concise. PS: It was lot of fun writing this haha Co-authored-by: Benjamin Coenen <[email protected]>
| * Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-211-2/+1
| | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * Merge branch 'master' of github.com:rust-analyzer/rust-analyzerBenjamin Coenen2020-04-171-1/+1
| |\
| * \ Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-111-4/+17
| |\ \ | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
| * | | Improve autocompletion by looking on the type and nameBenjamin Coenen2020-04-111-21/+36
| |/ / | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | / Remove SyntaxPtr::range from more placesAleksey Kladov2020-04-231-1/+1
| |/ |/|