Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 1 | -2/+5 |
| | |||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 1 | -3/+10 |
| | |||||
* | Setup Env in world | Edwin Cheng | 2020-03-10 | 1 | -3/+15 |
| | |||||
* | Consider crate declaration names | Kirill Bulatov | 2020-03-08 | 1 | -6/+7 |
| | |||||
* | keep one CargoTomlNotFoundError | nmio | 2020-02-29 | 1 | -28/+31 |
| | |||||
* | remove code used for testing | nmio | 2020-02-27 | 1 | -1/+1 |
| | |||||
* | fix unneeded body | nmio | 2020-02-27 | 1 | -6/+2 |
| | |||||
* | fixes and improvements | nmio | 2020-02-27 | 1 | -23/+49 |
| | |||||
* | clean up | nmio | 2020-02-25 | 1 | -7/+2 |
| | |||||
* | Initial debugging code | nmio | 2020-02-24 | 1 | -5/+42 |
| | |||||
* | Add suggestion for failed path resolution | Yoshua Wuyts | 2020-02-23 | 1 | -1/+1 |
| | | | | This adds https://github.com/rust-analyzer/rust-analyzer/issues/3245 as an inline help text for when path resolution fails. | ||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 1 | -29/+38 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Make AtomicX type resolve again | Aleksey Kladov | 2020-02-14 | 1 | -2/+4 |
| | |||||
* | Add error context to failures in `ra_project_model` using `anyhow` crate (#3119) | Adam Bratschi-Kaye | 2020-02-13 | 1 | -11/+40 |
| | | | Add error context to failures in ra_project_model using anyhow crate | ||||
* | Apply the reviews suggestions | Kirill Bulatov | 2020-02-05 | 1 | -13/+30 |
| | |||||
* | Address nit | Emil Lauridsen | 2020-01-10 | 1 | -1/+1 |
| | |||||
* | Remove unneeded Box::new | Wilco Kusee | 2020-01-08 | 1 | -1/+1 |
| | | | Co-Authored-By: Aleksey Kladov <[email protected]> | ||||
* | Derive debug | Wilco Kusee | 2020-01-08 | 1 | -7/+1 |
| | |||||
* | Use downcasting for CargoTomlNotFoundError | Wilco Kusee | 2020-01-08 | 1 | -22/+30 |
| | |||||
* | Allow disabling Cargo.toml not found error | Wilco Kusee | 2020-01-03 | 1 | -2/+1 |
| | |||||
* | Move error to new file | Wilco Kusee | 2020-01-03 | 1 | -54/+4 |
| | |||||
* | Split errors into WorkspaceError enum | Wilco Kusee | 2020-01-03 | 1 | -14/+73 |
| | |||||
* | Support setting cargo features | oxalica | 2019-12-13 | 1 | -5/+9 |
| | |||||
* | Merge #2381 | bors[bot] | 2019-11-24 | 1 | -0/+17 |
|\ | | | | | | | | | | | | | | | | | 2381: Add proc-macro crate type handling r=JasperDeSutter a=JasperDeSutter Resolves the libproc_macro crate in crates that are the proc-macro type. This doesn't seem the ideal implementation though, since the compiler still requires you to write `extern crate proc_macro;` (even in 2018 edition). Co-authored-by: JasperDeSutter <[email protected]> | ||||
| * | add proc-macro crate type handling | JasperDeSutter | 2019-11-24 | 1 | -0/+17 |
| | | |||||
* | | Add alloc to the sysroot | Marco Groppo | 2019-11-24 | 1 | -0/+6 |
|/ | |||||
* | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 1 | -6/+19 |
| | |||||
* | Overwrite the prelude with one defined in a later dependency | Matthias Einwag | 2019-11-10 | 1 | -0/+2 |
| | | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order. | ||||
* | Resolve core types | Matthias Einwag | 2019-11-09 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199 | ||||
* | hard-code nightly-only CFGs | Aleksey Kladov | 2019-10-08 | 1 | -0/+8 |
| | |||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -13/+23 |
| | |||||
* | Use raw cfgs in json project and fix typo | oxalica | 2019-10-05 | 1 | -6/+8 |
| | |||||
* | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 1 | -6/+38 |
| | |||||
* | Enable CfgOptions `test` for workspace crates | uHOOCCOOHu | 2019-10-02 | 1 | -3/+18 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #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 |
| | |||||
* | don't load sysroot in most heavy tests | Aleksey Kladov | 2019-08-19 | 1 | -4/+8 |
| | |||||
* | introduce ra_vfs_glob crate | Aleksey Kladov | 2019-08-06 | 1 | -23/+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 | 1 | -4/+5 |
| | |||||
* | rename | Aleksey Kladov | 2019-08-06 | 1 | -10/+10 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -2/+2 |
| | | | | | | 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 | ||||
* | 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. | ||||
* | Get rid of failure: ra_lsp_server & ra_project_model | Muhammad Mominul Huque | 2019-06-14 | 1 | -3/+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 | 1 | -0/+12 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| |