Skip to content
AI Employee

Code Editor in the AI Studio

The AI Studio Code Editor in GHL Customer Care lets you edit and manage your project’s code without leaving the builder.

6 min read1,439 words15 explained imagesUpdated Mon, 14 Sep at 8:44 AM
View as markdownOpen in ClaudeOpen in ChatGPT
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.
On this page
  1. What is the Code Editor in AI Studio?
  2. Key Benefits of the Code Editor
  3. Core Features of AI Studio Code Editor
  4. Find & Replace
  5. Global Project Search
  6. Instant Save & Live Preview
  7. Smart Error Detection
  8. Automatic Route Detection
  9. Version History
  10. Unsaved Changes Protection
  11. How to Use the Code Editor
  12. Frequently Asked Questions
  13. Related Articles

The Code Editor in AI Studio gives you direct access to your project code without leaving the builder. You can edit files, search across your project, catch issues quickly, and review changes in real time from one workspace. This makes it easier to move from AI-generated output to manual refinement when you need more control over your project.

IMPORTANT: AI Studio is available through Labs. Turn it on for your sub-account before using it.For more, refer to Labs Features - Complete Overview

Video 1 Open in a new tab


TABLE OF CONTENTS


What is the Code Editor in AI Studio?

The AI Studio Code Editor is a built-in, CodeMirror‑powered coding environment inside the AI Studio builder. It lets you view, edit, and manage the code behind your AI-generated websites and web apps directly in GHL Customer Care, no external IDE or deploy step required! AI Studio generates a working project from your prompts (idea, URL, or reference design), and the Code Editor gives you precise control over TypeScript, JSX, CSS, JSON, and other files that power that experience.

With the AI Studio Code Editor, you can iterate where you build: edit code, see instant updates in the live preview, and use AI to diagnose and fix errors as you go.

What is the Code Editor in AI Studio? (image 1 of 15) What this shows With the AI Studio Code Editor, you can iterate where you build: edit code, see instant updates in the live preview, and use AI to… What this shows Illustrates the "What is the Code Editor in AI Studio?" section of "Code Editor in the AI Studio". This screenshot appears in the "What is the Code Editor in AI Studio?" section of "Code Editor in the AI Studio". The text alongside this image reads: With the AI Studio Code Editor, you can iterate where you build: edit code, see instant updates in the live preview, and use AI to diagnose and fix errors as you go. Immediately after, the guide continues: Gain More Control: Make direct code-level updates when you need more precision than AI editing alone can provide. Make Granular Changes: Adjust specific text, styling, components, routes, or file behavior without reworking the entire…. Image 1 of 15 What this coversWith the AI Studio Code Editor, you can iterate where you build: edit code, see instant updates in the live preview, and use AI to diagnose and fix errors as you go. Next stepGain More Control: Make direct code-level updates when you need more precision than AI editing alone can provide. Make Granular Changes: Adjust specific text, styling, components, routes, or file behavior without reworking the entire project. No Context Switching: Edit code directly in AI Studio without downloading files or leaving the platform. Fast Debugging: See errors as soon as they appear and use AI-powered “Try to fix” to generate suggested corrections. Safer Experimentation: Rely on built‑in version history to preview, bookmark, and roll back changes at any time. Smarter Navigation: Use Find & Replace and Global Project Search to jump instantly to the right file, line, or component.

Key Benefits of the Code Editor

  • Gain More Control: Make direct code-level updates when you need more precision than AI editing alone can provide.
  • Make Granular Changes: Adjust specific text, styling, components, routes, or file behavior without reworking the entire project.
  • No Context Switching: Edit code directly in AI Studio without downloading files or leaving the platform.
  • Fast Debugging: See errors as soon as they appear and use AI-powered “Try to fix” to generate suggested corrections.
  • Safer Experimentation: Rely on built‑in version history to preview, bookmark, and roll back changes at any time.
  • Smarter Navigation: Use Find & Replace and Global Project Search to jump instantly to the right file, line, or component.

Core Features of AI Studio Code Editor

The Code Editor includes several built-in tools that make it easier to search project files, review changes, catch errors early, and manage updates with more confidence. Together, these features support a smoother editing experience for both quick fixes and more advanced code changes.

Find & Replace

Find & Replace helps you quickly locate and update text inside the current file using an editor-style search experience. This is especially useful when you need to rename components, update hardcoded copy, or refactor variable names consistently.

With Find & Replace, you can:

  • Open Find & Replace with Cmd/Ctrl + F to search within the current file using a VS Code-style search experience.
  • Type your search term to highlight all matches in the file.
  • Use case-sensitive and whole-word options to avoid accidental partial matches.
  • Replace matches one-by-one or apply a bulk replace.
Find & Replace (image 2 of 15) What this shows Open Find & Replace with Cmd/Ctrl + F to search within the current file using a VS Code-style search experience. What this shows Illustrates the "Find & Replace" section of "Code Editor in the AI Studio". This screenshot appears in the "Find & Replace" section of "Code Editor in the AI Studio". The text alongside this image reads: Open Find & Replace with Cmd/Ctrl + F to search within the current file using a VS Code-style search experience. Type your search term to highlight all matches in the file. Use case-sensitive and whole-word options to avoid accidental partial matches. Replace matches one-by-one or apply a bulk…. Immediately after, the guide continues: Global Project Search lets you search across your entire AI Studio project, not just the open file. This makes it easier to work across larger projects, reducing the time spent manually opening files. Image 2 of 15 Where to goOpen Find & Replace with Cmd/Ctrl + F to search within the current file using a VS Code-style search experience. Type your search term to highlight all matches in the file. Use case-sensitive and whole-word options to avoid accidental partial matches. Replace matches one-by-one or apply a bulk replace.
Buttons and menus referenced Cmd/Ctrl + F
Next stepGlobal Project Search lets you search across your entire AI Studio project, not just the open file. This makes it easier to work across larger projects, reducing the time spent manually opening files.
All 4 steps in this procedure
  1. Open Find & Replace with Cmd/Ctrl + F to search within the current file using a VS Code-style search experience.
  2. Type your search term to highlight all matches in the file.
  3. Use case-sensitive and whole-word options to avoid accidental partial matches.
  4. Replace matches one-by-one or apply a bulk replace.

Global Project Search lets you search across your entire AI Studio project, not just the open file. This makes it easier to work across larger projects, reducing the time spent manually opening files.

Global Project Search gives you:

  • Project‑wide search results with each match grouped under its file.
  • Search results include unsaved changes in project files, so you can find matching content before saving your latest edits.
  • Highlighted matches so you can quickly scan relevant lines.
  • Line numbers for each result, making it easy to orient yourself in the file.
  • One‑click navigation to jump directly into the matching file and line in the Code Editor.
Global Project Search (image 3 of 15) What this shows Project‑wide search results with each match grouped under its file. What this shows Illustrates the "Global Project Search" section of "Code Editor in the AI Studio". This screenshot appears in the "Global Project Search" section of "Code Editor in the AI Studio". The text alongside this image reads: Project‑wide search results with each match grouped under its file. Search results include unsaved changes in project files, so you can find matching content before saving your latest edits. Highlighted matches so you can quickly scan relevant lines. Line numbers for each result, making it easy to…. Immediately after, the guide continues: Instant Save & Live Preview help you review changes quickly as you work. Instead of committing changes and waiting on a separate deploy step, you can update code and immediately see the effect in the builder’s preview. Image 3 of 15 What to clickProject‑wide search results with each match grouped under its file. Search results include unsaved changes in project files, so you can find matching content before saving your latest edits. Highlighted matches so you can quickly scan relevant lines. Line numbers for each result, making it easy to orient yourself in the file. One‑click navigation to jump directly into the matching file and line in the Code Editor. Next stepInstant Save & Live Preview help you review changes quickly as you work. Instead of committing changes and waiting on a separate deploy step, you can update code and immediately see the effect in the builder’s preview.
All 5 steps in this procedure
  1. Project‑wide search results with each match grouped under its file.
  2. Search results include unsaved changes in project files, so you can find matching content before saving your latest edits.
  3. Highlighted matches so you can quickly scan relevant lines.
  4. Line numbers for each result, making it easy to orient yourself in the file.
  5. One‑click navigation to jump directly into the matching file and line in the Code Editor.
Global Project Search (image 4 of 15) What this shows Project‑wide search results with each match grouped under its file. What this shows Illustrates the "Global Project Search" section of "Code Editor in the AI Studio". This screenshot appears in the "Global Project Search" section of "Code Editor in the AI Studio". The text alongside this image reads: Project‑wide search results with each match grouped under its file. Search results include unsaved changes in project files, so you can find matching content before saving your latest edits. Highlighted matches so you can quickly scan relevant lines. Line numbers for each result, making it easy to…. Immediately after, the guide continues: Instant Save & Live Preview help you review changes quickly as you work. Instead of committing changes and waiting on a separate deploy step, you can update code and immediately see the effect in the builder’s preview. Image 4 of 15 What to clickProject‑wide search results with each match grouped under its file. Search results include unsaved changes in project files, so you can find matching content before saving your latest edits. Highlighted matches so you can quickly scan relevant lines. Line numbers for each result, making it easy to orient yourself in the file. One‑click navigation to jump directly into the matching file and line in the Code Editor. Next stepInstant Save & Live Preview help you review changes quickly as you work. Instead of committing changes and waiting on a separate deploy step, you can update code and immediately see the effect in the builder’s preview.
All 5 steps in this procedure
  1. Project‑wide search results with each match grouped under its file.
  2. Search results include unsaved changes in project files, so you can find matching content before saving your latest edits.
  3. Highlighted matches so you can quickly scan relevant lines.
  4. Line numbers for each result, making it easy to orient yourself in the file.
  5. One‑click navigation to jump directly into the matching file and line in the Code Editor.

Instant Save & Live Preview

Instant Save & Live Preview help you review changes quickly as you work. Instead of committing changes and waiting on a separate deploy step, you can update code and immediately see the effect in the builder’s preview.

Just click the Save button in the builder and the live preview updates in seconds.

Instant Save & Live Preview (image 5 of 15) What this shows Just click the Save button in the builder and the live preview updates in seconds. What this shows Illustrates the "Instant Save & Live Preview" section of "Code Editor in the AI Studio". This screenshot appears in the "Instant Save & Live Preview" section of "Code Editor in the AI Studio". The text alongside this image reads: Just click the Save button in the builder and the live preview updates in seconds. Immediately after, the guide continues: Smart Error Detection helps you catch build and preview startup issues while working in the Code Editor. If a project change prevents the preview from starting successfully, AI Studio surfaces the build error in chat so you can review the…. Image 5 of 15 How to confirmJust click the Save button in the builder and the live preview updates in seconds.
Buttons and menus referenced Save
Next stepSmart Error Detection helps you catch build and preview startup issues while working in the Code Editor. If a project change prevents the preview from starting successfully, AI Studio surfaces the build error in chat so you can review the issue and use **Try to fix** to attempt a correction.

Smart Error Detection

Smart Error Detection helps you catch build and preview startup issues while working in the Code Editor. If a project change prevents the preview from starting successfully, AI Studio surfaces the build error in chat so you can review the issue and use **Try to fix** to attempt a correction.

How to use Smart Error Detection:

  1. Review the Build Error and Start the AI Fix

    If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat.
    Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction.
    Step 1 of 2: Review the Build Error and Start the AI Fix If a code change causes… What this shows Step 1 of 2: Review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message… What this shows Shows what to click for step 1 of 2 in the "Smart Error Detection" section of "Code Editor in the AI Studio". This screenshot accompanies step 1 of 2 in the "Smart Error Detection" section of "Code Editor in the AI Studio". At this point in the walkthrough you review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction. The next step is to review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved. Step 1 of 2Image 6 of 15 What to clickReview the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction.
    Buttons and menus referenced **Try to fix**Review the AI Fix and Rebuilt Preview
    Next stepReview the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved.
    All 2 steps in this procedure
    1. Review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction. this image
    2. Review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved.
    Step 1 of 2: Review the Build Error and Start the AI Fix If a code change causes… What this shows Step 1 of 2: Review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message… What this shows Shows what to click for step 1 of 2 in the "Smart Error Detection" section of "Code Editor in the AI Studio". This screenshot accompanies step 1 of 2 in the "Smart Error Detection" section of "Code Editor in the AI Studio". At this point in the walkthrough you review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction. The next step is to review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved. Step 1 of 2Image 7 of 15 What to clickReview the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction.
    Buttons and menus referenced **Try to fix**Review the AI Fix and Rebuilt Preview
    Next stepReview the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved.
    All 2 steps in this procedure
    1. Review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction. this image
    2. Review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved.
  2. Review the AI Fix and Rebuilt Preview
    AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix.
    After a successful fix, AI Studio automatically rebuilds the preview using the updated project files.
    Review the refreshed preview to confirm that the issue is resolved.
    Step 2 of 2: Review the AI Fix and Rebuilt Preview AI analyzes the error, updates… What this shows Step 2 of 2: Review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. What this shows Shows how to confirm for step 2 of 2 in the "Smart Error Detection" section of "Code Editor in the AI Studio". This screenshot accompanies step 2 of 2 in the "Smart Error Detection" section of "Code Editor in the AI Studio". At this point in the walkthrough you review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved. Step 2 of 2Image 8 of 15 How to confirmReview the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved.
    Buttons and menus referenced Review the AI Fix and Rebuilt Preview**Try to fix**
    All 2 steps in this procedure
    1. Review the Build Error and Start the AI Fix If a code change causes the build or live preview to fail, a **Build unsuccessful** message appears in the chat. Click **Details** to review the error, then click **Try to fix** to have AI analyze the issue and attempt a correction.
    2. Review the AI Fix and Rebuilt Preview AI analyzes the error, updates the project files, and posts a follow-up message explaining the fix. After a successful fix, AI Studio automatically rebuilds the preview using the updated project files. Review the refreshed preview to confirm that the issue is resolved. this image

Automatic Route Detection

Automatic Route Detection helps keep your project structure organized when you add new routes in code. This reduces manual follow-up work and makes it easier to manage navigation inside the project. When a new route is created in code, it appears automatically in the route selector.

Version History

Version history gives you a safer editing workflow by preserving prior states of your project. This makes it easier to review changes, compare updates and recover from mistakes without starting over. Every time you save your code, a new version is created.

To access Version History, click the Clock icon in the top of the builder.

Version History (image 9 of 15) What this shows To access Version History, click the Clock icon in the top of the builder. What this shows Illustrates the "Version History" section of "Code Editor in the AI Studio". This screenshot appears in the "Version History" section of "Code Editor in the AI Studio". The text alongside this image reads: To access Version History, click the Clock icon in the top of the builder. Immediately after, the guide continues: AI Studio warns you before you leave with unsaved code changes, helping prevent lost work. If you attempt to leave with unsaved code changes, a warning pops up so you can save your work before exiting. Image 9 of 15 What to clickTo access Version History, click the Clock icon in the top of the builder.
Buttons and menus referenced Clock
Next stepAI Studio warns you before you leave with unsaved code changes, helping prevent lost work. If you attempt to leave with unsaved code changes, a warning pops up so you can save your work before exiting.

Unsaved Changes Protection

AI Studio warns you before you leave with unsaved code changes, helping prevent lost work. If you attempt to leave with unsaved code changes, a warning pops up so you can save your work before exiting. 

Unsaved Changes Protection (image 10 of 15) What this shows AI Studio warns you before you leave with unsaved code changes, helping prevent lost work. What this shows Illustrates the "Unsaved Changes Protection" section of "Code Editor in the AI Studio". This screenshot appears in the "Unsaved Changes Protection" section of "Code Editor in the AI Studio". The text alongside this image reads: AI Studio warns you before you leave with unsaved code changes, helping prevent lost work. If you attempt to leave with unsaved code changes, a warning pops up so you can save your work before exiting. Immediately after, the guide continues: Using the AI Studio Code Editor starts with an AI-generated project and gives you more control over how that project looks and behaves. Once your project is created, you can open the Code area to make direct updates, review them in…. Image 10 of 15 How to confirmAI Studio warns you before you leave with unsaved code changes, helping prevent lost work. If you attempt to leave with unsaved code changes, a warning pops up so you can save your work before exiting. Next stepUsing the AI Studio Code Editor starts with an AI-generated project and gives you more control over how that project looks and behaves. Once your project is created, you can open the Code area to make direct updates, review them in preview, and publish when everything is ready.

How to Use the Code Editor

Using the AI Studio Code Editor starts with an AI-generated project and gives you more control over how that project looks and behaves. Once your project is created, you can open the Code area to make direct updates, review them in preview, and publish when everything is ready.

Follow these steps to get started with the Code Editor:

Step 1: Open the Code Editor

Open the AI Studio project you want to update. In the project workspace, click Code to access the Code Editor.

Step 1: Open the Code Editor (image 11 of 15) What this shows Open the AI Studio project you want to update. What this shows Illustrates the "Step 1: Open the Code Editor" section of "Code Editor in the AI Studio". This screenshot appears in the "Step 1: Open the Code Editor" section of "Code Editor in the AI Studio". The text alongside this image reads: Open the AI Studio project you want to update. In the project workspace, click Code to access the Code Editor. Immediately after, the guide continues: Open the file you want to edit from the file tree, then make your code changes directly in the editor. Use Find & Replace or Global Project Search if you need help locating the right content or file. Image 11 of 15 Where to goOpen the AI Studio project you want to update. In the project workspace, click Code to access the Code Editor.
Buttons and menus referenced Code
Next stepOpen the file you want to edit from the file tree, then make your code changes directly in the editor. Use Find & Replace or Global Project Search if you need help locating the right content or file.

Step 2: Select the file and update the code

Open the file you want to edit from the file tree, then make your code changes directly in the editor. Use Find & Replace or Global Project Search if you need help locating the right content or file.

Step 2: Select the file and update the code (image 12 of 15) What this shows Open the file you want to edit from the file tree, then make your code changes directly in the editor. What this shows Illustrates the "Step 2: Select the file and update the code" section of "Code Editor in the AI Studio". This screenshot appears in the "Step 2: Select the file and update the code" section of "Code Editor in the AI Studio". The text alongside this image reads: Open the file you want to edit from the file tree, then make your code changes directly in the editor. Use Find & Replace or Global Project Search if you need help locating the right content or file. Immediately after, the guide continues: Click Save to apply your updates and refresh the latest preview. Image 12 of 15 Where to goOpen the file you want to edit from the file tree, then make your code changes directly in the editor. Use Find & Replace or Global Project Search if you need help locating the right content or file.
Buttons and menus referenced Find & ReplaceGlobal Project Search
Next stepClick Save to apply your updates and refresh the latest preview.

Step 3: Save your changes

Click Save to apply your updates and refresh the latest preview.

Step 3: Save your changes (image 13 of 15) What this shows Click Save to apply your updates and refresh the latest preview. What this shows Illustrates the "Step 3: Save your changes" section of "Code Editor in the AI Studio". This screenshot appears in the "Step 3: Save your changes" section of "Code Editor in the AI Studio". The text alongside this image reads: Click Save to apply your updates and refresh the latest preview. Immediately after, the guide continues: Check the preview to confirm that the content, layout, and functionality appear as expected. Image 13 of 15 How to confirmClick Save to apply your updates and refresh the latest preview.
Buttons and menus referenced Save
Next stepCheck the preview to confirm that the content, layout, and functionality appear as expected.

Step 4: Review the preview & fix any errors

Check the preview to confirm that the content, layout, and functionality appear as expected.

If a build error appears after saving, click Details to review the issue, then click Try to fix to let AI attempt a correction. 

After AI successfully fixes the issue, AI Studio automatically rebuilds the preview with the updated project files so you can review the result.

Step 4: Review the preview & fix any errors (image 14 of 15) What this shows After AI successfully fixes the issue, AI Studio automatically rebuilds the preview with the updated project files so you can review the result. What this shows Illustrates the "Step 4: Review the preview & fix any errors" section of "Code Editor in the AI Studio". This screenshot appears in the "Step 4: Review the preview & fix any errors" section of "Code Editor in the AI Studio". The text alongside this image reads: After AI successfully fixes the issue, AI Studio automatically rebuilds the preview with the updated project files so you can review the result. Immediately after, the guide continues: Once your changes look correct and your project is ready, publish the project to make the updates live. Image 14 of 15 What this coversAfter AI successfully fixes the issue, AI Studio automatically rebuilds the preview with the updated project files so you can review the result.
Buttons and menus referenced DetailsTry to fix
Next stepOnce your changes look correct and your project is ready, publish the project to make the updates live.

Step 5: Publish your project

Once your changes look correct and your project is ready, publish the project to make the updates live.

For more information, see Publishing an AI Studio Project

Step 5: Publish your project (image 15 of 15) What this shows For more information, see Publishing an AI Studio Project What this shows Illustrates the "Step 5: Publish your project" section of "Code Editor in the AI Studio". This screenshot appears in the "Step 5: Publish your project" section of "Code Editor in the AI Studio". The text alongside this image reads: For more information, see Publishing an AI Studio Project. Immediately after, the guide continues: Q: Do I have to use the Code Editor to benefit from AI Studio? Image 15 of 15 What this coversFor more information, see Publishing an AI Studio Project Next stepQ: Do I have to use the Code Editor to benefit from AI Studio?

Frequently Asked Questions

Q: Do I have to use the Code Editor to benefit from AI Studio?

No. AI Studio can generate complete pages and flows from your prompts without any manual coding. The Code Editor is for users who want deeper control over layout, styling, logic, or integrations beyond what the chat and visual builder provide.

Q: Which languages and file types does the AI Studio Code Editor support?

The Code Editor is CodeMirror-powered and supports editing TypeScript, JSX, CSS, JSON, and other text-based project files used inside AI Studio.

Q: Does the Code Editor auto-save my work?

Changes to your code are saved when you click Save. AI Studio will warn you before leaving with unsaved code changes, helping reduce the risk of losing work.

Q: Do edits in the Code Editor immediately affect my live, public site?

No. Saving updates the live preview but your public site depends on publishing the AI Studio project. Review the preview first, then publish when you are ready for the changes to go live.


Frequently asked questions

What is the Code Editor in AI Studio?
The AI Studio Code Editor is a built-in, CodeMirror‑powered coding environment inside the AI Studio builder. It lets you view, edit, and manage the code behind your AI-generated websites and web apps directly in GHL Customer Care, no external IDE or deploy step required! AI Studio generates a working project from your prompts (idea, URL, or reference design), and the Code Editor gives you precise control over TypeScript, JSX, CSS, JSON, and other files that power that experience. With the AI Studio Code Editor, you can iterate where you build: edit code, see instant updates in the live preview, and use AI to diagnose and fix errors as you go.

Was this guide helpful?

Related guides