Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>smartimportNew to Visual Studio Code? Get it now.
smartimport

smartimport

棉花糖琴

|
52 installs
| (0) | Free
fast generate ald page
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

#smartimport

Features

smartImport Vue code in Visual Studio Code:

nl import

## Usage

Open context menu in vue, choose 导入客户端交互clientJs ; 在vue文件中输入要导入包的名字后,按tab键。 例如要导入下拉框,输入nldrop+(ctrl + tab)键,即能添加如下代码: import NlDropdown from 'components/common/NlDropdown/dropdown.js

Keyboard Shortcut

Use the following to embed a beautify shortcut in keybindings.json. Replace with your preferred key bindings.

{
    "command": "aldpage.smartImport",
    "key": "ctrl+tab",
    "mac": "cmd+tab",
    "when": "editorTextFocus && resourceLangId == vue"
}

Github

https://github.com/bewhatyouare/aldPlugin

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft