about summary refs log tree commit diff
path: root/src/etc
AgeCommit message (Collapse)AuthorLines
2025-02-07Fix import/attribute errors related to `SBTypeStaticField`Walnut-13/+43
2025-02-05Update bootstrap completionsJakub Beránek-76/+3428
2025-01-26Rollup merge of #135812 - Walnut356:gdb_osstring, r=Mark-SimulacrumJacob Pratt-1/+1
Fix GDB `OsString` provider on Windows It would throw an exception due to trying to look up `Wtf8Buf.__0`. The field it actually wants is called [`bytes`](https://github.com/rust-lang/rust/blob/b605c65b6eb5fa71783f8e26df69975f9f1680ee/library/std/src/sys_common/wtf8.rs#L134).
2025-01-21change lookup from `OsString.inner.inner.0` -> `OsString.inner.inner.bytes`Walnut-1/+1
2025-01-20core: add `#![warn(unreachable_pub)]`Urgau-5/+5
2025-01-18slots fixWalnut-1/+1
2025-01-11doc comment for get_template_argsWalnut-12/+13
2025-01-11tidyWalnut-0/+2
2025-01-11add alternate inner type lookup for hashmap/set when template args missingWalnut-1/+27
2025-01-11More robust sequence formatterWalnut-1/+8
2025-01-10more robust tuple summaryWalnut-3/+13
2025-01-10add alternate inner type lookup for vec/string for missing template argsWalnut-7/+86
2025-01-10add MSVC str providersWalnut-35/+114
2025-01-10organize lldb_commandsWalnut-25/+50
2025-01-10add msvc enum providersWalnut-2/+179
2025-01-10add MSVC slice providersWalnut-2/+27
2025-01-10add MSVC tuple providersWalnut-1/+58
2025-01-08Revert "fix missing rustfmt and clippy for msi"Pietro Albini-40/+1
This reverts commit f5577a8174685aca342b9189e625648f25a23a20.
2024-12-31Rollup merge of #134291 - Walnut356:type_annots, r=tgross35Jacob Pratt-213/+137
Use python built in type annotations in LLDB visualizer scripts Replaces type annotation comments with python's built-in type annotations. Built-in type annotations were added in python 3.5. LLDB [currently recommends (and as of LLVM 21, will enforce)](https://github.com/llvm/llvm-project/pull/114807) a minimum python version of 3.8. Rust's test suite also requires python 3.10.
2024-12-31use python built in type annotationsWalnut-213/+137
2024-12-30Fix typosericlehong-5/+5
Signed-off-by: ericlehong <193237094+ericlehong@users.noreply.github.com>
2024-12-27Add `--no-capture` as a bootstrap argumentclubby789-2/+8
2024-12-17Generate shell completions for x as wellRyan Mehri-0/+5939
2024-12-08Auto merge of #133134 - Walnut356:synth_prov, r=Mark-Simulacrumbors-1/+22
Don't use a SyntheticProvider for literally every type Replaces a glob regex with individualized imports for each standard library type. This improves debugger performance by quite a bit when populating lots of values with lots of fields With the glob, afaik every single value of every single type that the debugger renders is run through a python function that does quite a few string comparisons (i plan to fix those next) to determine the SyntheticProvider to use. It looks like DefaultSyntheticProvider's functions internally call the liblldb c++ functions, which ends up with identical behavior to not using a SyntheticProvider at all, except you have extra python round trips slowing things down. These sample vidoes were run on x86-64-pc-windows-gnu. `vect` is a 1000 element `Vec<Big>`, `Big` contains a dozen or so `Small`, and `Small` contains a dozen or so `[i32; 5]` Before: https://github.com/user-attachments/assets/07c31fe7-e126-4c2e-8ae9-cfe36e351d3f After: https://github.com/user-attachments/assets/6c0d1a45-1ffe-46de-95a0-5dbe59a173b5 --- try-job: aarch64-apple
2024-12-04Reformat Python code with `ruff`Jakub Beránek-251/+426
2024-12-01rust_analyzer_settings: force use of 'nightly' toolchainRalf Jung-0/+3
2024-11-29add explicit synthetic lookup for tuplesWalnut-0/+1
2024-11-28force expanded formatting for non-synthetic typesWalnut-0/+1
2024-11-25Rollup merge of #132803 - wangjingcun:master, r=Mark-SimulacrumMatthias Krüger-1/+1
Fix broken url
2024-11-17restrict synthetic types to standard library typesWalnut-1/+20
2024-11-13Bump bootstrap depsclubby789-230/+230
2024-11-11Fix broken urlwangjingcun-1/+1
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2024-11-09Use a separate dir for r-a builds consistently in helix configMaybe Lapkin-2/+15
2024-11-02Rollup merge of #132333 - tshepang:patch-4, r=workingjubileeMatthias Krüger-3/+4
rust_analyzer_helix.toml: add library/ manifest
2024-11-01Remove unncessary option for default rust-analyzer settingyukang-2/+0
2024-10-29rust_analyzer_helix.toml: add library/ manifestTshepang Mbambo-3/+4
Also, sort list
2024-10-29Rename `command-list.rs` to `directive-list.rs`Zalathar-1/+1
2024-10-27remove dead code in CGREP scriptjyn-1/+0
2024-10-20Rollup merge of #131365 - heiseish:fix-issue-101993, r=Mark-SimulacrumMatthias Krüger-1/+40
Fix missing rustfmt in msi installer #101993 # Context - Fixed missing `rustfmt`, `clippy`, `miri` and `rust-analyzer` in msi installer - Fixed missing `rustfmt` for apple darwin installer - Closes #101993 r​? `@jyn514` - Please let me know if I should request from someone else instead. I divided the changes into 3 separate commits for the ease of review. The refactoring commit `fbdfd5c03c3c979bcf105ccdd05ff4ab9f37a763` is a bit more involved, but I think it helps in the long term for readability and to avoid bugs. - I changed `build-manifest` to `build_manifest` in order to invoke it as a library. Not sure if this is gonna break any upstream processes. I checked `generate-manifest-list` and `generate-release` but didn't find any obvious reference - Will push fixes for linting later
2024-10-15fix missing rustfmt and clippy for msiGiang Dao-1/+40
2024-10-11rename RcBox in other places tooJonathan Dönszelmann-3/+3
2024-10-03bootstrap: Consolidate editor LSP setupKajetan Puchalski-1/+1
Consolidate LSP setup for different editors into one `./x setup editor`.
2024-10-01bootstrap: Add support for ./x setup vimKajetan Puchalski-1/+1
2024-10-01bootstrap: Add support for ./x setup helixKajetan Puchalski-1/+1
2024-10-01bootstrap: Add support for ./x setup emacsKajetan Puchalski-26/+26
Add support for automatically setting up the recommended LSP config for Emacs. Additionally, refactor setup.rs to make it easier to add support for more editors in the future.
2024-09-27Rollup merge of #130932 - mrkajetanp:editors, r=jieyouxuMatthias Krüger-0/+78
etc: Add sample rust-analyzer configs for eglot & helix LSP configuration in editors like Emacs (eglot) and helix does not use the same JSON format as vscode and vim do. It is not obvious how to set up LSP for rustc in those editors and the dev guide currently does not cover them. Adding sample configuration files for those editors alongside the currently existing JSON one would be helpful. I figured having those included in the repo like the JSON one might save someone some time and frustration otherwise spent on trying to get the more niche editors' LSP to work properly. I'll add a section in the dev guide too.
2024-09-27etc: Add rust-analyzer configs for eglot & helixKajetan Puchalski-0/+78
LSP configuration in editors like Emacs (eglot) and helix does not use the same JSON format as vscode and vim do. It is not obvious how to set up LSP for rustc in those editors and the dev guide currently does not cover them. Adding sample configuration files for those editors alongside the currently existing JSON one would be helpful.
2024-09-27Rollup merge of #130517 - bjorn3:update_ra_config, r=onur-ozkanGuillaume Gomez-0/+1
Add the library workspace to the suggested rust-analyzer config
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-09-18Add the library workspace to the suggested rust-analyzer configbjorn3-0/+1