Ruststudio 0.2.0
Web setup, Rust Setup and Ruststudio Helper
A new Windows web setup with a component list that also updates Ruststudio, Rust Setup, extra terminals, selectable Output, file copy and paste, the free Ruststudio Helper AI and RaftDB.
New
- a web setup for Windows. A small setup program looks at the PC and shows a list of components: Ruststudio, Rust (only if it is missing), the C++ build tools (optional, with their size shown and a Windows approval prompt), Ruststudio Helper (required) and RaftDB (ticked by default when it is not installed). Each download is checked by size and SHA-256. Modify shows the Rust and C++ tools you installed yourself as "Already installed" and never removes them. A silent run has switches such as
/WITHRAFTDBand/NORAFTDB; a part that needs administrator approval is never taken from the defaults in a silent run. - the setup also updates Ruststudio. When a newer version exists, an up-arrow icon appears in the title bar (also Help > Update Ruststudio); clicking it asks, then closes Ruststudio, updates and reopens it. The setup's
/UPDATEswitch updates silently. - Rust Setup (Tools > Rust Setup). It checks the Rust compiler and cargo, rust-analyzer, rustfmt, clippy, rust-src, the linker for your system and whether a newer Rust exists, with a tick, cross or warning per row and a button where something can be done. If no Rust is found at the first start it asks once whether to set it up (twice dismissed means never again). The installers carry a Rust that is copied without internet; otherwise it is downloaded from rust-lang.org. Your own Rust always comes first and is never replaced; the bundled one appears as "Ruststudio Rust (bundled)" under Tools > Choose Toolchain.
- things that need permission ask first, and updates are never silent. Installing the C++ Build Tools or the Xcode tools asks again before it starts; on Linux Ruststudio never runs
sudoand shows the command to copy. Once a week it asks whether a newer Rust exists and says so in the status line; a box in the dialog turns this off. - Terminal > New Terminal (Ctrl+Shift+
, Cmd+Shift+on macOS) opens another independent shell. Tabs on the right of the panel header switch between them, with Close, Next and Previous Terminal; up to 10 can be open. - text in the Output panel can be selected with the mouse (drag, double-click for a word, triple-click for a line, Shift+click to extend), copied with Ctrl+C, and a right-click offers Copy, Select All and Clear. A click on a line that points at a file still opens it.
- copy, cut and paste in the file explorer, from the menus and with your system's keys (Ctrl+C, Ctrl+X, Ctrl+V, also Ctrl+Insert, Shift+Delete and Shift+Insert; Cmd on a Mac). A name that is taken is never overwritten: the new item is called "name copy.ext". Copied files go on the system clipboard as real files, so File Explorer or Finder can paste them.
- Ruststudio Helper, a free AI that runs on your own PC. While you type Rust (
.rsfiles andCargo.toml) a short grey suggestion appears when you pause: Tab accepts it, Esc dismisses it and Ctrl+Right takes the next word. In the Assistant chat it writes one small block of code on request (Apply, Copy or Discard; Apply is one undo step), and "Fix with Ruststudio Helper" in the Problems panel and the quick fix menu proposes a fix for one error. It has no settings, runs only while Ruststudio is open, listens on your own PC only and sends nothing you type anywhere. Tools > Ruststudio Helper shows its state and can remove its files. - Tools > Install RaftDB asks raftdb.com for the newest release, shows the version, checks the size and SHA-256 of the installer and installs it (Windows asks for administrator approval; if RaftDB's server refuses a file, the message says so and nothing is installed). The web setup offers it as a ticked row when it is not installed.
Changed
- new projects build out of the box. A template that declares its own workspace is folded into the solution (one workspace root; its tests project becomes a solution project), projects that use RaftDB's client are set up with the rupm registry and ask for
raftdb-client0.0.5, and every template was checked by building a new project from it. - the Edit, Run, Go, Git and Tools menus group their long lists into submenus (for example Lines, Change Case, Tests, Changes, History and Blame, Packages). A menu no longer opens while another program is in front and closes when another program takes over.
- sign-up no longer asks for a date of birth; the "I am at least 13" box stays.
Fixed
- installs and account links were not counted because the IDE sent them to www.ruststudio.org, which redirects, and a redirect drops a POST. Ruststudio now talks to ruststudio.org directly, and the sign-up page says when linking the app failed.
- slow downloads from GitHub-hosted files no longer give up early in the setup (longer timeouts).
Not yet
- the web setup is built for Windows on x64 only; Linux and macOS versions are designed but not built. Ruststudio Helper, New Terminal, Output selection and explorer copy and paste were run on Windows, not on macOS or Linux. Ruststudio Helper handles Rust files and
Cargo.tomlonly; it is good at a small rename, a short function or a missing method name and often wrong on anything that needs types, lifetimes or the borrow checker. The Problems list and the Network, Performance and Debug panes are not selectable text yet.