vim-gf-python icon indicating copy to clipboard operation
vim-gf-python copied to clipboard

Find files for targets that are on imported modules

Open estebank opened this issue 11 years ago • 1 comments

I have a solution to find things like os.path, but the implementation could be considered unsafe. It would involve attempting to import it, and so depending on what one tries to find, it could be dangerous as the code would in effect be evaluated.

You could use the AST standard module for this. You wouldn't be evaluating the code, but rather only parsing it.

If I have time I'll create a pull request adding a part of this feature.

estebank avatar May 06 '13 14:05 estebank

That would be welcome.

mkomitee avatar May 11 '13 04:05 mkomitee