nice vid! here are some of my favs: alt + shift + left arrow: goes to previous cursor place alt + shift + right arrow: goes to next cursor place (after doing above) ctrl + w: marks whole word ctrl + w: (multiple times): marks whole expression (for example arguments in method call) ctrl + b == ctrl + mouse click (instead of switching hand to the mouse) ctrl + y: removes whole line ctrl + d: copies line above cursor (or marked word) alt+shift+insert: simultaneous multi-line editing (google it out!) this one seems complex but is simple really and handy: ctrl+shift+*+1 - collapses all code on level 1 (the * and number must be on numpad, sorry latptops) ctrl+shift+*+2 - collapses all code on level 2 ctrl+shift+*+3 - collapses all code on level 3 etc.
Use mouse scroll wheel click on a function and it takes you to the code for that function. If you have a mouse with forward / back buttons you can then go back again.
Got very nice helps from this video : ) But I have a problem: There are some languages after selecting Inject language or reference, but none of them are SQL-like. How to get as many languages as shown in this video? Do I need pycharm pro or just some plugins? Grateful from the bottom of my heart.
Yes, this requires pro version and it is actually PyCharm integration with DataGrip. And it is actually more powerful than author shows. For example notice that in addition to auto-completing the SQL keywords it also suggests table names and column names. So it actually works with your specific database (of course PyCharm needs to be connected to it to get the schema). This also allows me to verify the statement and making sure it returns what I need, I can also refactor the database etc. I don't understand why JetBrains doesn't advertise this more (I'm trying to find a good RUclips video showing it but I'm failing, there's one from JetBrains, but they are showing EAP version which is still buggy, so it looks less impressive). For me it removes the reason for ORM or at least SQL builders. It basically solves (or at least minimizes) that impedance mismatch between code and SQL.
Its ashame that Pycharm never warn the developer when there is a mistake on the code. Eg. I call a function A from another funtion B. Where the function A was moved to a class or the not yet written yet. Rarely when our pointer enters function B, that time a tiny string, so called warning appears on the debug console. That too no red color. But the project runs... We will come to know this only after we release the project. Shame on pYCHARM.
Use type hints and Pycharm can help out more. Your complaint really is about Python, not Pycharm. With a typed language, Jetbrain IDEs catch all possible errors upfront.
@@falklumo One thing that does not work in the video is the the injected SQL is not checked for possible errors. The WHERE "email" is not null is a WHERE 1=1 clause, and at it's best a SQL linter would warn us about that (probably email shouldn't be in quotes) :-)
Just NO ... yes VSC is more lightweight but I honestly can't think of a single thing VSC is better at than Pycharm .... certainly Pycharm Professional. If you need to use databases for example .... which most prof devs do .... the VSC integration is not even in the same ballpark as Pycharm professional....but it obviously costs money.
00:30 01. Find Action
02:35 02. Live Templates
03:36 03. File Navigation
04:20 04. Right Split
04:34 05. Reformat
05:15 06. Cyclic Code Completion
05:34 07. Optimize Imports
06:47 08. Language Injection
07:30 09. Evaluate Expressions
08:31 10. Check Regular Expressions
thanks for putting this together :)
@@patloeber You're welcome, thx! :)
hey how do i move from one cursor place to another? I use vscode remap and tab doesn't work. it indents the line instead
code completion inside a string is a game changer....THANK YOU! from the bottom of my coding heart.
nice vid! here are some of my favs:
alt + shift + left arrow: goes to previous cursor place
alt + shift + right arrow: goes to next cursor place (after doing above)
ctrl + w: marks whole word
ctrl + w: (multiple times): marks whole expression (for example arguments in method call)
ctrl + b == ctrl + mouse click (instead of switching hand to the mouse)
ctrl + y: removes whole line
ctrl + d: copies line above cursor (or marked word)
alt+shift+insert: simultaneous multi-line editing (google it out!)
this one seems complex but is simple really and handy:
ctrl+shift+*+1 - collapses all code on level 1 (the * and number must be on numpad, sorry latptops)
ctrl+shift+*+2 - collapses all code on level 2
ctrl+shift+*+3 - collapses all code on level 3
etc.
hey how do i move from one cursor place to another? I use vscode remap and tab doesn't work. it indents the line instead
You are a god amongst us puny humans, I have written down all of these in a special keymap txt file I have. Thank you so much
I think we need more of these
Super helpful tips, especially for a relative novice like myself. Thanks!
Power user tips. Favorite PyCharm tip is to watch Patrick's video's for help! Thank you!
hehe thank you :)
Awesome, thank you guys, really helpful!
Du hast mir gerade für meine weitere Zukunft Stunden gespart! Alle Tipps kannte ich vorher nicht.
Vielen Dank! ;)
nice!
I can’t wait to use the productivity tips in my life! 💫 Keep rising to be who you want to be! 💫 #keeprising #risingtobe #aswerise
Hi pat as a beginner do you recommend using pycharm instead of vscode? Thanks mate subbed
Great video!!
which theme colour do you use?
I love your theme how to get that theme?
Dracula plugin
Use mouse scroll wheel click on a function and it takes you to the code for that function. If you have a mouse with forward / back buttons you can then go back again.
Which theme you are using in Your Pycharm?
Cool tricks. Thanks mate.
that regex feature is actually fire
nice video, thank you
What's your theme used in pycharm?? How can we get that?
why i have shift + end, it will create new line for me instead of right split?
The first tip is nice thanks
Got very nice helps from this video : )
But I have a problem:
There are some languages after selecting Inject language or reference, but none of them are SQL-like.
How to get as many languages as shown in this video? Do I need pycharm pro or just some plugins?
Grateful from the bottom of my heart.
Yes, this requires pro version and it is actually PyCharm integration with DataGrip. And it is actually more powerful than author shows. For example notice that in addition to auto-completing the SQL keywords it also suggests table names and column names. So it actually works with your specific database (of course PyCharm needs to be connected to it to get the schema). This also allows me to verify the statement and making sure it returns what I need, I can also refactor the database etc. I don't understand why JetBrains doesn't advertise this more (I'm trying to find a good RUclips video showing it but I'm failing, there's one from JetBrains, but they are showing EAP version which is still buggy, so it looks less impressive). For me it removes the reason for ORM or at least SQL builders. It basically solves (or at least minimizes) that impedance mismatch between code and SQL.
Can you recommend a python profiler, to help accelerate the code?
Snakeviz!
Its built into python
How about tips for VSCode?
Do a code completion one
What's the Theme you're using?
Dracula :)
I thought your channel had a different name
I changed my channel name just last week
curious but didn't understand anything but intrige
Sorcery
Its ashame that Pycharm never warn the developer when there is a mistake on the code.
Eg.
I call a function A from another funtion B. Where the function A was moved to a class or the not yet written yet. Rarely when our pointer enters function B, that time a tiny string, so called warning appears on the debug console. That too no red color. But the project runs...
We will come to know this only after we release the project.
Shame on pYCHARM.
Use type hints and Pycharm can help out more. Your complaint really is about Python, not Pycharm. With a typed language, Jetbrain IDEs catch all possible errors upfront.
@@falklumo One thing that does not work in the video is the the injected SQL is not checked for possible errors. The WHERE "email" is not null is a WHERE 1=1 clause, and at it's best a SQL linter would warn us about that (probably email shouldn't be in quotes) :-)
My 1 PyCharm tip: Remove PyCharm, Install VSCode
Instructions unclear, interpreter not found
Just NO ... yes VSC is more lightweight but I honestly can't think of a single thing VSC is better at than Pycharm .... certainly Pycharm Professional. If you need to use databases for example .... which most prof devs do .... the VSC integration is not even in the same ballpark as Pycharm professional....but it obviously costs money.
The other way round, the tip goes …
Really, I use both, but in comparison, vscode is a toy.