copy-python-path
copy-python-path copied to clipboard
fix: handle parenthesized imports in getImportedSymbolMap
Fixes a bug where imports with parentheses (both single-line and multi-line) were not properly parsed, causing the extension to fail to copy the full import path. For example:
from file.path import (MyClass, OtherClass)
a = MyClass()
Copying MyClass before ended up with file.path vs now file.path.MyClass