Rust Toggle End Of Lines - Rust10x VSCode Extension

  Рет қаралды 4,296

Jeremy Chone

Jeremy Chone

Күн бұрын

Quick video about the new Rust10x VSCode extension end of line features. that I use to streamline some of my Rust Programming coding.
You can find more info at: rust10x.com/vs...
GitHub link: github.com/rus...
VSCode Marketplace: marketplace.vi...
Discord general-rust - / discord
== Some links
- Twitter - / jeremychone
- Discord general-rust - / discord
- Discord rust10x - / discord
- Rust10x - rust10x.com - Rust resources for production coding.
Playlists:
- Rust AI Programming Series: • JC - Rust & AI Program...
- Rust Web App Production Coding Series: • JC - Rust Production C...
- Rust For Desktop App: • JC - Rust Programming ...
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: • JC - Rust - Everything...
- Rust Programming for Web Development: • JC - Rust Programming ...
- Rust Courses: • Rust Course 2021 by th...
- Rust for Java Developers: • Rust for Java Developers
== Rust10x Web App production coding:
Episode 01: • Rust Axum Production C...
Episode 02: • Rust Sea-Query + SQLX ...
Episode 03: • Rust Workspace Product...
Episode 04: • Rust Argon 2 Password ...
Episode 05.1: • Rust RPC Router - Axum...

Пікірлер: 12
@Boronesss
@Boronesss 5 ай бұрын
just one of the best rust content creator! really like your content.
@irlshrek
@irlshrek 5 ай бұрын
JC IS A LEGEND! I don't use vscode but I'll turn this into neovim mappings. Great idea!
@JeremyChone
@JeremyChone 5 ай бұрын
Thanks. Make sure to look at the latest main branch; I just removed some dead code. Also, one thing I might add in the next release is an `eol_cycle` command, which will cycle through those endings. This might be a good alternative binding to `cmd + ;` for some. By the way, if you are making a public extension for neovim for Rust, I am more than happy to add a link in the readme.
@LucasOe
@LucasOe 5 ай бұрын
Wouldn't it make more sense to have it cycle through the options? Maybe have one keybind to toggle the await and one to toggle the questionmark. Or one command that cycles through all four.
@JeremyChone
@JeremyChone 5 ай бұрын
Funny, this was my next feature I was going to add the ‘eol_cycle’ for the ones that prefer to bind this one.
@JeremyChone
@JeremyChone 5 ай бұрын
Btw, I like your idea of some ‘eol_toggle_question’ and similar for await. I might add those as well.
@zaafhachemrachid1701
@zaafhachemrachid1701 5 ай бұрын
thx for all hard work
@endogeneticgenetics
@endogeneticgenetics 5 ай бұрын
Oh my gosh, that’s so nice!
@JeremyChone
@JeremyChone 5 ай бұрын
I just added a eol_comma as well.
@codeitlikemiley
@codeitlikemiley 5 ай бұрын
i believe it is possible to make it just use one single key press e.g. cmd + ; then properly parse the method signature , so if it is a async with result then it would have .await?;
@JeremyChone
@JeremyChone 5 ай бұрын
Yes, that would be cool, but in practice, it might be tricky, especially to find the function. 1) We could do it the "cheap way," like a text/regex way, but this will become computationally heavy as the code grows. 2) We could piggyback on rust-analyzer if they have an API for that, but this could also be quite complex. And at the end, we still have to toggle the ? on/off, as sometimes users might want the Result for some matching.
@michaelheinrich5219
@michaelheinrich5219 5 ай бұрын
Nice extension, greatly appreciated!
Rust AI Function Calling - Full Tutorial (with async-openai)
1:55:26
Jeremy Chone
Рет қаралды 4,7 М.
Rust Error Handling - Best Practices
21:33
Jeremy Chone
Рет қаралды 21 М.
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 47 МЛН
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
5 Steps to Learn Rust Programming
25:06
Jeremy Chone
Рет қаралды 7 М.
Rust Programming: TypeState Builder Pattern Explained
14:30
Jeremy Chone
Рет қаралды 32 М.
Building a real Rust CRATE from scratch to PUBLISHED
34:35
Jeremy Chone
Рет қаралды 6 М.
Clean Code is SLOW But REQUIRED? | Prime Reacts
28:22
ThePrimeTime
Рет қаралды 306 М.
Build Blazing Fast Backends with Rust & Actix Web
18:28
Flo Woelki
Рет қаралды 12 М.
Rust Ollama By Examples - 4 Chapters (Full Tutorial - Rust AI)
1:00:42
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 291 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 65 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 638 М.
Gitlab DELETING Production Databases | Prime Reacts
17:27
ThePrimeTime
Рет қаралды 333 М.
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН