adp001 opened this issue on Apr 18, 2020 ยท 29 posts
Ken1171_Designs posted Thu, 03 December 2020 at 2:19 PM
adp001 posted at 2:14PM Thu, 03 December 2020 - #4406316
Yes, if your editor supports code hinting for external libraries. I can't tell with Sublime, but with Visual Code and PyCharm hinting is available as soon as "import ...." was successfully typed (and the editor imported/analysed the lib).
Maybe you have to create the empty file "__ init__.py" in the directory where you stored the lib. This tells Python that it is allowed to load libs from this path.
Yes, Sublime Text supports both code completion and code hinting. However, I believe that "__ init__.py" file was deprecated in Python 3. We only need it in Python 2, which has already reached it's end-of-life cycle last year. Unless you are writing Python2 code, I believe we no longer need that file to identify module folders. Yay!
Thank you for taking the time to answer my questions. I will check out that code hinting link for Sublime Text. Does it do the same as your library?
Characters, Body Sculpts, Morph Corrections, Outfits, Python Scripts, Universal Heads, and Videogames!