dfinity / vscode-motoko

Motoko language support for VS Code.
Apache License 2.0
42 stars 16 forks source link

import handling #123

Open borovan opened 1 year ago

borovan commented 1 year ago

Hi Ryan,

Would it be possible to have something like in VSCode for go, where the imports automatically get added/removed based on the code? What's the complexity of something like that?

It would save us so much time. Also, would help getting rid of unneeded imports which is huge when you have loads of canisters.

borovan commented 1 year ago

I know there was a Motoko Formatter v0.0.6 but it doesn't seem to work together with the VS Motoko plugin

rvanasa commented 1 year ago

For sure! This is a planned feature, and I am gradually making progress towards this in the background.