rustfmt
Format Rust code (by rust-lang)
CodeLLDB
A native debugger extension for VSCode based on LLDB (by vadimcn)
Our great sponsors
rustfmt | CodeLLDB | |
---|---|---|
34 | 9 | |
4,373 | 1,319 | |
2.6% | - | |
9.1 | 8.1 | |
about 17 hours ago | 2 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rustfmt
Posts with mentions or reviews of rustfmt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-12.
-
Why are most of Rustfmt features unstable?
I could list all the tracking issues for them like for control_brace_style but honestly I feel as that would be rude and that is not my intention here. But if you want you can scroll through their configuration page and see which features are stable. I'm not quite sure if I can use these even though they aren't stable yet.
-
Rustfmt
See: https://github.com/rust-lang/rustfmt/issues/2924
-
New crate - impl-tools - #[autoimpl] and impl_scope! macros
See here for my suggestion.
-
Why is is prettier used if eslint can format?
There isn't overlap between these concerns (formatting and linting), formatting is syntactic analysis and linting is semantic analysis. There's only overlap because ESLint has some formatting capabilities as well. In modern languages, these are separate tools because they are separate concerns (rustfmt and rust-clippy , gofmt and go vet ).
-
Questions about zero-cost abstraction
rustfmt
- Internet debates have raged for too long – Let's Settle This
-
Why is there no "standard" formatting tool for haskell?
I really wish Haskell had something like rustfmt. Pretty much all Rust code follows the same default rustfmt style. rustfmt is also deterministic, so the original formatting has no effect on the new formatting. This makes things very regular and predictable.
-
Does code formatting work for you in VSCode and in integration tests?
Reported.
-
Thank you to the Rust community + LibertyOS 0.7.0
In case the next question would be Why coding style?, do not wait an answer on that. See https://github.com/rust-lang/rustfmt README.me for additional information about How to format Rust code according to style guidelines.
-
Having trouble with Rust Analyzer in Visual Studio formatting my statements onto newlines.
Check here: https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
CodeLLDB
Posts with mentions or reviews of CodeLLDB.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-16.
-
dap: configuration to automatically launch codelldb server
codelldb - https://github.com/vadimcn/vscode-lldb - DAP adapter for LLDB
-
How to get CodeLLDB working on Windows?
Please try the new pre-release linked from this issue.
-
Which is a good IDE to use?
Few days ago I would argue with this statement, but no longer. Right now I am blocked by a VSCode debug extension bug (which for some reason got closed despite the comment it is still broken in latest release) https://github.com/vadimcn/vscode-lldb/issues/527 Because of it I cannot debug code from a library, and in case of my project I cannot switch to Rust 1.51 (which would 'solve' this issue). The reason I've been using VSCode instead of CLion was ability to work in Docker containers, which lets me to easily cap the resources used by IDE and debugged application, which is neat.
-
How to debug VSCode Rust debugger skipping breakpoints
This is probably your problem, downdating your CodeLLDB should fix it.
-
Are there any debuggers that support pretty printing?
Oops, missed that you mentioned the ```dbg``` macro already. You might be interested in this with respect to CodeLLDB (for VSCode): https://github.com/vadimcn/vscode-lldb/wiki/Custom-Data-Formatters
-
55,000+ lines of Rust code later: A debugger is born!
I've added experimental reverse debugging support in Codelldb a while back. It's a bit hacky (e.g. there's no reverse line-stepping), but works okay for the most part.
-
What's a preferable way for debugging rust in vscode.
Are you a Windows user? Please read this if so.
-
Introducing Rustybot (part 2 of n)
https://github.com/vadimcn/vscode-lldb/blob/v1.6.1/MANUAL.md#remote-debugging
-
45,000+ lines of Rust code later: An update on the Record & Debug Tool (rd)
If you are a VSCode user, my CodeLLDB extension supports reverse debugging via rr.
What are some alternatives?
When comparing rustfmt and CodeLLDB you can also consider the following projects:
Clippy - A bunch of lints to catch common mistakes and improve your Rust code
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
vscode-cpptools - Official repository for the Microsoft C/C++ extension for VS Code.
vscode-rust
Rust for Visual Studio Code
just - 🤖 Just a command runner
rust-on-raspberry-pi
sublime-rust - The official Sublime Text 3 package for the Rust Programming Language
rr - Record and Replay Framework
rst - this project has been renamed to artifact
Rustup - The Rust toolchain installer