Marketplace
Paquete de HabitsGratis

Code style habits

de Ingot Editor verificado

Seven style patterns Habits watches for in the agent edits you reject.

Instalar abre Ingot y lo añade.

¿Necesitas la app? Descargar Ingot

Acerca de

Habits is built into Ingot and on by default. When you reject the same kind of agent edit again and again (three times by default), Habits notices and suggests a rule, so the agent stops doing it. These are the seven patterns it ships with. What it learns stays on your machine in .ingot/habits.json, which Ingot adds to .gitignore.

Lo más destacado

  • On by default; change the threshold under Settings › Habits
  • Learned habits stay local in .ingot/habits.json
  • Turn a habit into a rule, a command or a hook in one click

Qué incluye

  • Rejected edits that add console.log calls
  • Rejected edits that use the TypeScript any type
  • Rejected edits that use default exports
  • Rejected edits that declare variables with var
  • Rejected edits that add inline styles
  • Rejected edits that leave TODO or FIXME comments
  • Rejected edits that write function declarations instead of arrow functions

Instalar a mano

  1. Habits is on by default. You can check it under Settings › Habits.
  2. Keep working with the agent. Reject edits you do not want.
  3. When Habits suggests a rule, click Make it a rule. Run Ingot: Show Habits (⌘⇧A) to see everything it learned.