Best practices for visual studio ACT Extension Python Coding
Does anyone know of any documentation on how to set up visual studio / have any recommendations for a typical workflow on how you code? I've been coding without an IDE, but this requires repeated opening and closing of mechanical to refresh my code whenever I'd like to test it. I'm also coding without type suggestions from an IDE, which would speed up finding errors considerably.
Is it possible to set up visual studio so I don't have to keep closing mechanical to test changes in my code?
Is it possible for visual studio to understand the namespaces from ansys python development? For example, visual studio does not understand what ExtAPI is and cannot make suggestions or code recommendations.
Any suggestions, recommendations, or best practices anyone has would be great!
Answers
-
Hi @Nick R Welcome to the forum! I don't know of best practices myself, but perhaps this discussion might be helpful?
I tried to do it in PyCharm in the past as well, although unfortunately I could not get it to work. Others may have had more luck with VS or VS Code perhaps.
https://discuss.ansys.com/discussion/comment/1188#Comment_1188
0