ThisistheAtompackageforImportJS.
InstallingInstalltheatom-import-jspackageviaAtom'spackagemanager.
Configureimport-jsforyourproject(there'snoneedtogloballyinstallimport-jsfortheatomplugin)
Opentherootofyourprojectasafolder(File->AddProjectFolder…)
Importafile!
DefaultkeybindingsBydefault,atom-import-jsattemptstosetupthefollowingkeybindings:
MappingActionDescriptionCmd+Shift+jImportwordImportthemoduleforthevariableunderthecursor.Cmd+Shift+iFiximportsImportanymissingmodulesandremoveanymodulesthatarenotused.Cmd+Shift+kGotowordGotothemoduleofthevariableunderthecursor.
评论