Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use raw cfgs in json project and fix typo | oxalica | 2019-10-05 | 2 | -8/+11 |
| | |||||
* | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 3 | -6/+46 |
| | |||||
* | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 2 | -3/+19 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 4 | -0/+8 |
| | | | | #1856 | ||||
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -8/+12 |
| | | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph | ||||
* | close #1763 | ivfranco | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | Make sysroot use `RUST_SRC_PATH` if set | Bastian Köcher | 2019-08-22 | 1 | -11/+21 |
| | |||||
* | don't load sysroot in most heavy tests | Aleksey Kladov | 2019-08-19 | 2 | -5/+9 |
| | |||||
* | :arrow_up: deps | Aleksey Kladov | 2019-08-17 | 1 | -1/+1 |
| | |||||
* | introduce ra_vfs_glob crate | Aleksey Kladov | 2019-08-06 | 2 | -24/+0 |
| | | | | It manages exclusion rules for the vfs crate | ||||
* | cleanup imports | Aleksey Kladov | 2019-08-06 | 1 | -5/+2 |
| | |||||
* | cleanup | Aleksey Kladov | 2019-08-06 | 3 | -6/+7 |
| | |||||
* | rename | Aleksey Kladov | 2019-08-06 | 1 | -10/+10 |
| | |||||
* | Remove unused dependencies | Shotaro Yamada | 2019-07-08 | 1 | -5/+0 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 2 | -2/+2 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 3 | -6/+6 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | Bump cargo_metadata, ena, flexi_logger | kjeremy | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | add analysis-bench to benchmark incremental analysis | Aleksey Kladov | 2019-06-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --complete ../chalk/chalk-engine/src/logic.rs:94:0 loading: 225.970093ms from scratch: 8.492373325s no change: 445.265µs trivial change: 95.631242ms ``` Or like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --highlight ../chalk/chalk-engine/src/logic.rs loading: 209.873484ms from scratch: 9.504916942s no change: 7.731119ms trivial change: 124.984039ms ``` "from scratch" includes initial analysis of the relevant bits of the project "no change" just asks the same question for the second time. It measures overhead on assembling the answer outside of salsa. "trivial change" doesn't do an actual salsa change, it just advances the revision. This test how fast is salsa at validating things. | ||||
* | Merge #1404 | bors[bot] | 2019-06-15 | 4 | -10/+7 |
|\ | | | | | | | | | | | | | | | | | | | 1404: Fight down failures! r=matklad a=mominul issue #1400 Now only `ra_tools` crate depends on `failure`, should I also fight those? :grin: Co-authored-by: Muhammad Mominul Huque <[email protected]> | ||||
| * | Get rid of failure: ra_lsp_server & ra_project_model | Muhammad Mominul Huque | 2019-06-14 | 4 | -10/+7 |
| | | |||||
* | | Add alloc -> core dependency | Florian Diebold | 2019-06-13 | 1 | -0/+5 |
|/ | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -4/+3 |
| | |||||
* | Fix clippy::single_char_pattern | Alan Du | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | Sends cwd info for runnables and code lenses | Roberto Vidal | 2019-04-14 | 2 | -1/+14 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | Move actual include logic to ProjectRoot | Ville Penttinen | 2019-03-21 | 2 | -3/+28 |
| | | | | | 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 | 1 | -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. | ||||
* | Specify derive feature for serde | pcpthm | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | Rename and change `add_roots` to return a `Vec`. | David Wood | 2019-03-07 | 1 | -1/+6 |
| | |||||
* | Initial implementation of project-lock.json. | David Wood | 2019-03-07 | 3 | -69/+221 |
| | | | | | 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 Diebold | 2019-02-13 | 2 | -9/+6 |
| | | | | crate_graph macro | ||||
* | Keep track of crate edition | Florian Diebold | 2019-02-13 | 2 | -3/+14 |
| | |||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -1/+1 |
| | |||||
* | 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-09 | 2 | -3/+1 |
| | |||||
* | Remove Vfs from project model | Florian Diebold | 2019-02-09 | 2 | -7/+3 |
| | |||||
* | Remove SmolStr from project model | Florian Diebold | 2019-02-09 | 4 | -18/+7 |
| | |||||
* | Move crate graph generation to ra_project_model | Florian Diebold | 2019-02-09 | 2 | -1/+91 |
| | |||||
* | Extract project model to separate crate | Florian Diebold | 2019-02-09 | 4 | -0/+386 |