LunarVim as a Python IDE | Pyright | Black Formatting | Flake8 Linting | Virtual ENV Switching

  Рет қаралды 21,369

chris@machine

chris@machine

Жыл бұрын

starter.lvim: github.com/LunarVim/starter.l...
Blog post: / lunarvim-as-a-python-ide
BECOME A MEMBER:
/ @chrisatmachine
SUPPORT THE CHANNEL
💳 Patreon: / chrisatmachine
💰 Paypal: paypal.me/chrisatmachine
👕 Merch: shop.spreadshirt.com/chrisatm...
SOCIAL MEDIA
🕸️ Website: www.chrisatmachine.com
🐦 Twitter: / chrisatmachine
💻 Github: github.com/ChristianChiarulli
📺 Odysee: odysee.com/$/invite/@chrisatm...
💬 Matrix: matrix.to/#/+atmachine:matrix...
📡 Twitch: / chrisatmachine
🔌 Discord: / discord
₿ DONATE BITCOIN
Bitcoin: bc1qlw9t04evwvvlgkwkxf3cm9mfk6zgmy09sp4uja

Пікірлер: 44
@chrisatmachine
@chrisatmachine Жыл бұрын
I'll do python testing and debugging next
@picaso1131
@picaso1131 Жыл бұрын
sir how about django ?
@dod_ytent9984
@dod_ytent9984 Жыл бұрын
Can you also do jupyter notebooks please, that's a big part of our workflow.
@chrisatmachine
@chrisatmachine Жыл бұрын
@@dod_ytent9984 I'm not really sure how well that would work tbh. There is something called magma you can try tho.
@preethamveeranna8319
@preethamveeranna8319 Жыл бұрын
y not neovim? i followed your neovim series for setting up neo
@chrisatmachine
@chrisatmachine Жыл бұрын
@@preethamveeranna8319 It's easier to do with LunarVim.
@code0312
@code0312 19 күн бұрын
Awesome video! All the other ones I've seen are so unclear, this is the only video I've seen that taught everything clearly. Keep up the great work!
@EusebioResende
@EusebioResende Жыл бұрын
Was looking for this. Thanks for the video Chris. Cheers!
@crytex1747
@crytex1747 Жыл бұрын
Thank you for the great content you make! I learned so much from the neovim from scratch series.
@smibssmibs
@smibssmibs Жыл бұрын
Excellently condensed and to the point.
@MalcolmJones-bossjones
@MalcolmJones-bossjones Жыл бұрын
exactly what i've been looking for thank you so much for the quick tutorial
@DrMocktopus1
@DrMocktopus1 Жыл бұрын
Wow amazing video, I’ve only started learning python so I’ll come back to this when I’m competent enough to use this
@user-fl7px4hz9d
@user-fl7px4hz9d 9 ай бұрын
Thank you man. Its 2023 oct, but i've only started to dive into nvim and its ecosystem. I dont want to offend anybody, but, according to my experience so far - LunarVim its the easiest and stable choice to pure "plug'n'play" experience. Reading the LunvarVim repo and getting familiar with nvim and lua api - i cant imagine the amount of work you have done. I truly appreciate all your time spent on this)
@kimo01031983
@kimo01031983 Жыл бұрын
Thanks a lot Chris very useful video
@eazysnatch
@eazysnatch Жыл бұрын
One of the coolest options I made is to format the code when I save it. In other words,, every time you ":w" the file black will run, so there is no need to initiate it with a key combination anymore. Also, there is a slight delay when you initiate "save" with ":w" and when black runs and finishes. That gives me the option to save and exit very fast without formatting. It's a thing I get used to, and its super powerful. If you don't like the delay just dont add it.
@user-et3mh8kl6z
@user-et3mh8kl6z 9 ай бұрын
Excellent! Could you plz tell me how can I get auto docstring?
@antonioduarte2386
@antonioduarte2386 8 ай бұрын
amazing video, can i randomly just ask which font you're using?
@yeshwanthkumar7764
@yeshwanthkumar7764 4 ай бұрын
Great video! Is there a guide to build a config like this from scratch in neovim?
@pedr0psb
@pedr0psb Жыл бұрын
Is it possible to declare a set of lsp servers, linters and formatters on my lunarvim config to be installed automatically, instead of having to pick them on the GUI?
@adibhanna
@adibhanna Жыл бұрын
I would love to see how you can configure Go and Rust for Lunarvim
@chrisatmachine
@chrisatmachine Жыл бұрын
I'll do Rust, Go and JS/TS next for languages
@adibhanna
@adibhanna Жыл бұрын
@@chrisatmachine THANK YOU!!
@daixso
@daixso Жыл бұрын
@@chrisatmachine Thank you! Python and Go are the languages I am using the most!
@gabrielmoreno2554
@gabrielmoreno2554 Жыл бұрын
How do you create virtual environments in the first place? BTW good video
@Kimaro696
@Kimaro696 Жыл бұрын
Would love to see you do the equivalent for JavaScript and typescript
@chrisatmachine
@chrisatmachine Жыл бұрын
I plan to
@Kimaro696
@Kimaro696 Жыл бұрын
@@chrisatmachine awesome, looking forward to it
@perhari
@perhari Жыл бұрын
any plans for a c++ ide tutorial?
@vladdank9158
@vladdank9158 Жыл бұрын
Is there a way to see method signatures with Lvim? I'm coming from VSCode, been playing around with Nvim but saw Lvim as an easier alternative to avoid so much configuration.
@chrisatmachine
@chrisatmachine Жыл бұрын
just press shift+k on top of the method you're intereted in
@OzoneBhattarai-lm2es
@OzoneBhattarai-lm2es 10 ай бұрын
hey, if Im using pylint with django, how do I setup lunarvim to work with it? I've added the command and filetype similar to yours, and created a pylintrc with my django project. However, I keep getting unrecognized option for any of the option I enter, such as unrecognized option : django-setting-module, not finding pylint_django etc.
@arturoocode
@arturoocode 9 ай бұрын
Does the selection of virtual environments only work with conda? I use virtualenv and it gives me an error.
@ProjectileGrommet
@ProjectileGrommet 11 ай бұрын
For some reason my venv list is empty (as opposed to in vscode when my python interpreter list is vast)
@kevinleezy5787
@kevinleezy5787 Жыл бұрын
I'm trying to install black and I keep getting a 'Failed to create python3 virtual enviornment' from Mason, but healthcheck sees my python 3.10 installation? Is there a path I need to set? Edit: I found the solution to my problem In Debian/ubuntu/mint you need to run 'apt install python3.10-venv' to solve your issue.
@traxes-pg8cx
@traxes-pg8cx 3 ай бұрын
What font are you using in the video?
@PinjemDulu_
@PinjemDulu_ 10 ай бұрын
Bow about LunarVim for Database? Can you make that?😅
@AricGardnerMontreal
@AricGardnerMontreal 10 ай бұрын
venv switching appears to fail without conda
@Fahrenheit_451
@Fahrenheit_451 10 ай бұрын
Not sure if I will get an answer here but I get the error: swenv not found wenn writing to the config file and I cannot install it with Mason. Any suggestions how I can install swenv?
@jianxue283
@jianxue283 10 ай бұрын
my case is if I reopen using lvim, it will automatically install all plugins.
@LucasSRamos
@LucasSRamos 6 ай бұрын
The swenv doesn't worked properly in here. It doesn't find the installed packages.
@simontam8231
@simontam8231 Жыл бұрын
why did you go with flake8 over the more modern ruff?
@chrisatmachine
@chrisatmachine Жыл бұрын
It's just an example, I've used flake8 for a long time.
@simontam8231
@simontam8231 Жыл бұрын
@@chrisatmachine Ah, I see. I recommend checking ruff out if you're not familiar yet. It implements nearly all the flake8 rules, a lot of the more popular flake8 extension rules, and a bunch more like isort, pydocstyle, and pyupgrade. Plus it's way faster.
@chrisatmachine
@chrisatmachine Жыл бұрын
@@simontam8231 I'll give it a shot, maybe next stream
LunarVim | Debugging & Testing Python Setup
4:39
chris@machine
Рет қаралды 14 М.
Настраиваем свой конфиг для NeoVim на Lua
52:17
PurpleSchool | Anton Larichev
Рет қаралды 34 М.
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,4 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 31 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 60 МЛН
I tried Neovim Distributions so you don't have to
9:12
typecraft
Рет қаралды 142 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 411 М.
Don't use VSCode
35:31
PyCon South Africa
Рет қаралды 212 М.
Which PLUGIN IS THE BEST for Neovim/Git? (PRACTICAL EXAMPLES included)
8:32
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 69 М.
A Powerful Way To Make Editing Code In Neovim Even Better
17:48
Josean Martinez
Рет қаралды 114 М.
VSCode to LunarVim
8:56
Christopher Kapic
Рет қаралды 33 М.
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 779 М.
Linux on Windows......Windows on Linux
23:54
NetworkChuck
Рет қаралды 185 М.
Как слушать музыку с помощью чека?
0:36
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2,7 МЛН