turbo-editors/turbo-rustpublic Fork 0
v1.0.0
Commits
Clone
git clone https://git.rickub.com/turbo-editors/turbo-rust.git
git clone ssh://git@rickub.com/turbo-editors/turbo-rust.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

tools.toml · 53 lines · 1.5 KBTOML Blame HistoryRaw
📦 Turbo Rust 713ea5c k33g 11h ago1# turbo-rust tools.
2#
3# Each [[tool]] becomes one line of the Rust menu, in the order they appear
4# here. name is what the menu shows; a letter between tildes is its hot key, and
5# no two tools should claim the same one.
6#
7# command goes to "sh -c", so pipes, globs and && work: one entry can be a
8# whole sequence.
9#
10# menu says which menu it appears in. Leave it out and the tool goes into the
11# Rust menu; name anything else and that menu is created for you, in the order
12# the names first appear here. A tool that has nothing to do with Rust belongs
13# in one of your own:
14#
15# [[tool]]
16# name = "~E~cho"
17# command = "echo TADA"
18# menu = "Tools"
19#
20# output says where what the command prints goes:
21# popup a dialog that fills in as it runs, and says the exit code (default)
22# terminal a terminal window, for anything that reads the keyboard or runs long
23# editor an editing window once it has finished, to search with Ctrl-F
24#
25# Commands run in the directory the editor was started in, which is why they
26# see the whole workspace when you start from its root.
27
28[[tool]]
29name = "~F~ormat"
30command = "cargo fmt"
31output = "popup"
32
33[[tool]]
34name = "~L~int"
35command = "cargo clippy --all-targets"
36output = "popup"
37
38[[tool]]
39name = "~B~uild"
40command = "cargo build"
41output = "popup"
42
43[[tool]]
44name = "~T~est"
45command = "cargo test"
46output = "popup"
47
48[[tool]]
49name = "~R~un"
50command = "cargo run"
51# A terminal, not a popup: a program that reads the keyboard has to be able to
52# be answered, and one that runs long has to be able to be interrupted.
53output = "terminal"