Post working set generation, Kombai allows you to review and save the code to your workspace. You can save the code to your current workspace or a new workspace.

Build and config files

Kombai segregates the generated code into two categories:
  1. Source files: This includes the components, theme, etc.
  2. Build & config files: This includes package.json, next.config.mjs, etc.
While saving the code, you can select the files you want to save. In an existing workspace, Kombai only allows you to save the source files as config files are already present in the workspace. In a new workspace, both source and build & config files can be saved.

Save code to current workspace

This is the default option when you are using Kombai in an existing workspace.
  1. Click Review code button in the working set panel.
  2. Select the files you want to save.
  3. Switch to the Current Workspace in the Save files in dropdown(if not already selected).
  4. Click Save files button to save the code to your current workspace.

Save code to new workspace

This is the default option when you are using Kombai in a new workspace.
  1. Click Review button in the working set panel.
  2. Select the files you want to save.
  3. Switch to the New Workspace in the Save files in dropdown(if not already selected).
  4. Click Save files button to save the code to a new workspace.