📜 ⬆️ ⬇️

QtCreator and its use as IDE for Rust

So I asked my colleague for a small guide on how to set up QtCreator as an IDE for Rust and post it with his permission. I myself use CLion and later I will write about how things are with it in this field. Moped is not mine. I just posted the announce. (with)

What does a modern programmer need in the first place? Developed abstract thinking? Strong math background? Perhaps stress resistance ??

Of course not! The most important thing is a good IDE.

image

If you, too, trying to overpower Rust, sad, glancing at areweideyet
- welcome under cat.

So, tired of 100-line errors of templates and being seduced by the ML-tools of Rasta, I decided to find an editor for it, and not just a simple one, but a golden one. It’s so that the debugging in it is comfortable, and the lighting, and the usual navigation functionality, in general, everything is like in the best houses in Europe.

However, my taste was spoiled by QtCreator , a program familiar to many programmers ++ and at least much loved. So it was decided to turn it into a trolley bus. After all, quite by the way, Language Support has recently been added to it! To work we need rustup with installed components rls, gdb and the Creator itself.

White loaf



image

Creater has a lot of useful plugins, but I demonstrate only those necessary for Rasta


image

image

image


image

Simple devices



image

image


image

image


image


image


image

image

image

image

(Or black)


In general, everything is ready. But, since Our trolley bus from the loaf, there are some complaints:

  1. rls works no worse than in vscode, but in order to run go to def, you must press F2. Ctrl + click is currently not working due to an unnecessary check in the editor code. If you're a Gentushnik, here's a patch .
  2. Autocomplete works by ctrl + space, click and it will come out.
  3. The backlight is not complete, because I just started reading docks on the plant, but you can easily finish it by yourself.

But why?!


The creator is probably the most convenient ide that I have ever used. Air navigation, excellent integration with gdb, a smart interface, and practically does not eat resources:

image

image

EVERYTHING!

Source: https://habr.com/ru/post/437128/