Moe Icons for VS Code
Code completion, semantic highlighting and icon diagnostics for Moe Icons in
React and Vue projects. Requires VS Code 1.85 or newer (Node 18 extension host).
Required: install the Moe Icons CLI
You must install the Moe Icons CLI and use it to install and generate your
project's icons before using this extension's project-aware features. The
extension reads the CLI-generated catalog and modules; installing the VS Code
extension alone does not install the icon library.
With Node.js 22 or newer, run these commands from your project's root:
npm install -D @moewolf/moe-icons-cli
npx moeicons init
Choose the React or Vue target and the icons/themes you need in
moeicons.config.jsonc, then install and generate:
npx moeicons install free
npx moeicons generate
For Pro installation, authentication and further configuration, see the
CLI documentation.
Usage
Import components from the output directory generated by the CLI. For example,
if your configured output directory is moeicons beside the current file:
import * as Icons from './moeicons';
const icon = <Icons.Archive />;
// Type <Icons.Ar to complete an installed export, if Archive was generated.
Completion, highlighting and diagnostics use the current project's verified
CLI-managed exports. Keep generated files consistent with
.moeicons/install-metadata.json; regenerate through the CLI when changing your
icon selection. The extension completes icon names without embedding SVG source
or downloading icon resources.
Features and current scope
- Complete imported icon components and namespace members in React and Vue.
- Highlight recognized icon references with colors that follow the editor theme.
- Report unavailable exports in verified generated modules.
- Inspect style libraries and the plugin/library version map.
Relative imports and bounded local paths aliases in JSON/JSONC tsconfig or
jsconfig are supported. Config extends, automatic imports, npm import
resolution and Assets reference completion are not supported. Dynamic or
unverified inputs are skipped. The installed catalog and verified generated
files are authoritative; bundled metadata is a reference.
The Moe Icons Account view reads the CLI session on the extension host and has
a refresh command. Log in with moeicons login on that same host. Remote SSH,
WSL and containers do not copy local credentials automatically. Unknown account
rights never produce a guessed Free entitlement warning. Verified icon proxies
that include Pro resources in their configured themes warn when the current
account has a confirmed inactive Pro entitlement; this is an editor hint and
does not replace the server's download authorization.
Settings
| Setting |
Default |
Description |
moeicons.highlightColorMode |
auto |
Follow the editor theme, or force light / dark semantic-token modifiers. Override colors in editor.semanticTokenColorCustomizations. |
moeicons.styleGroup |
outline |
Deprecated; completion uses verified project exports. |
moeicons.libraryVersion |
"" |
Deprecated; installed resource version is read from the active project. |
moeicons.websiteUrl |
https://moeicons.com |
Official website link. |
moeicons.repositoryUrl |
https://github.com/moewolf-dev/moe-icons |
Public repo link. |
moeicons.pluginRepositoryUrl |
https://github.com/moewolf-dev/moe-icons-plugins |
Plugin repo link. |
moeicons.documentationUrl |
https://moeicons.com/docs/ |
Official documentation link. |
Commands
Moe Icons: List Style Libraries — list style libraries with free/pro markers.
Moe Icons: Show Plugin/Library Version Map — show plugin, CLI and resource delivery versions.
Moe Icons: Show Account — focus the account/version view.
Moe Icons: Refresh Account — read the current CLI session and refresh entitlement status.
Development
npm install
npm run compile # type-check
npm run build # bundle to dist/
npm test # unit tests
npm run test:core-host # isolated local VS Code core smoke test
npm run package # produce a .vsix
Press F5 in VS Code to launch an Extension Development Host.
Marketplace publishing
Publisher: moewolf; extension ID: moewolf.moe-icons-plugins.
Development and packaging require Node.js 22 or newer.
PRs and branch pushes run CI. A matching vX.Y.Z tag dispatches the release
workflow on main, which checks out the tagged code, tests and packages it,
publishes the same VSIX to GitHub Release and Marketplace, and authenticates using
Microsoft Entra ID federation. The Entra application must have Contributor
permission on the moewolf Marketplace publisher. No long-lived secret is used.
See the publishing runbook for first VSIX upload,
version synchronization, and policy setup.
Help and feedback
If you encounter a bug, an installation problem, or any other issue, email
info@moeicons.com. Include your VS Code, extension and
CLI versions, reproduction steps, and any relevant error messages.
Project discovery and releases
The nearest CLI installation inside the workspace is used for each file. Local
paths and baseUrl in tsconfig.json, tsconfig.app.json or jsconfig.json are
supported when they resolve to verified generated modules. Inherited extends
configuration and arbitrary JavaScript configuration are not evaluated.
The style/version commands show the active project's installed data. The old
manual style and library-version settings are ignored. Plugin releases remain
independent: a CLI or resource release does not automatically publish a plugin.
The version map records a tested combination, rather than forcing every project
to use the bundled resource version.