Skip to content

Make importing easier with "Copy Import Directive" menu item. #32216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bwilkerson opened this issue Feb 17, 2018 · 2 comments
Open

Make importing easier with "Copy Import Directive" menu item. #32216

bwilkerson opened this issue Feb 17, 2018 · 2 comments
Labels
area-intellij Tracking issues for the Dart IntelliJ plugin. type-enhancement A request for a change that isn't a bug

Comments

@bwilkerson
Copy link
Member

There is an outstanding request to support code completion of identifiers that are not yet imported into the current scope, but until / unless that happens it would be really convenient if there were a "Copy Import Directive" menu item (minimally on the file tab and in the Project view).

Similar to the way "Copy Path" works, it would compute the package: URI that should be used to import the selected file and put the text on the clipboard so that it could then be pasted into an editor.

@bwilkerson bwilkerson added type-enhancement A request for a change that isn't a bug area-intellij Tracking issues for the Dart IntelliJ plugin. labels Feb 17, 2018
@alexander-doroshko
Copy link

IntelliJ IDEA 2019.1 + recent Dart SDK versions do support completion of identifiers that are not yet imported. So probably this request could be closed.

@FMorschel
Copy link
Contributor

@bwilkerson I think this and #30295 could probably be closed. I'm not sure about the mentioned issue but I take it asks for a similar thing from what I could gather.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-intellij Tracking issues for the Dart IntelliJ plugin. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants