aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Fix doc commentVille Penttinen2019-04-091-1/+1
|
* Move display related things from hover to displayVille Penttinen2019-04-093-109/+110
|
* Move FunctionSignature to display/function_signatureVille Penttinen2019-04-092-100/+104
|
* Make display modules privateVille Penttinen2019-04-092-5/+6
|
* Move structure to display/structureVille Penttinen2019-04-094-9/+9
|
* Move navigation_target to display/navigation_targetVille Penttinen2019-04-094-4/+6
|
* Move completion label functions to displayVille Penttinen2019-04-094-31/+32
|
* Add FunctionSignature::from_hirVille Penttinen2019-04-092-6/+11
|
* Normalize line-endings in display.rsVille Penttinen2019-04-091-112/+112
| | | | This changes from CRLF to LF
* Move FunctionSignature creation to displayVille Penttinen2019-04-093-50/+54
|
* Add no parameter test to call_infoVille Penttinen2019-04-091-0/+19
|
* Move FunctionSignature to display, remove write_joinedVille Penttinen2019-04-092-49/+36
| | | | | write_joined is replaced with `join_to_string::join` which provides the necessary functionality.
* Move test specific thingsVille Penttinen2019-04-092-16/+11
|
* Update test snapshotsVille Penttinen2019-04-092-10/+10
|
* Refactor CallInfo function signatures to new FunctionSignature typeVille Penttinen2019-04-098-69/+210
| | | | | This is used by CallInfo to create a pretty printed function signature that can be used with completions and other places as well.
* migrate to untyped rowanAleksey Kladov2019-04-099-155/+189
|
* Merge #1105bors[bot]2019-04-088-231/+683
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1105: [WIP] Implement ra_mbe meta variables support r=matklad a=edwin0cheng This PR implements the following meta variable support in `ra_mba` crate (issue #720): - [x] `path` - [ ] `expr` - [ ] `ty` - [ ] `pat` - [ ] `stmt` - [ ] `block` - [ ] `meta` - [ ] `item` *Implementation Details* In the macro expanding lhs phase, if we see a meta variable type, we try to create a `tt:TokenTree` from the remaining input. And then we use a special set of `ra_parser` to parse it to `SyntaxNode`. Co-authored-by: Edwin Cheng <[email protected]>
| * Refactoring and add some docsEdwin Cheng2019-04-082-83/+106
| |
| * Fixed infintite loop bugEdwin Cheng2019-04-081-30/+4
| |
| * Fixed empty node bugEdwin Cheng2019-04-081-10/+49
| |
| * Use SubtreeWalker instread of flatten TtTokenEdwin Cheng2019-04-084-258/+421
| |
| * Combine all tokensource to one and refactoringEdwin Cheng2019-04-075-86/+94
| |
| * Refactoring subtree_sourceEdwin Cheng2019-04-074-364/+386
| |
| * Add TtCursorTokenSource and TtCursorTokenSinkEdwin Cheng2019-04-064-24/+216
| |
| * Add path test and empty eat_path handlingEdwin Cheng2019-04-063-0/+31
| |
* | Avoid two-phase borrow conflictLaurențiu Nicola2019-04-081-2/+2
| |
* | updated snapshotsLenard Pratt2019-04-076-77/+44
| |
* | Added ArrayExprKind,Lenard Pratt2019-04-075-31/+76
| | | | | | | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr
* | Added inference of array lengthLenard Pratt2019-04-076-5/+62
| |
* | Merge #1119bors[bot]2019-04-071-6/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1119: Add warning when open file outside workspace r=matklad a=edwin0cheng When file is not found in `ra_vfs` but exist, use `LspError` for warning instead of `error_fmt` to bail out error, Temporarily fix #967 . edit: typo Co-authored-by: Edwin Cheng <[email protected]>
| * | Remove checking file existsEdwin Cheng2019-04-071-13/+6
| | |
| * | fix formattingEdwin Cheng2019-04-071-1/+2
| | |
| * | Add warning when open file outside workspaceEdwin Cheng2019-04-061-5/+15
| |/
* | Rudimentarily autocomplete tuple struct field accessrobojumper2019-04-062-0/+38
| |
* | Parse and infer tuple indicesrobojumper2019-04-0613-14/+210
|/
* Add proper test for literals and fixed typo bugEdwin Cheng2019-04-053-5/+51
|
* Add classify_literal and undo expose next_tokenEdwin Cheng2019-04-055-8/+15
|
* Fix literal support in token tree to ast item listEdwin Cheng2019-04-054-4/+45
|
* Clean upEdwin Cheng2019-04-041-29/+29
|
* Add multi-byte token support in tkn tree to astEdwin Cheng2019-04-042-20/+138
|
* Make robust about target directorypcpthm2019-04-041-4/+1
|
* Merge #1106bors[bot]2019-04-041-1/+1
|\ | | | | | | | | | | | | | | 1106: :arrow_up: salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: salsaAleksey Kladov2019-04-041-1/+1
| |
* | Merge #1101bors[bot]2019-04-035-6/+95
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1101: Parse unsafe async / const unsafe fns properly r=matklad a=robojumper Also adds tests that `unsafe async fn` as well as `const unsafe fn` parse properly and that these keywords in the reversed order cause parse errors. [Playground link to verify that this is the correct order.](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=7850b8d92579de31c38f835f76afa4ce) Closes #1086. Co-authored-by: robojumper <[email protected]>
| * | Parse unsafe async / const unsafe fns properlyrobojumper2019-04-035-6/+95
| | |
* | | Merge #1098bors[bot]2019-04-031-1/+46
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 1098: added some docs to public functions r=matklad a=pasa some docs for #961 Co-authored-by: Sergey Parilin <[email protected]>
| * | added some docs to public functionsSergey Parilin2019-04-031-1/+46
| | |
* | | Merge #1068bors[bot]2019-04-039-10/+183
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1068: profiling crate first draft r=matklad a=pasa I've made this first draft for #961 Could you look at it? Is this something what you are looking for? It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues? Additionally I'm thinking about to implement procedural macros to annotate methods with this profiler. Will it be helpful? Co-authored-by: Sergey Parilin <[email protected]>
| * | Merge remote-tracking branch 'upstream/master' into issue961_profilingSergey Parilin2019-04-0249-1097/+1873
| |\ \
| * | | PR issuse resolvedSergey Parilin2019-04-028-10/+27
| | | |