vscode-motoko icon indicating copy to clipboard operation
vscode-motoko copied to clipboard

import handling

Open borovan opened this issue 2 years ago • 2 comments

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 avatar Dec 13 '22 16:12 borovan

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

borovan avatar Dec 13 '22 16:12 borovan

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

rvanasa avatar Dec 13 '22 18:12 rvanasa