aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/syntax_tree.rs
Commit message (Collapse)AuthorAgeFilesLines
* Allow syntax strings to contain test markersVille Penttinen2019-03-041-1/+3
| | | | | We simply remove all the CUSTOM_MARKERS before attempting to parse the file. This allows for the syntax selection to work with most of the test strings.
* Implement syntax tree support for syntax inside stringVille Penttinen2019-03-041-0/+85
This allows us to select a string or portions of it and try parsing it as rust syntax. This is mostly helpful when developing tests where the test itself contains some rust syntax as a string.