aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
Commit message (Collapse)AuthorAgeFilesLines
...
* | :arrow_up: rowanAleksey Kladov2019-01-261-1/+1
|/ | | | | | The new rowan uses arena allocator for red nodes which helps slightly (5% on std completion test) with performance but should help quite a bit with avoiding memory fragmentation.
* Merge #660bors[bot]2019-01-263-1/+68
|\ | | | | | | | | | | | | | | 660: Support macro calls in type position r=matklad a=regiontog A [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=fdc6dd4ddaece92a72fa2a292b75e27c) demonstrating the syntax in question. Co-authored-by: Erlend Tobiassen <[email protected]>
| * Support macro calls in type positionErlend Tobiassen2019-01-253-1/+68
| |
* | rename POS_FIELD -> POS_FIELD_DEFAleksey Kladov2019-01-2513-62/+62
| | | | | | | | to match NAMED_FIELD_DEF
* | Add docs to struct fieldsJeremy A. Kolb2019-01-253-2/+3
|/
* Merge #630bors[bot]2019-01-252-24/+45
|\ | | | | | | | | | | | | | | | | | | | | | | 630: Fill in DocumentSymbol::detail r=matklad a=hban Closes: #516 I just pulled type text from the syntax node and "formatted" is bit. VS Code can't really handle multi-line symbol detail (it's will crop it when rendering), so that formatting will just collapse all white-space to singe space. It isn't pretty, but maybe there's a better way. Issue also mentions "need to be done for `NavigationTarget` to `SymbolInformation`", but `SymbolInformation` doesn't have detail field on it? Co-authored-by: Hrvoje Ban <[email protected]>
| * Fill in DocumentSymbol::detailHrvoje Ban2019-01-242-24/+45
| |
* | Merge #633bors[bot]2019-01-244-8/+523
|\ \ | | | | | | | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | use ToOwned trait instead of inherent methodAleksey Kladov2019-01-244-8/+523
| | |
* | | Merge #623bors[bot]2019-01-243-2/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 623: WIP: module id is not def id r=matklad a=matklad This achieves two things: * makes module_tree & item_map per crate, not per source_root * begins the refactoring to remove universal `DefId` in favor of having separate ids for each kind of `Def`. Currently, only modules get a differnt ID though. Co-authored-by: Aleksey Kladov <[email protected]>
| * | Migrate trait & type to new idsAleksey Kladov2019-01-242-2/+3
| | |
| * | migrate enums to new idAleksey Kladov2019-01-241-0/+7
| | |
* | | ReformatDJMcNab2019-01-241-15/+16
| | |
* | | Apply suggestions from code reviewDaniel McNab2019-01-241-2/+1
| | | | | | | | | Co-Authored-By: DJMcNab <[email protected]>
* | | Dedupe PATH_FIRST in ATOM_EXPR_FIRSTDJMcNab2019-01-241-7/+2
| | |
* | | Support universal function call syntax in function callsDJMcNab2019-01-246-6/+226
| |/ |/|
* | minor renameAleksey Kladov2019-01-241-4/+4
|/
* Make EnumVariant a DocCommentsOwnerJeremy A. Kolb2019-01-233-2/+4
|
* More correct raw ident handlingJosh Robson Chase2019-01-233-5/+58
|
* Use IDENT for both raw and normal identsJosh Robson Chase2019-01-2322-78/+39
|
* Add raw idents to lexer and parserJosh Robson Chase2019-01-2326-40/+124
|
* introduced better typed AstPtrAleksey Kladov2019-01-232-1/+35
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-232-0/+55
|
* fix completion bugsgfreezy2019-01-231-0/+7
|
* :arrow_up: rowanAleksey Kladov2019-01-222-1/+5
|
* Add test for placeholder parameters in trait fn defsErlend Tobiassen2019-01-223-0/+40
|
* Allow placeholder parameters in trait fn defsErlend Tobiassen2019-01-221-1/+1
|
* No need for is_type_startErlend Tobiassen2019-01-222-9/+1
|
* Prefer TYPE_FIRSTErlend Tobiassen2019-01-221-4/+4
|
* Update tests after allowing where predicate to accept typesErlend Tobiassen2019-01-225-20/+68
|
* Optimistically bail out of where clause loop if not at start of a type or ↵Erlend Tobiassen2019-01-222-12/+24
| | | | lifetime
* Don't leave a marker hanging without completing it.Erlend Tobiassen2019-01-221-2/+1
|
* Allow types to the left of : in where predicates.Erlend Tobiassen2019-01-221-24/+27
|
* Add AST/HIR for type args in path segmentsFlorian Diebold2019-01-192-1/+137
|
* Change parsing of struct field patternsMarcus Klaas de Vries2019-01-194-26/+32
|
* Finish move of StructField for pattern type inferenceMarcus Klaas de Vries2019-01-191-20/+26
|
* Move parsing of field pattern lists to the parser (where it belongs)Marcus Klaas de Vries2019-01-195-60/+59
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-193-2/+19
|
* Implement unlabeled struct field pattern inferenceMarcus Klaas de Vries2019-01-191-31/+11
|
* Create struct patterns up to the hir levelMarcus Klaas de Vries2019-01-193-7/+80
|
* Add additional pattern variantsMarcus Klaas de Vries2019-01-192-4/+12
|
* make token set a const-fnAleksey Kladov2019-01-198-57/+52
|
* Update ARRAY_EXPR grammarHirokazu Hata2019-01-162-2/+8
|
* Merge #536bors[bot]2019-01-161-0/+9
|\ | | | | | | | | | | | | | | | | | | 536: Introduce variable semicolon block expr r=matklad a=yerke Fix for https://github.com/rust-analyzer/rust-analyzer/issues/504 Feels a bit hacky... Co-authored-by: Yerkebulan Tulibergenov <[email protected]>
| * add has_semi to ExprStmtYerkebulan Tulibergenov2019-01-161-0/+9
| |
* | update salsaAleksey Kladov2019-01-151-1/+1
| |
* | Fix type inference for raw (byte) stringsMarcus Klaas de Vries2019-01-143-14/+61
| |
* | Fixup testsMarcus Klaas de Vries2019-01-145-45/+148
| |
* | Start moving literal interpretation to the AST (WIP)Marcus Klaas de Vries2019-01-143-6/+128
| |
* | Try implementing integer type inference (WIP)Marcus Klaas de Vries2019-01-141-1/+1
| |