Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 2 | -3/+3 |
| | |||||
* | Move tests | Aleksey Kladov | 2020-07-17 | 1 | -0/+71 |
| | |||||
* | Unclutter NavigationTarget API | Aleksey Kladov | 2020-07-17 | 1 | -54/+27 |
| | |||||
* | Remove FunctionSignature | Aleksey Kladov | 2020-07-16 | 1 | -152/+0 |
| | |||||
* | Inlay hints use callables | Aleksey Kladov | 2020-07-16 | 1 | -95/+1 |
| | |||||
* | Rename | Aleksey Kladov | 2020-07-16 | 1 | -1/+1 |
| | |||||
* | Don't use function signature for Display | Aleksey Kladov | 2020-07-16 | 1 | -54/+2 |
| | |||||
* | Better module structure | Aleksey Kladov | 2020-07-16 | 1 | -441/+0 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2020-07-16 | 1 | -21/+19 |
| | |||||
* | Semantical call info | Aleksey Kladov | 2020-07-16 | 1 | -21/+0 |
| | |||||
* | simplify | Aleksey Kladov | 2020-07-16 | 1 | -60/+47 |
| | |||||
* | Implementations lens for unions | Aleksey Kladov | 2020-07-11 | 1 | -0/+1 |
| | | | | closes #4728 | ||||
* | Update file structure tests | Aleksey Kladov | 2020-07-01 | 1 | -213/+215 |
| | |||||
* | Remove confusing API | Aleksey Kladov | 2020-06-30 | 1 | -22/+14 |
| | |||||
* | Rewrite goto implementation tests | Aleksey Kladov | 2020-06-30 | 1 | -3/+7 |
| | |||||
* | Rewrite goto definition tests | Aleksey Kladov | 2020-06-30 | 1 | -1/+4 |
| | |||||
* | Slightly better name | Aleksey Kladov | 2020-06-23 | 1 | -2/+2 |
| | |||||
* | display Doctest code lens before comment #4785 | Benjamin Coenen | 2020-06-18 | 1 | -3/+1 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | display Doctest code lens before comment #4785 | Benjamin Coenen | 2020-06-09 | 1 | -2/+23 |
| | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | Merge #4678 | bors[bot] | 2020-06-03 | 1 | -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 params | Aaron Loucks | 2020-06-03 | 1 | -5/+3 |
| | | |||||
| * | Unsquish parameter types in tooltips for macro-generated functions | Aaron Loucks | 2020-05-31 | 1 | -1/+12 |
| | | |||||
* | | New runnables API | Aleksey Kladov | 2020-06-02 | 1 | -43/+23 |
| | | |||||
* | | Don't require module docs for Features and Assists | Aleksey Kladov | 2020-05-31 | 1 | -5/+1 |
| | | |||||
* | | Generate features docs from source | Aleksey Kladov | 2020-05-31 | 1 | -0/+13 |
|/ | |||||
* | Simplify proto conversion | Aleksey Kladov | 2020-05-10 | 1 | -2/+7 |
| | | | | | Trait based infra in conv.rs is significantly more complicated than what we actually need here. | ||||
* | Remove dbg | Edwin Cheng | 2020-05-10 | 1 | -1/+0 |
| | |||||
* | Hot fix panic for function_signature | Edwin Cheng | 2020-05-10 | 1 | -7/+13 |
| | |||||
* | Fix panic in FunctionSignature | Aleksey Kladov | 2020-05-07 | 1 | -1/+7 |
| | |||||
* | Fix focus range for TypeParam | Aleksey Kladov | 2020-05-04 | 1 | -3/+7 |
| | | | | closes #4274 | ||||
* | Unsafe traits | Diana | 2020-05-01 | 1 | -1/+5 |
| | |||||
* | Include function qualifiers in signature | oxalica | 2020-04-29 | 1 | -0/+40 |
| | |||||
* | Rename StructField -> Field | Aleksey Kladov | 2020-04-25 | 1 | -2/+2 |
| | |||||
* | Convert tests to text-size | Aleksey Kladov | 2020-04-25 | 1 | -38/+38 |
| | |||||
* | Merge #3954 | bors[bot] | 2020-04-23 | 1 | -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 name | Benjamin Coenen | 2020-04-21 | 1 | -2/+1 |
| | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | Merge branch 'master' of github.com:rust-analyzer/rust-analyzer | Benjamin Coenen | 2020-04-17 | 1 | -1/+1 |
| |\ | |||||
| * \ | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-11 | 1 | -4/+17 |
| |\ \ | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
| * | | | Improve autocompletion by looking on the type and name | Benjamin Coenen | 2020-04-11 | 1 | -21/+36 |
| |/ / | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | ||||
* | / | Remove SyntaxPtr::range from more places | Aleksey Kladov | 2020-04-23 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Don't expose SyntaxNodePtr impl details | Aleksey Kladov | 2020-04-16 | 1 | -1/+1 |
|/ | |||||
* | Fix unnecessary braces warnings | Laurențiu Nicola | 2020-04-06 | 2 | -29/+29 |
| | |||||
* | Start stdx | Aleksey Kladov | 2020-03-28 | 2 | -12/+10 |
| | | | | This crate will hold everything to small to be worth publishing | ||||
* | Fix completion of HashMap::new | Florian Diebold | 2020-03-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | The `ty` function in code_model returned the type with placeholders for type parameters. That's nice for printing, but not good for completion, because placeholders won't unify with anything else: So the type we got for `HashMap` was `HashMap<K, V, T>`, which doesn't unify with `HashMap<?, ?, RandomState>`, so the `new` method wasn't shown. Now we instead return `HashMap<{unknown}, {unknown}, {unknown}>`, which does unify with the impl type. Maybe we should just expose this properly as variables though, i.e. we'd return something like `exists<type, type, type> HashMap<?0, ?1, ?2>` (in Chalk notation). It'll make the API more complicated, but harder to misuse. (And it would handle cases like `type TypeAlias<T> = HashMap<T, T>` more correctly.) | ||||
* | Fix imports | Aleksey Kladov | 2020-03-03 | 1 | -6/+2 |
| | |||||
* | Rename NameDefinition -> Definition | Aleksey Kladov | 2020-03-03 | 1 | -8/+8 |
| | |||||
* | Rename ast::ImplBlock -> ast::ImplDef | Aleksey Kladov | 2020-02-29 | 2 | -4/+4 |
| | |||||
* | Refactor primary IDE API | Aleksey Kladov | 2020-02-26 | 1 | -2/+6 |
| | | | | | | | | | | 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. | ||||
* | Simplify | Aleksey Kladov | 2020-02-25 | 1 | -1/+1 |
| | |||||
* | Add basic parameter name hints heuristics | Kirill Bulatov | 2020-02-23 | 1 | -3/+13 |
| |