soates / Auto-Import

vscode extension that will automatically finds, parses and provides code actions for all available imports. Only currently works with files in your folder and TypeScript.
MIT License
164 stars 62 forks source link

when writing console.log it imports console module #41

Open vytautas-pranskunas- opened 7 years ago

vytautas-pranskunas- commented 7 years ago

this bug is very annoying because every time i am working on debugging i have to delete console import from the top.

gofugui commented 5 years ago

i hava meet the same matter,here is my solution from stackoverflow:

1、Start typing console 2、Click enter, allowing intellisense to import console = require("console"); 3、Ctrl + left click(or F12) on require("console"); console string 4、Comment out the code