I HATE the Python Code Editor (PyCharm)

preview_player
Показать описание
Which code editor do you use?

Рекомендации по теме
Комментарии
Автор

Lol funny skit but seriously I’d rather have my IDE catch these issues before a code review/ linting failure when I push to dev

Geryf
Автор

1. it's PEP rules, not PyCharm
2. PyCharm can auto import libs for you
3. CTRL+ALT+L (auto reformat)

notkamui
Автор

guys use pen and paper, it will never give you warnings

jayandjeff
Автор

im assuming this is a skit, but for anyone who doesn't know, this isn't an "issue" with pycharm.
pycharm is just telling you what the PEP8 standard says you should do, which is the *official* style guide for python. it's quite nice for assuring consistency throughout all python code written so you don't have to decode every person's special kind of formatting

if you want a language like python without a specific style guide, try nim (a little more complex and not interpreted, but you can call most python libraries with something called nimpy). it *has* a style guide for the standard libraries, but nim itself doesn't have a general style giude.

zpp
Автор

This is literally why PyCharm is amazing, makes you write cleaner code for everyone.

Darkev
Автор

It's not pycharm, it's PEP8...
You can disable a lot of these checks too.
You can auto-import libs when you use a function/class.

arshiaaghaei
Автор

You can easily turn off certain hints or reformat whole document on ctrl+alt+L, also you can turn on reformatting on save. These things I love in JetBrains IDEs

kxihkwx
Автор

I use vs code for python and most languages. The only specialized IDEs that I use are Visual Studio for C++/C# and IntelliJ IDEA for Java

ezrakornfeld
Автор

With this video you've caused me to actually download this program and I now kinda like it, I just told it that it shouldn't complain about lines like
import os, sys, random, re
(where it just swapped os and sys around to "improve" the code, found a new error and improved it by swapping the two around again...)
by clicking on the lightbulb that appears on the left end of the line and clicked on "Ignore errors like this". Never bothered me again with that. Same with the two spaces before and one after the # symbol for comments.
Thanks for recommending PyCharm to me! XD

Lampe
Автор

this is PEP 8, the editor isn't at fault ahaha

RedstoneHair
Автор

this is what i call a skill issue by not using black to format your code automatically each time it saves

x
Автор

I haven't used PyCharm but I'm guessing there's a toggle somewhere for disabling PEP-8 warnings

gavinthecrafter
Автор

Ctrl + Alt + L fixes around 80% of style issues. Alternatively you can just turn them off. But then you'll just have ugly code.

callbettersaul
Автор

Linting warnings are not warnings, and are not meant to be manually fixed, just hit Ctrl + Alt + L then Ctrl + Alt + O.

You started by importing libraries first. But actually you can make the editor import them for yoy while you are coding

eboubaker
Автор

Idk but it tells you about PEP 8, It is a good thing for me idk i like to keep my code clean

rohitdhir
Автор

"Real pros use Notepad or whatever random text editor comes with their OS"
-someone, somewhere

bluesillybeard
Автор

I am using it and it is quite annoying, but mostly because it's advanced. If I had more experience it'd be more comfortable and I could actually use them, like setting up custom environments for every project instead of using one. I always get there in the end though.

plushloler
Автор

Is there some extension for VS Code to warn about any PEP 8?

simp-
Автор

Shouldnt it autoformat to fit those conidtions?

tofixrs
Автор

PEP8 is heavy, because Python is a heavily concise language, slight variations in expressions can lead to confusion

dhrumildave