aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src
Commit message (Collapse)AuthorAgeFilesLines
* Move actual include logic to ProjectRootVille Penttinen2019-03-211-3/+27
| | | | | This way the two IncludeRustFiles implementations can simply call the ProjectRoots' methods, so that the include logic is in one place.
* Improve filtering of file rootsVille Penttinen2019-03-201-4/+33
| | | | | | | | | `ProjectWorkspace::to_roots` now returns a new `ProjectRoot` which contains information regarding whether or not the given path is part of the current workspace or an external dependency. This information can then be used in `ra_batch` and `ra_lsp_server` to implement more advanced filtering. This allows us to filter some unnecessary folders from external dependencies such as tests, examples and benches.
* Rename and change `add_roots` to return a `Vec`.David Wood2019-03-071-1/+6
|
* Initial implementation of project-lock.json.David Wood2019-03-072-69/+218
| | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots.
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-132-9/+6
| | | | crate_graph macro
* Keep track of crate editionFlorian Diebold2019-02-132-3/+14
|
* Fix some typosPascal Hertleif2019-02-121-1/+1
|
* Clean up a bitFlorian Diebold2019-02-091-1/+1
|
* Remove Vfs from project modelFlorian Diebold2019-02-091-6/+3
|
* Remove SmolStr from project modelFlorian Diebold2019-02-093-10/+7
|
* Move crate graph generation to ra_project_modelFlorian Diebold2019-02-091-0/+88
|
* Extract project model to separate crateFlorian Diebold2019-02-093-0/+356