Blender auto complete python scripting in a IDE (such as visual studio)

I want to make addons for blender, however, I would like to have auto complete. I want to use an IDE such as visual studio (with the Python tools for visual studio), but I do not know how to get the blenders python api into the IDE project. I saw things such as , but I do not really understand what to do, and it is said that this isn’t really supported.
Id assume there must be something people are using to script for blender outside of their text editor. I seen some answers to this question in some posts, but some of those are from 2 or so years ago and I am unsure if they are relevant anymore as the api they used might be outdated.
Any help is appreciated.