Hi @eirannejad,
it seems that autocomplete fails on many of my scripts after a certain level:
it does not happen on a new empty script, but if the script has a bit of complexity, it fails quite often.
_
c.
Hi @eirannejad,
it seems that autocomplete fails on many of my scripts after a certain level:
it does not happen on a new empty script, but if the script has a bit of complexity, it fails quite often.
_
c.
Currently, and especially, when using the rhinoscriptsyntax
and scriptcontext
modules, type hinting is not available to the autocompletion since these modules do not include any type hinting so we can share the same source between Python 2 and 3.
You can get better autocompletion if you type hint your variables:
#! python3
import scriptcontext as sc
from Rhino import RhinoDoc
doc: RhinoDoc = sc.doc
doc.Objects.
I have a ticket to improve this
RH-78861 Add python 3 type hints to rhinoscriptsyntax methods