E
E
eegmak2021-03-03 13:49:24
Sublime Text
eegmak, 2021-03-03 13:49:24

How to make Sublime text3 and rustup friends in lubuntu?

Trying to compile code

fn main() {
    println!("Hello World!");
}

gives an error message

bash: Rscript: command not found
[Finished in 0.0s with exit code 127]
[shell_cmd: Rscript "/home/user/Documents/hello.rs"]
[dir: /home/user/Documents]
[path: /home/ user/.cargo/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ games:/usr/local/games:/snap/bin]

In the build system I chose rust, the lines "Hello World!" not visible (
Before the question, I installed rustup according to this instruction https://doc.rust-lang.ru/book/ch01-02-hello-world.html and I would not want to change anything except the settings of the sublime itself like this do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-03-03
@vabka

Sublime is bad for rasta.
For rust, it's better to use vscode or intellij idea:
1. Itellij rust - plugin for idea
2. rust-analyzer - plugin for vscode
UPD: rust-analyzer can also be installed in ST3: https://rust-analyzer.github.io/manual .html#sublim...
But it's better to use VSS, because autocomplete, debugging, and tests already work well there.
In Intellij, debugging is only available in clion

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question