Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LESS Variable IntelliSenseNew to Visual Studio Code? Get it now.
LESS Variable IntelliSense

LESS Variable IntelliSense

lemon-popcorn

|
1 install
| (0) | Free
LESS 变量自动补全 / IntelliSense for LESS variables
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

less-variables-auto-complete

LESS 变量自动补全。输入 @ 后,自动列出工作区内定义的 LESS 变量,并在建议详情面板显示变量值和注释。

功能

  • 自动扫描工作区 .less 文件,提取 @var: value; 或 @var: var(--x, fallback);
  • 补全项:
    • 列表显示变量名(不含 @)
    • 回车插入 @变量名
    • 详情面板展示“变量值”和“注释/来源”

使用

  1. 在 LESS 文件中输入 @
  2. 选择变量名回车插入

设置

默认即可使用。如与其他提供器重复,可在工作区设置中关闭词法建议:

{
  "[less]": { "editor.wordBasedSuggestions": false }
}

发行说明

0.0.1

  • 初始版本:支持变量扫描与补全、详情面板展示
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft