Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>NexmojiNew to Visual Studio Code? Get it now.
Nexmoji

Nexmoji

Nexmoji

|
5 installs
| (0) | Free
Remove emojis and stickers from AI-generated code and text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nexmoji VS Code Extension

VS Code Marketplace Version License GitHub stars GitHub issues

Remove emojis and stickers from AI-generated code and text with intelligent context awareness.

Clean up AI-generated code by removing emojis while keeping your formatting perfect.

Why Use Nexmoji VS Code Extension?

  • AI-Generated Code Cleanup: Perfect for cleaning up code from ChatGPT, GitHub Copilot, and other AI tools
  • Professional Standards: Remove emojis to meet corporate coding standards and documentation requirements
  • Preserves Formatting: Maintains code structure, indentation, and comments while removing emojis
  • Context Awareness: Intelligently determines file type and applies appropriate removal strategies
  • Real-time Detection: Live emoji highlighting and detection as you type
  • Workspace Integration: Process entire workspaces with comprehensive analysis
  • Safe & Reliable: Preview changes before applying them with dry-run functionality

Quick Start

Install Extension

  1. Open VS Code Extensions (Ctrl+Shift+X)
  2. Search for "Nexmoji"
  3. Click Install

Basic Usage

# Remove emojis from selection
Ctrl+Shift+E

# Quick fix current line
Ctrl+Shift+Q

# Smart clean entire file
Ctrl+Shift+S

Main Commands

Basic Processing

# Remove emojis from selection
Nexmoji: Remove Emojis from Selection

# Remove emojis from current file
Nexmoji: Remove Emojis from Current File

# Remove emojis from entire workspace
Nexmoji: Remove Emojis from Workspace

# Preview changes first (dry-run)
Nexmoji: Show Emoji Statistics

Context-Specific Commands (Recommended)

# Smart clean with context awareness
Nexmoji: Smart Clean: Context-aware Emoji Removal

# Show context analysis
Nexmoji: Show Context Analysis

# Scan workspace for emojis
Nexmoji: Scan Workspace for Emojis

# Highlight emojis in document
Nexmoji: Highlight Emojis in Document

Real-time Features

# Toggle real-time emoji detection
Nexmoji: Toggle Real-time Emoji Detection

# Quick fix current line
Nexmoji: Quick Fix: Remove Emojis

# Show detailed statistics
Nexmoji: Show Emoji Statistics

Utility Commands

# Show supported file types
Nexmoji: Show Context Analysis

# Show detailed context information
Nexmoji: Scan Workspace for Emojis

# Check emoji statistics
Nexmoji: Show Emoji Statistics

# Get help
Nexmoji: Show Context Analysis

Keyboard Shortcuts

Primary Shortcuts

  • Ctrl+Shift+E: Remove emojis from selection
  • Ctrl+Shift+Q: Quick fix (remove emojis from current line)
  • Ctrl+Shift+S: Smart clean (context-aware removal)

Context Menu

Right-click in editor for quick access to:

  • Remove Emojis from Selection
  • Quick Fix: Remove Emojis

What It Does

Nexmoji removes emojis from your code while keeping the formatting intact:

Before:

function testFunction() {
    // This comment has an emoji: rocket
    const message = "Hello world! sparkles";
    
    if (message.includes("sparkles")) {
        console.log("Found emoji! star");
    }
}

After:

function testFunction() {
    // This comment has an emoji:
    const message = "Hello world! ";
    
    if (message.includes("")) {
        console.log("Found emoji! ");
    }
}

Context Awareness

The extension intelligently determines file context and applies appropriate emoji removal strategies:

Production Code

  • Files: .js, .ts, .jsx, .tsx, .py, .java, .cpp, .c, .php, .rb, .go, .rs
  • Strategy: Remove all emojis
  • Directories: src/, lib/, dist/, build/, app/, components/, utils/

Documentation

  • Files: .md, .txt, .rst, .adoc
  • Strategy: Preserve emojis (user-facing content)
  • Directories: docs/, readme/

Configuration

  • Files: .json, .yaml, .yml, .toml, .ini, .cfg, .conf
  • Strategy: Remove emojis but preserve structure
  • Directories: config/

User-Facing Content

  • Files: .html, .css, .scss, .sass
  • Strategy: Preserve emojis (UI/UX content)
  • Directories: public/, static/, assets/, content/, pages/

Supported File Types

  • Code: .js, .ts, .jsx, .tsx, .py, .java, .cpp, .c, .php, .rb, .go, .rs
  • Web: .html, .css, .scss, .xml
  • Data: .json, .yml, .yaml
  • Documentation: .md, .txt
  • Configuration: .ini, .cfg, .conf

Installation

Prerequisites

  • VS Code 1.60.0 or higher
  • Node.js 16+ (for development)

Install from VSIX Package

  1. Download the nexmoji-1.0.0.vsix file
  2. In VS Code, go to Extensions (Ctrl+Shift+X)
  3. Click the "..." menu and select "Install from VSIX..."
  4. Choose the downloaded file and install

Install from Marketplace (Coming Soon)

  1. Open VS Code Extensions (Ctrl+Shift+X)
  2. Search for "Nexmoji"
  3. Click Install

Examples

Process a React Component

# Open the file in VS Code
# Use Ctrl+Shift+S for smart clean
# Or use Command Palette: "Nexmoji: Remove Emojis from Current File"

Clean Up an Entire Project

# Use Command Palette: "Nexmoji: Remove Emojis from Workspace"
# Or use "Nexmoji: Scan Workspace for Emojis" first to preview

Process with Context

# Smart clean with context awareness
Nexmoji: Smart Clean: Context-aware Emoji Removal

# Show context analysis first
Nexmoji: Show Context Analysis

Analyze Emoji Usage

# Show statistics for current file
Nexmoji: Show Emoji Statistics

# Scan entire workspace
Nexmoji: Scan Workspace for Emojis

Real-time Detection

Enable real-time emoji detection to see emojis highlighted as you type:

  1. Open Command Palette (Ctrl+Shift+P)
  2. Run "Nexmoji: Toggle Real-time Emoji Detection"
  3. Emojis will be highlighted with orange borders
  4. Toggle off when done

Workspace Scanning

Get comprehensive analysis of your entire workspace:

  1. Open Command Palette (Ctrl+Shift+P)
  2. Run "Nexmoji: Scan Workspace for Emojis"
  3. View results showing:
    • Total files scanned
    • Files with emojis
    • Total emojis found
    • Top files with emojis

Best Practices

  1. Always preview changes first using "Show Emoji Statistics"
  2. Use context-aware processing with "Smart Clean" for best results
  3. Test on a small subset before processing entire workspaces
  4. Use version control to track and revert changes if needed
  5. Enable real-time detection for live feedback during development

Troubleshooting

Common Issues

Extension not working:

  • Check if VS Code version 1.60.0 or higher is installed
  • Verify extension is activated in the workspace
  • Try reloading VS Code window (Ctrl+Shift+P > "Developer: Reload Window")

Commands not appearing:

  • Check Command Palette (Ctrl+Shift+P)
  • Verify extension is installed and enabled
  • Restart VS Code if needed

Performance issues:

  • Disable real-time detection for large files
  • Use workspace scanning for batch operations
  • Check file size limits

Debug Mode

  1. Open Developer Tools (Help > Toggle Developer Tools)
  2. Check Console for extension logs
  3. Look for "Nexmoji extension is now active!" message

Debug Commands

# Enable verbose output in Developer Tools
# Check extension activation logs
# Verify command registration

Performance

  • Optimized Detection: Single regex pattern for fast emoji detection
  • Batch Processing: Efficient workspace scanning with caching
  • Memory Management: Automatic cleanup and resource management
  • Debounced Updates: Real-time detection with 500ms debouncing
  • Caching: 5-minute cache for workspace scan results

Configuration

The extension automatically detects file context, but you can customize behavior:

File Type Detection

  • Based on file extension
  • Directory structure analysis
  • Content keyword matching
  • Confidence scoring

Preservation Rules

  • Production Code: Remove all emojis
  • Documentation: Preserve emojis
  • Configuration: Remove emojis, preserve structure
  • User-Facing: Preserve emojis

Development

Building from Source

git clone https://github.com/nexmoji/nexmoji-vscode
cd nexmoji-vscode
npm install
npm run compile
npm run package

Testing

npm test

Publishing

npm run publish

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Community

  • Issues: Found a bug? Report it here
  • Features: Have an idea? Request it here
  • Contributing: Want to help? See our contributing guide
  • Star: Like this project? Give it a star on GitHub!

License

This project is licensed under the MIT License - see the LICENSE file for details.


Nexmoji VS Code Extension - Clean, professional code without emojis.

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