How to Manage and Edit Files#
Overview#
- You can use any method you like to edit the files in the project.
You can add, modify and delete files however you like.
AI Workbench tracks changes through Git, the exception being untracked files ignored by Git.
- The Desktop App provides direct access to the project repository, local or remote.
You can locate and edit files in the the file browser in the Desktop App.
The file browser is for light editing on local or remote projects without starting the container or opening an IDE.
- You can add files and folders to the project through the Desktop App.
The project file browser in the Desktop App has a variety of features. For example, you can add a single file, multiple files, or an unzipped folder with the upload feature.
In addition, the file browser can upload large/many files to a remote.
Key Concepts#
- File browser
Feature screen in the project tab that shows folders and files in the project repository. Has features allowing you to upload, view, edit, rename and delete files.
- Upload
Adding a file or folder to the project through the file browser in the Desktop App. Works for adding files to a local project and to a remote project.
- Option dots
Verticle ellipses that indicate options for the particular affordance. Click to see options.
Add a File/Folder#
- Step One: Go to the file browser and select the target folder.
Select Project Tab > Files > File Browser > Folder
- Step Two: Add the file or folder.
Select Folder > Upload (Top RHS)
Select Upload File or Upload Folder
Select the file or folder in the file picker that opens
Confirm your choice in the file picker
Success: An upload widget will open and show the status of the file additions.
You can also drag and drop files and folders into the project file browser.
Files will be added to a local project repository or uploaded to the remote project.
Delete or Rename a File/Folder#
- Step One: Go to the file browser and select the target file or folder.
Select Project Tab > Files > File Browser > Folder
- Step Two: Use the option dots to delete/rename it.
Select Option Dots > Delete or Rename
Success: The file is deleted or the file name changes.
Edit a File#
- Step One: Go to the file browser and select the target file.
Select Project Tab > Files > File Browser > Folder > File
- Step Two: Use the option dots to edit the file.
Select Option Dots > Edit
- Step Three: Edit the file in the file editor modal.
Click into the file editor and edit the text
Select Save
Success: The file change shows in the Git > Changes screen.
The Option Dots also let you edit the file in VS Code.
This will fail unless the project already has VS Code added to it.
Duplicate a File#
- Step One: Go to the file browser and select the target file.
Select Project Tab > Files > File Browser > Folder > File
- Step Two: Use the option dots to duplicate the file.
Select Option Dots > Duplicate
Success: The new file appears.
The new file will have the original file name with the word “copy” added.
It will appear in the same folder as the original file.