The CodeIgniter 4 development ecosystem inside VS Code — convention-aware
editing help and a project dashboard that reads your app through its own spark console.
Nothing is installed in your project. No Composer package, no module, no filter. The extension
talks to the spark console you already have and reads the files you already wrote. Targeting
CodeIgniter 4.7.
A dedicated container in the activity bar, aware of every CodeIgniter app in the workspace:
- Routes — every route from
spark routes, grouped by controller. Click one to jump to the handler method. - Spark — the full command inventory, grouped as CodeIgniter groups it (
make,migrate,db,cache, …). Click to run in a real terminal — generators, migrations and cache commands included, where you can see prompts and cancel. - Namespaces — the namespace and module map from
spark namespaces. - Logs — a live tail of today's file under
writable/logs/, with a level filter and an optional notification the moment anerror,critical,alertoremergencyline is written. - Todos — the
TODO/FIXMElist scattered through the project, collected in one place.
CodeIgniter's global helpers are convention-driven, and the extension knows the conventions:
model('…')completes to the model classes inapp/Models(and the ones core ships).view('…')completes to the templates underapp/Views.helper('…')completes to the helper files inapp/Helpersand CodeIgniter's own.service('…')completes to the known framework services.
The everyday scaffolding — controller, model, entity, migration, seeder, filter, config, validation,
view — as ci-prefixed snippets.
All settings live under ci. — phpPath, consolePath, cli.timeout, logs.notifyOnError,
logs.historyLines, todo.tags, todo.include, completions.enabled.
bun install
bun run typecheck
bun run build:bundle # → build/extension.js
bun run package # → ../dist/*.vsixMIT © Luiz Marin.