code execution from CudaText

Post Reply
Zarathustra
Posts: 2
Joined: 14.03.2023 13:18

code execution from CudaText

Post by Zarathustra »

Hello there fine people. I just started using CudaText and would like to execute (compile and run) my code directly from the text editor. In sublime I am able to do this quite easily and use the [Ctrl] + to do so, but I haven't figured out whether and if so how I can achieve this in CudaText. Specifically, I am interested in executing Rust code at the moment, so I would presumably need to configure this somehow. Can anyone inform me whether this is possible and if so how it can be achieved?
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Post by main Alexey »

Yes, possible! Two plugins (choose one of them)
- External Tools (more UI features and dialogs)
- Runner (no UI)

Help topics for both plgs: https://wiki.freepascal.org/CudaText_plugins
Zarathustra
Posts: 2
Joined: 14.03.2023 13:18

Post by Zarathustra »

Awesome, thank you so much. I was wondering why I didn't have the `Tools` drop-down menu in my version, but that is clear is now.
ecloud
Posts: 2
Joined: 11.06.2023 16:01

Post by ecloud »

Hi, how did you make the rust-analyzer work? It ask me to setup `linkedProjects`, but I don't know how and where to setup it.
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Post by main Alexey »

I dont know about rust-analyzer. did you ask about it at https://github.com/CudaText-addons/cuda_lsp/issues ? seems yes.
skarsgal
Posts: 13
Joined: 18.12.2022 17:27

Post by skarsgal »

Hi,
In "\py\cuda_exttools" there is the subfolder "\lang".
How to set up the language of dialog box (Tools\Config...)? The default it 'ru', but i like swith to 'it_IT'.
Thx
main Alexey
Posts: 2245
Joined: 25.08.2021 18:15

Post by main Alexey »

Hi
you can switch some plugin N to it_IT, only if you install the package for plugins translation to it_IT.
which must cover the ExtTools plugin!
such package was not made by people.
for example, de_AT package was made. it cover many many plugins. it is in Addons Manager.
skarsgal
Posts: 13
Joined: 18.12.2022 17:27

Post by skarsgal »

much appreciated.
Thank You.
Post Reply