That is a huge downfall to using the Python nodes… as you probably know, IDE’s make coding a lot easier, debugging easier, and even makes typing faster and easier with auto fills and things. There really is no way to use a python node like you would your IDE. The syntax is the same, it will compile the same, but as far as user interface, what you see is what you get… There’s no hidden settings to help make life easier while coding in a Python node.
Now with that said, it puts users in a great spot to use Dynamo. If you want to write your whole code in Python… well then go use your IDE, Dynamo isn’t for you. But if you have a entry - mid level programming skill set and live in Revit most of your day. Dynamo is perfect for you.
My advice… for what its worth, this isn’t some sort of golden rule… Use Dynamo to make your life easier. Why struggle to shove all your code in one Python script then spend hours debugging what Dynamo already does. Don’t re-invent the wheel. Sure it will take a week, but once you get the hang of Dynamo, its super simple. As I mentioned before… I use Dynamo out of box nodes to fetch my information out of Revit. Once Dynamo has got all my parameters I want to use, I will then set up python nodes to process, sort, get rid of, add to, etc. all my parameters. I find Dynamo is great at getting at getting the information I want, but slightly lacking in its ability to manipulate lists. Dynamo can do some basic list manipulation, but for complex manipulation the Python nodes are much quicker and easier assuming you have some basic coding knowledge