about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/ide-ssr
AgeCommit message (Collapse)AuthorLines
2025-09-16Merge pull request #20517 from Veykril/veykril/push-wrurmtqppzusLukas Wirth-2/+2
fix: Only compute unstable paths on nightly toolchains for IDE features
2025-09-16fix: Only compute unstable paths on nightly toolchains for IDE featuresLukas Wirth-2/+2
2025-09-10Fix failing tests and fill-in missing detailsShoyu Vanilla-4/+11
2025-08-09Implement next trait solverjackh726-11/+15
2025-08-02When renaming a parameter to `self`, change callers to use method call syntaxChayim Refael Friedman-2/+2
2025-07-31`cargo clippy --fix`Lukas Wirth-127/+111
2025-06-23Don't run doctestsChayim Refael Friedman-0/+1
2025-06-17chore: Start infesting ide crates with 'db lifetimeLukas Wirth-47/+47
2025-05-25Properly implement `might_be_inside_macro_call()` using semantic information ↵Chayim Refael Friedman-2/+2
instead of syntactical hacks And rename it to `is_inside_macro_call()` accordingly.
2025-04-19Make `HirFileId`, `EditionedFileId` and macro files Salsa structChayim Refael Friedman-48/+64
And make more queries non-interned. Also flip the default for queries, now the default is to not intern and to intern a query you need to say `invoke_interned`.
2025-03-31fix: Fix new nightly lintsLukas Wirth-3/+3
2025-03-23chore: Bump dependenciesLukas Wirth-2/+2
2025-03-23chore: Remove unused dependenciesLukas Wirth-3/+1
2025-03-15cargo fmtBenjaminBrienen-21/+20
2025-03-13internal: don't panic when the crate graph isn't ready #19351David Barsky-5/+3
2025-03-12Salsify the crate graphChayim Refael Friedman-5/+5
I.e. make it not one giant input but multiple, for incrementality and decreased memory usage for Salsa 3 reasons.
2025-03-10internal: port rust-analyzer to new SalsaDavid Barsky-18/+44
2025-03-06Pass the target crate in `HirFormatter`Chayim Refael Friedman-10/+10
This is required to format evaluated consts, because we need trait env, and it needs the crate (currently it uses the last crate in topological order, which is wrong, the next commit will fix that).
2025-02-27enable doctestBenjaminBrienen-1/+0
2025-01-28Merge pull request #19015 from Wilfred/mdbookLukas Wirth-11/+7
manual: Convert to mdbook
2025-01-25Fix flyimport not filtering via stability of import pathLukas Wirth-0/+1
2025-01-24manual: Convert to mdbookWilfred Hughes-11/+7
Split manual.adoc into markdown files, one for each chapter. For the parts of the manual that are generated from source code doc comments, update the comments to use markdown syntax and update the code generators to write to `generated.md` files. For the weekly release, stop copying the .adoc files to the `rust-analyzer/rust-analyzer.github.io` at release time. Instead, we'll sync the manual hourly from this repository. See https://github.com/rust-analyzer/rust-analyzer.github.io/pull/226 for the sync. This PR should be merged first, and that PR needs to be merged before the next weekly release. This change is based on #15795, but rebased and updated. I've also manually checked each page for markdown syntax issues and fixed any I encountered. Co-authored-by: Lukas Wirth <lukastw97@gmail.com> Co-authored-by: Josh Rotenberg <joshrotenberg@gmail.com>
2024-12-13Show expansion errors in expand_macro featureLukas Wirth-2/+2
2024-12-04Fix parsing of parenthesized type args and RTNLukas Wirth-2/+2
2024-10-28Move text-edit into ide-dbLukas Wirth-4/+3
2024-10-24minor: Remove intermediate allocationsLukas Wirth-1/+1
2024-10-14chore: rename salsa to ra_salsaDavid Barsky-1/+1
2024-08-16Properly account for editions in namesChayim Refael Friedman-4/+14
This PR touches a lot of parts. But the main changes are changing `hir_expand::Name` to be raw edition-dependently and only when necessary (unrelated to how the user originally wrote the identifier), and changing `is_keyword()` and `is_raw_identifier()` to be edition-aware (this was done in #17896, but the FIXMEs were fixed here). It is possible that I missed some cases, but most IDE parts should properly escape (or not escape) identifiers now. The rules of thumb are: - If we show the identifier to the user, its rawness should be determined by the edition of the edited crate. This is nice for IDE features, but really important for changes we insert to the source code. - For tests, I chose `Edition::CURRENT` (so we only have to (maybe) update tests when an edition becomes stable, to avoid churn). - For debugging tools (helper methods and logs), I used `Edition::LATEST`.
2024-08-06Replace `[package.repository] = "…"` of published crates with ↵Vincent Esche-1/+1
`[package.repository.workspace] = true`
2024-08-06Unify package descriptions by adding references to "rust-analyzer"Vincent Esche-1/+1
With the lack of a README on the individually published library crates and the somewhat cryptic `ra_ap_` prefix it is hard to figure out where those crates belong to, so mentioning "rust-analyzer" feels like auseful hint there.
2024-08-06Replace `"TBD"` with more helpful desciptions in published crates' ↵Vincent Esche-1/+1
`[package.description]` fields
2024-08-05Simplify FileDelegateLukas Wirth-6/+4
2024-07-19Parse `try` as a keyword only in edition 2018 and upLukas Wirth-3/+3
2024-07-18Encode edition within FileId in the hir layerLukas Wirth-78/+114
2024-07-17Add always disabled gen parse supportLukas Wirth-1/+1
2024-07-16Remove Name::to_smol_strLukas Wirth-1/+1
2024-07-07Auto merge of #17555 - Veykril:grammar-inline, r=Veykrilbors-2/+5
internal: Inline generated syntax methods
2024-07-07HasGenericArgs syntax traitLukas Wirth-2/+5
2024-07-02squash.Shohei Wada-1/+5
2024-06-30Remove inline `rust_2018_idioms, unused_lifetimes` lint warn, Cargo.toml ↵Lukas Wirth-2/+0
already enforces this
2024-06-10Thread more HasSource::source calls through Semantics for cachingLukas Wirth-1/+1
2024-05-22internal: refactor `prefer_no_std`/`prefer_prelude` bools into a structDavid Barsky-5/+5
2024-05-22fix: Fix general find-path inconsistenciesLukas Wirth-1/+1
2024-04-21Allow rust files to be used linkedProjectsLukas Wirth-0/+4081