Files
lucide/docs/guide/vscode.md
Eric Fennis 3a608bac58 Updates docs
2025-10-15 21:08:38 +02:00

1.1 KiB

Visual Studio Code

Visual Studio Code (VS Code) is a popular code editor that provides a wide range of features and extensions to enhance your development experience.

Turn off autocomplete in your IDE

All icons are exported from the main module. This can create a lot of noise in the autocomplete suggestions of your IDE. You can turn this off by adding the following setting to your VS Code settings.

{
  "typescript.preferences.autoImportFileExcludePatterns": [
    "lucide-react", // or
    "lucide-preact", // or
    "lucide-react-native", // or
    "lucide-vue-next",
  ]
}

JS Docs and icon preview

Each icon is provided with JS docs. In VS Code, you can hover over the icon component to see the JSdocs.

Also a little preview of the icon is shown.

VS Code JS Docs

Third party plugins

There are several third party plugins available for VS Code that provide additional features for working with Lucide icons.

See the VSCode Marketplace for available extensions.