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

EcoLint

Ayush Chauhan

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

EcoLint

EcoLint is a powerful VS Code extension that helps developers write more energy-efficient and sustainable code. It analyzes your code for energy-inefficient patterns and uses Google Gemini AI to suggest and apply optimized refactoring.

Features

  • AI-Powered Code Optimization: Integrates with Gemini AI to suggest energy-efficient code improvements.
  • Carbon Impact Estimation: Calculates potential carbon savings from code optimizations.
  • Gamified Experience: Tracks your environmental impact with a "Trees Saved" status bar counter.
  • Support for Modern Web Languages: Works with JavaScript, TypeScript, React, and more.

Requirements

You must provide a valid Google Gemini API Key in the extension settings to enable AI-powered optimizations.

Extension Settings

This extension contributes the following settings:

  • ecolint.geminiApiKey: Your Google Gemini API Key.
  • ecolint.modelId: The specific Gemini model ID to use (default: gemini-2.5-flash).

Usage

  1. Open a JavaScript or TypeScript file.
  2. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
  3. Run "EcoLint: Optimize with Gemini".
  4. Review the suggested changes and apply them.

Release Notes

0.0.1

Initial release of EcoLint.

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