Hacker
suman patari
@suman05
Projects
FlagLens — Flagsmith Environment Defaults Inside VS Code
Flagsmith Experimentation HackathonNov 2026
FlagLens is a VS Code extension that helps JavaScript and TypeScript developers understand their Flagsmith feature flags while reading code. A flag check in code does not tell you whether that feature is enabled in Development or Production. Developers have to switch to the dashboard and check each environment. FlagLens brings those environment defaults directly into the editor. It detects supported flag calls with literal names and displays labels such as “Development: ON · Production: OFF” above the code. Hover details show flag values and descriptions when available, while missing flags produce warnings in VS Code’s Problems panel. Developers can refresh the displayed states after making changes in Flagsmith. The extension reads actual flag states from a self-hosted Flagsmith instance. It clearly labels them as environment defaults because individual users and segments may receive different values. It is read-only and does not send source code to Flagsmith.