Editing Code

Technical users can view and edit generated app code directly when they need precise control. This is optional; most apps can be built entirely through prompts.

Code editing is optional

Anything App is designed so you do not need to code. Use direct code editing only when it is faster or more precise than describing the change in Build mode.

Open the code editor

Click View code to open the code editor. The editor shows the complete generated code for your app.

From there, you can:

  • View the complete app code.
  • Make direct edits.
  • Save changes in place to update the current version.
  • Create a new version with your changes.

Save code changes

Saving in place updates the current version. Creating a new version preserves the previous version and lets you compare or restore later.

If you are experimenting, creating a new version is often safer because the version history keeps the earlier version available.

When to edit directly

Direct code editing is useful for:

  • Making small, precise changes faster than describing them.
  • Adding custom logic or optimizations.
  • Learning how the AI implemented a feature.
  • Fine-tuning UI details.

For model tiers, providers, and reasoning effort, see AI models.