Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -5/+1 |
| | |||||
* | Move actual include logic to ProjectRoot | Ville Penttinen | 2019-03-21 | 1 | -25/+20 |
| | | | | | 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 roots | Ville Penttinen | 2019-03-20 | 2 | -29/+66 |
| | | | | | | | | | `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. | ||||
* | Upgrade ra_vfs to use new Filtering | Ville Penttinen | 2019-03-18 | 2 | -3/+28 |
| | | | | | Currently this matches the previous filtering, meaning all roots are filtered using the same rules. | ||||
* | Rename and change `add_roots` to return a `Vec`. | David Wood | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | Initial implementation of project-lock.json. | David Wood | 2019-03-07 | 1 | -6/+1 |
| | | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots. | ||||
* | switch to crates.io vfs | Aleksey Kladov | 2019-02-18 | 1 | -1/+1 |
| | |||||
* | fix-tests | Aleksey Kladov | 2019-02-17 | 1 | -4/+4 |
| | |||||
* | automatically wait for worker threads | Aleksey Kladov | 2019-02-14 | 1 | -1/+0 |
| | | | | closes #817 | ||||
* | Remove call to canonicalize in BatchDatabase::load_cargo | Ville Penttinen | 2019-02-14 | 1 | -1/+1 |
| | | | | | | | | Instead of using canonicalize, we now join the given path to `std::env::current_dir()`, which either replaces the path, if the given path is absolute, or joins the paths. This fixes #821. | ||||
* | Fix typo in Cargo.toml authors | Ville Penttinen | 2019-02-11 | 1 | -1/+1 |
| | | | | Fixes typo introduced in #782 | ||||
* | Update authors field in Cargo.tomls to "rust-analyzer developers" | Ville Penttinen | 2019-02-11 | 1 | -1/+1 |
| | | | | This closes #777 | ||||
* | Clean up a bit | Florian Diebold | 2019-02-10 | 1 | -2/+1 |
| | |||||
* | Add a smoke test for ra_batch | Florian Diebold | 2019-02-10 | 1 | -0/+24 |
| | |||||
* | Add an ra_cli command that analyses all crates in the current workspace | Florian Diebold | 2019-02-10 | 1 | -2/+7 |
| | | | | ... and prints various stats about how many expressions have a type etc. | ||||
* | Implement BatchDatabase construction | Florian Diebold | 2019-02-10 | 2 | -11/+100 |
| | |||||
* | Add new crate | Florian Diebold | 2019-02-10 | 2 | -0/+54 |