Hi Arjan, Can you do a video on how to correctly package a python codebase so that it is easy to move it everywhere? There seems to be multiple approaches and it would be great if you can show a complete demo of this. Thank you!
I didn't even finish the video and just liked it and got subscribed to your channel. I actually like the style and the effort you put into your content! Keep it up!
I recently moved from vscode to vim. I share the "I'm old" sentiment, but I was having a hard time with syncing and updates using vscode in different computers. Vim solved all these issues for me, trivially. And I gained modal editing from it. With only the cost of a lot of researching hours and a couple of weeks of severely hampered productivity... totally worth it!
Literally the only thing I like VSCode for over Vim is the code navigation in VSCode is easier to set up than in Vim. Once set up, Vim is just as capable of not more so, but VSCode is just easier to set up.
I just found your content and I'm so excited!! As an intermediate software engineer that loves Python your content is exactly what I've been looking for to level myself up.
As usual, your video pours more into my brain than it can handle. But I keep trying. I have been using VSCode for a couple of years and have barely touched the surface. Great video.
@arjancodes .. 2 really nice navigation tips .. CTL-E and CTL-Y will scroll your window, retaining cursor position. H M L (I always think of it as High, Middle, Low) will put your cursor at the top, middle, bottom of the visible area.
@@ArjanCodes I'm coming from the other direction - have used vim and CLI forever and am trying to learn the benefits of VScode/IDE life. Always something new to learn. Thanks for your channel, it's been a nice watch.
Nice video. I used to code using Sublime Text, but I really like vscode extensions. Some of my favorites are: peacock - to set the color of the window (similar to what you did) todo tree - to highlight and bookmark FIXMEs and TODOs bookmark - pretty self-explanatory fix json - for unindented json files the "Remote" extensions - to work on remote servers and/or attach to containers
Maybe it’s not so much for Python, but my current favorite extension has to be Rainbow Brackets. It is exactly what it sounds like, and is amazing for all the Latex that I write in Vscode
One of the areas you talked about was using mermaid to do class diagrams. I would be interested in the capability of generating ISO 10303- 11 graphic diagrams, especially if they were SBG.
About the first one: There's also one called Oh My Posh, which not only visual customization is available for Zsh, but for all the others terminals: cmd, powershell, bash, etc.
Relative line numbers in vim are great when needed but if like me you prefer to have sequential line numbers on by default and only switch on relative line numbers when needed then you can do this quickly in command-mode with the following command :se rnu and switch it off (back to default line numbering) with : se rnu!
One thing I always find difficult with Python is the sheer number of available linters and checkers. I love static analysis but I can't sensibly run all of these tools and I like to find "the best". I've recently come across a new checker and formatter called "ruff" which sounds interesting as it claims to be a reimplementation of the best of the others. An episode on linters and checkers and formatters would be great!
PyCharm (pro) integrates other JetBrains' products like WebStorm and DataGrip hence you have a complete set of tools including web development and databases
Arjan you are more than university or any entity. Thank you so much. I should find a way to buy your courses. I need your material strongly for my career.
Great videos. I'm really enjoying the Data Science series. For someone who mostly does DS projects and does not have a formal software development background, having someone go through solid design principles to tackle DS problems is really helpful. On a side note, the email validation at your website is too strict and is not accepting emails with _ or . before the @ sign. I get the "Please double check your email address" error.
Periods are ignored by email address parsers anyways so you should be able to submit your email without the periods no problem. I'm not sure if the same is true for underscores.
Would be interesting to have a follow up /update to this video now that many of the linting/formatting/etc tools such as Black, mypy, etc have been turned into separate extensions, and the old settings deprecated.
Also that tip for setting the menubar to different colours for different projects is something I'd never thought about, but is a huge game changer for me as I'll often have 3-4 VS Code projects open at any given time & from the Mission Control view (swipe up with 3 fingers on trackpad) it'd always be hard to see which window was for which codebase. Now with the colouring it's really easy to spot the one I'm looking for.
Hi Arjan, why my vscode does not suggest import QtWidgets from PyQt5 if I just type in QtWidgets? Python extension and other extensions already installed.
Great suggestion- Mermaid Support, now we need a complementary video. Now you just need to create a video about your thought process when developing the various classes in a project (including usage of Marmaid). Thx for all your videos
Hi Arjan, for Optional types in pydantic classes, if I don't specify = None, pylance complains "Argument missing for parameter". Is there a way around this?
re changing line: there's a shortcut to go to line with number you want. For me that's faster than you "relative line" solution. But defo it's personal taste :)
Thank you for this video. Im using VSCode as well, and for some reason, Im not getting import IntelliSense from my project's venv. If I manually type the import, it works, and VSCode recognizes the module. But Im not getting any IntelliSense for this import while writing (or asking for a fix action). Is it working for you? If so, can you explain how you enabled it?
100% agree that pycharm is way better vs code. but still, i'd rather stick to a single ide that can get all works done (js, python, c, html, etc.) than use a best ide for each and every one task
I have my VS Code set up with python. I am using the 'Code Runner' extension to allow me to run my scripts by clicking on the 'play' icon at the top right of the window. I have configured the IDE to run scripts in the terminal. There is a drop down next to the play button and if I choose 'Run Python File' , output of the terminal looks correct. If I choose 'Run Code' I get lots of erroneous blank lines printed with output. Does anyone else get this? Does anyone have a fix?
Hi ArjanCodes, congratulations on the excellent videos and explanations. I have a question: Is it possible in VSC for python to change the color of a class method in overload? Thanks again
I use Spyder. It provides me an IDE where I feel I am always in debug mode. Whether or not I'm actually debugging at a breakpoint, I can still pop into ipython console and mock something up or check an assumption I have and see the variables. Kind of like a combination of Jupyter and an IDE. I really want to switch to VS Code because I like all the features but I feel like it slows me down because I don't know how to quickly and easily test things without actually having to set a breakpoint and enter debug mode. Do you have any advice to help make the switch more seamless?
Come from a same angle, in the end I use both depending on what needs to get done. Spyder for more data/data science driven work and VSCode for more web dev/app building work, as they both integrate quite well with Anaconda environment for dependency management.
I've been a long time emacs user. I just recently started using IDEs. I was recommended to use Intellij and PyCharm. And, I've been impressed with a few things, but mostly I've been frustrated using JetBrain's IDEs. Their interface is kinda clunky. It's hard to find things. It's unintuitive where to find things. For example things associated with project settings might not actually be in project settings. I've been wanting to try other IDE because I feel JetBrains stuff awkward. But, ultimately, I feel like going back to emacs and being the dinosaur that I am at my company. :)
4:06 what? Are you sure? Python extension auto-installs pylint?!?! 🤨 I mean I also user BOTH Pylance and pylint but they have quite some overlap and I have quite a big block of disable statements to have Pylance immediately do the things that pylint would only do on save.
On windows I found vs code to be much better than pycharm .. it does not take all memory ..with pycharm everything use to get stuck but with vs opening eSports game even does not show significant effects ..plus interface is quite good too
I have a question. I’m really tired of searching. I’m a macbook user. And I’m new in vs code. My question is how to get rid of the file path in terminal specially when you run Python ?
OhMyZsh is not Mac only + you can install zsh fish or whatever she'll you'd like in a second on any Linux distribution, but OhMyZsh is unnecessary bloat anyway, just manually install the extensions you need, you can take ohMyZsh as an example/inspiration tho
Love your videos ... but getting back to your VS Code v Pycharm arguments .... Pycharm is brilliant for web dev too ...its not just Python ..... as long as you get the paid Prof edition. I am older than you and I found it easy to switch to Pycharm. If you do a lot of db work , Pycharm is also brilliant and way better than VSC and ADS. VSC for Python dev is 7.5/10 ... Pycharm Prof is 9.5/10.
Happy new year everybody. I wish you a healthy, very successful 2022!
Happy new year 🥳
Happy new year sir!!!!!!!!!
Happy new year to you as well Arjan. Keep up the good work, loving your videos :)
Thank you, happy new, and all that is good to you and your family.
Happy new year to you and your family. Looking forward to learning lots new things from your channel in 2022!
Hi Arjan, Can you do a video on how to correctly package a python codebase so that it is easy to move it everywhere? There seems to be multiple approaches and it would be great if you can show a complete demo of this. Thank you!
This would be such a good video!!!
That would be great!
Hi Arjan, please do a video on this.... We often have issues making packages and importing...
ljuu
Yes i agree
I didn't even finish the video and just liked it and got subscribed to your channel.
I actually like the style and the effort you put into your content!
Keep it up!
I recently moved from vscode to vim. I share the "I'm old" sentiment, but I was having a hard time with syncing and updates using vscode in different computers. Vim solved all these issues for me, trivially. And I gained modal editing from it. With only the cost of a lot of researching hours and a couple of weeks of severely hampered productivity... totally worth it!
Yeah I agree. Been using vim for 9 year's and neovim for 3. NeoVim 0.5.0 with the LSP built in is nice.
"Protip: Delete VSCode" has been, and will remain, my advice to young coders.
Literally the only thing I like VSCode for over Vim is the code navigation in VSCode is easier to set up than in Vim. Once set up, Vim is just as capable of not more so, but VSCode is just easier to set up.
If you use WSL on Windows, you can setup oh-my-zsh and use a terminal like the Windows Terminal or Hyper intead of iTerm2...
Msys2 works too
Or oh-my-posh for powershell.
I just found your content and I'm so excited!! As an intermediate software engineer that loves Python your content is exactly what I've been looking for to level myself up.
Thank you Gabriel, glad you're here!
Gelukkig nieuwjaar alvast, Arjan! Ga zo door met je video's want ze zijn top Notch!
Dankjewel Willem - de allerbeste wensen!
As usual, your video pours more into my brain than it can handle. But I keep trying. I have been using VSCode for a couple of years and have barely touched the surface. Great video.
Thank you John, glad you liked the video!
@arjancodes .. 2 really nice navigation tips .. CTL-E and CTL-Y will scroll your window, retaining cursor position. H M L (I always think of it as High, Middle, Low) will put your cursor at the top, middle, bottom of the visible area.
Thanks Alfred, will remember this - I’m still a Vim noob, haha.
@@ArjanCodes I'm coming from the other direction - have used vim and CLI forever and am trying to learn the benefits of VScode/IDE life. Always something new to learn. Thanks for your channel, it's been a nice watch.
Nice video. I used to code using Sublime Text, but I really like vscode extensions. Some of my favorites are:
peacock - to set the color of the window (similar to what you did)
todo tree - to highlight and bookmark FIXMEs and TODOs
bookmark - pretty self-explanatory
fix json - for unindented json files
the "Remote" extensions - to work on remote servers and/or attach to containers
Thanks for sharing!
Can you use both django and python in sublime text as learner? I dont like vscode and dont want to pay money to pycharm pro edition
Oh awesome, I've been wishing for something like todo tree! Thanks for the tip!
I use mypy strict for type checking. The built in type checker provided by PyLance is Pyright for anyone who is interested.
Maybe it’s not so much for Python, but my current favorite extension has to be Rainbow Brackets. It is exactly what it sounds like, and is amazing for all the Latex that I write in Vscode
that and rainbow ident.
@@spadedaman4958 Rainbow brackets are now inbuilt.
@@vedantsharma6113 Rainbow ident != rainbow brackets my dude
1:37 I'm old too this is why I'm sticking with C++ builder and Delphi. Been using it for 24 years now.
You're absolutely awesome! Thank you so much for all of content and information you've shared.
You are so welcome!
Happy new year from thailand, Mr Arjan!
Happy new year!
Thanks Arjan. really liked the Mermaid extension👍
Thanks - glad it's useful to you!
There are few channels where i switch adblocker off. Great content.
I actually started using vscodevim once I saw you use it in your videos
One of the areas you talked about was using mermaid to do class diagrams. I would be interested in the capability of generating ISO 10303- 11 graphic diagrams, especially if they were SBG.
ohmyzsh can also display which python virtualenv you're in which is super helpful!
Great tip, thanks!
Great suggestion with titleBar color change! Always messed up when several windows were open.
May inspiration be with you!✊👍
Thanks so much Aлексей, glad it was helpful!
Nice presentation, gonna check out Mermaid for sure.
Mermaid was a cool tipp, I didn't know that yet. Thanks. Great fan of your videos =)
Glad to hear you like the videos, thank you!
Awesome! I recognise your point about refactoring being better in Jetbrains IDEs.
Is that something VSCode caught up to in the meantime or not?
About the first one: There's also one called Oh My Posh, which not only visual customization is available for Zsh, but for all the others terminals: cmd, powershell, bash, etc.
Happy new year!
Starship in my opinion is the best for customizing prompt. Works also with any shell.
Happy new year - I'll look into Starship, thanks for the tip!
This is very good! Just the tip on the type checking is very useful. Especially if you are part of a team with others who code in C++ etc.
Relative line numbers in vim are great when needed but if like me you prefer to have sequential line numbers on by default and only switch on relative line numbers when needed then you can do this quickly in command-mode with the following command
:se rnu
and switch it off (back to default line numbering) with
: se rnu!
Good to know, thanks!
I'm a huge fan of powerful tips and tricks 😬
Haha, same here :)
Great video, happy new year! ❤
Thank you - happy new year to you too!
One thing I always find difficult with Python is the sheer number of available linters and checkers. I love static analysis but I can't sensibly run all of these tools and I like to find "the best". I've recently come across a new checker and formatter called "ruff" which sounds interesting as it claims to be a reimplementation of the best of the others. An episode on linters and checkers and formatters would be great!
PyCharm (pro) integrates other JetBrains' products like WebStorm and DataGrip hence you have a complete set of tools including web development and databases
Arjan you are more than university or any entity. Thank you so much. I should find a way to buy your courses. I need your material strongly for my career.
I'm glad my content as been useful for you, Esmael!
Great videos. I'm really enjoying the Data Science series. For someone who mostly does DS projects and does not have a formal software development background, having someone go through solid design principles to tackle DS problems is really helpful.
On a side note, the email validation at your website is too strict and is not accepting emails with _ or . before the @ sign. I get the "Please double check your email address" error.
Periods are ignored by email address parsers anyways so you should be able to submit your email without the periods no problem. I'm not sure if the same is true for underscores.
Cool thanks for the pointer to the mermaid plugin 😀
Great suggestion with titleBar colour change! Always get confused when several windows are open.
May inspiration be with you!✊👍
Thanks so much Aлексей, glad it was helpful!
Happy new year Sir! Many thanks for your excellent videos! 👍
Happy new year! And glad to hear you enjoy the videos!
@@ArjanCodes Your videos are amongst the very few ones (on RUclips or elsewhere) that I recommend to my fellow devs/techs, actually 👍😃 Golden channel.
i like your code along videos. maybe make a more videos like those. i like to follow your code and then go back to it at my own pace.
Thanks for doing this video. I was using atom, but swapping to vscode with atom being deprecated.
Would be interesting to have a follow up /update to this video now that many of the linting/formatting/etc tools such as Black, mypy, etc have been turned into separate extensions, and the old settings deprecated.
Also that tip for setting the menubar to different colours for different projects is something I'd never thought about, but is a huge game changer for me as I'll often have 3-4 VS Code projects open at any given time & from the Mission Control view (swipe up with 3 fingers on trackpad) it'd always be hard to see which window was for which codebase. Now with the colouring it's really easy to spot the one I'm looking for.
I recommend Peacock extension for changing the colors of top bar for different projects
Hi Arjan, why my vscode does not suggest import QtWidgets from PyQt5 if I just type in QtWidgets? Python extension and other extensions already installed.
Wonderful video. THanks!
You're welcome, glad you enjoyed it!
Great suggestion- Mermaid Support, now we need a complementary video.
Now you just need to create a video about your thought process when developing the various classes in a project (including usage of Marmaid).
Thx for all your videos
Thank you Joseph, great idea!
can you share the pylint config json you usually use, as a starter json config for me? :D
I'm also old, but still change things up a bit, so I don't feel much older :)
Thanks.
Hi Arjan, for Optional types in pydantic classes, if I don't specify = None, pylance complains "Argument missing for parameter". Is there a way around this?
re changing line: there's a shortcut to go to line with number you want. For me that's faster than you "relative line" solution. But defo it's personal taste :)
@11:00 you make a fast line-navigation by keyboard, how this works exactly. best greatings and thanks very mutch.
Good little tips and tricks!
Glad you liked it!
Thank you for this video.
Im using VSCode as well, and for some reason, Im not getting import IntelliSense from my project's venv.
If I manually type the import, it works, and VSCode recognizes the module. But Im not getting any IntelliSense for this import while writing (or asking for a fix action).
Is it working for you? If so, can you explain how you enabled it?
Can I sort on columns? I have big txt files with numbers in there but I want to sort records based on values in them from col A to Col B.
Black, vim, oh-my-zsh ? Great minds think alike haha. I am using Pycharm but with the same plugins. Mermaid look cool too.
where is he going to view his settings like that in vscode?
100% agree that pycharm is way better vs code. but still, i'd rather stick to a single ide that can get all works done (js, python, c, html, etc.) than use a best ide for each and every one task
1:40 ~ 1:49 HAHAHAH Best part ever!!! Same here hahahah. Thanks for this video. Really cool content.
Thank you :)
Use Theme: Material Icon & Product. both together look very nice.
It will be painful at the beginning, but disabling your arrow keys will let you grasping Vim really fast
nnoremap k
nnoremap j
nnoremap h
nnoremap l
Yeah... that might be the only way to really get over it.
Hi, can you please share setting file? mine is empty , it's difficult to follow up from json file. if you share, I can import it. thanks a lot
Such a great video, can you by any chance do this for C#?
What browser are you using?
I have my VS Code set up with python. I am using the 'Code Runner' extension to allow me to run my scripts by clicking on the 'play' icon at the top right of the window. I have configured the IDE to run scripts in the terminal. There is a drop down next to the play button and if I choose 'Run Python File' , output of the terminal looks correct. If I choose 'Run Code' I get lots of erroneous blank lines printed with output. Does anyone else get this? Does anyone have a fix?
Hi ArjanCodes, congratulations on the excellent videos and explanations. I have a question:
Is it possible in VSC for python to change the color of a class method in overload?
Thanks again
You should probably add that stuff like Oh My ZSH are more "unix only", so Mac and Linux. To be precise.
thank you for adding chapters
You're welcome. These details are important IMO, especially in educational content.
can i get vscode to autofill my code like pycharm does?
can you please attach that .json in description.
Anyone knows if the `source.organizeImports` setting is isort under the hood?
Yes! Vim tutorials if possible
Hi Arjan, thank you for the videos
On it ;)
I use Spyder. It provides me an IDE where I feel I am always in debug mode. Whether or not I'm actually debugging at a breakpoint, I can still pop into ipython console and mock something up or check an assumption I have and see the variables. Kind of like a combination of Jupyter and an IDE. I really want to switch to VS Code because I like all the features but I feel like it slows me down because I don't know how to quickly and easily test things without actually having to set a breakpoint and enter debug mode. Do you have any advice to help make the switch more seamless?
Come from a same angle, in the end I use both depending on what needs to get done. Spyder for more data/data science driven work and VSCode for more web dev/app building work, as they both integrate quite well with Anaconda environment for dependency management.
Try Plant UML instead of Mermaid. It has many more diagrams and is consistent in syntax.
Please can you do video's on IOT technologies, thus beginner's to advanced
Nice music, where can I find it?
You should give the dev containers extension a shot. Great way to decouple environments!
Good point, I definitely want to dive into using containers for development, that’s going to make my life a lot easier I expect.
Hi, i will ask very simple question. How to jump to otherside of the bracket :(((
I've been a long time emacs user. I just recently started using IDEs. I was recommended to use Intellij and PyCharm. And, I've been impressed with a few things, but mostly I've been frustrated using JetBrain's IDEs. Their interface is kinda clunky. It's hard to find things. It's unintuitive where to find things. For example things associated with project settings might not actually be in project settings. I've been wanting to try other IDE because I feel JetBrains stuff awkward. But, ultimately, I feel like going back to emacs and being the dinosaur that I am at my company. :)
I mean Emacs is probably more of an IDE than all of those IDEs
Please can you do video's on IOT technologies, thus beginner's to advanced 13:49
4:06 what? Are you sure? Python extension auto-installs pylint?!?! 🤨
I mean I also user BOTH Pylance and pylint but they have quite some overlap and I have quite a big block of disable statements to have Pylance immediately do the things that pylint would only do on save.
I wonder if you have some tips for emacs as well :D
Mermaid looks like a better PlantUML, as PlantUML needs a bunch of external programs to work. Does anyone know what that technique is called?
This food gotta be so good, what do you order?
On windows I found vs code to be much better than pycharm .. it does not take all memory ..with pycharm everything use to get stuck but with vs opening eSports game even does not show significant effects ..plus interface is quite good too
Just reminder for all Windows users: you can use "Oh My Posh" to get these fancy terminal prompts
I've also chosen -pain- Vim recently. I dunno if it makes me more productive, but it boosts my ego for sure. I like it!
"Get off my lawn" xD you killed me
pycharm pro (paid version) works with js/ts fine as well
I have a question. I’m really tired of searching. I’m a macbook user. And I’m new in vs code. My question is how to get rid of the file path in terminal specially when you run Python ?
you are using users, my vscode is not like thar, how can you make custom for project than global?
I use Neovim plugin for VS Code
@1:30 I feel like I'm going to mess up the keyboard shortcuts.. SAME MAN!
to draw diagrams I highly recommend plantuml
zed-shell ?
thanks, but the extension neovim in better, because it works natively, and therefore is faster
I didn't know that. I installed Vim because it's way more popular (over 3 million downloads vs Neovim which has about 120k downloads).
js/py enthusiast here, posting just to appreciate effort, help yt algo
Thanks so much!
"Get off my lawn" 😆👏😆🤭😆
Mr Argan. When you will hire me ?
OhMyZsh is not Mac only + you can install zsh fish or whatever she'll you'd like in a second on any Linux distribution, but OhMyZsh is unnecessary bloat anyway, just manually install the extensions you need, you can take ohMyZsh as an example/inspiration tho
Love your videos ... but getting back to your VS Code v Pycharm arguments .... Pycharm is brilliant for web dev too ...its not just Python ..... as long as you get the paid Prof edition. I am older than you and I found it easy to switch to Pycharm. If you do a lot of db work , Pycharm is also brilliant and way better than VSC and ADS. VSC for Python dev is 7.5/10 ... Pycharm Prof is 9.5/10.
If vscode would only have an Ipython console where you can view variables easily...
there is a scratchpad extension that does that