You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a quick read it sounds very reasonable. However, at this point I'm not sure that's something importmagic.el can control. I think it's up to the parent python project to decide what they decide to query, but I could very well be wrong here.
Let me take a look at this over the weekend and I'll see what I can do.
Hi, thanks for the awesome package.
Currently for
os.path.join*
(where*
is the cursor),importmagic-fix-symbol-at-point
will ask imports foros.path
which give candidates likeIt would be nice to have an option to ask imports for
os
even the cursor is right afteros.path.join
likefor one who prefers usages like
os.path.join()
anddatetime.datetime.now()
instead ofjoin()
andnow()
.Also, if the cursor is right after
os.path*
,importmagic-fix-symbol-at-point
, candidates is now given aswhich (importing
path
while using asos.path
) is probably not what the user want in this situation.How do you think about it? I found this because I saw the gif of the
importmagic
repo and noticed that it importsos
in this situation.The text was updated successfully, but these errors were encountered: