Skip to content

Code Editor

Access and edit your app files in the browser

Switch to Code view using the Code Menu Item icon in the main menu.

In addition to Draftbit’s powerful no-code, AI-powered, development features, a full in-browser code editor is also available for people with more technical experience. You have full access to your app’s codebase and can add, edit, delete files as needed.

Code Editor

#NameDescription
1File TreeA list of all the files and folders in your app’s codebase
2EditorA full in-browser code editor to editor your app files

You have full access to all the files and folders in your app project’s codebase. From the File Tree you can explore these files and folders, add new files, or update and delete existing files. Files can also be added to the AI Chat context so that the Agent can help you with a specific file.

File Tree

IconActionDescription
Add Screen Add FileAdds a new file to the codebase
Add Screen Add FolderAdds a new folder to the codebase

You can open any of your project’s files in the provided code editor to make manual changes to the codebase yourself. The editor features autocomplete suggestions, formatting options, search and more. This is very handy for more technical users who have experience with JavaScript and React Native, allowing you to make changes directly to the code when needed.

Code Editor

Changes to files (and folders) that you make yourself are treated the same as when the AI Agent makes changes. You can discard or commit your changes in the Save menu by clicking on the Save Changes icon in the top bar of the Builder.

Save Changes

You can also discard any changes the specific file using the Revert file button at the top of the code editor.