File explorer

The File Explorer in Promake's code editor lets you navigate through all the files that make up your website. Understanding this structure helps you find and edit the right files.

The File Explorer in Promake's code editor lets you navigate through all the files that make up your website. Understanding this structure helps you find and edit the right files.

Accessing the File Explorer

  1. Open the Code Editor view
  2. The File Explorer is on the left side
  3. It shows your project's folder structure

Understanding File Structure

A typical Promake project includes:

project/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ components/    # Reusable components
│   ā”œā”€ā”€ pages/         # Website pages
│   ā”œā”€ā”€ styles/        # CSS and styling
│   └── assets/        # Images, fonts
ā”œā”€ā”€ public/            # Static files
ā”œā”€ā”€ package.json       # Project dependencies
└── index.html         # Entry point

Folder Types

src/ (Source)

The main folder containing your website code:

components/

Reusable parts of your website:

  • Header
  • Footer
  • Buttons
  • Cards
  • Navigation

pages/

Individual pages of your website:

  • Home page
  • About page
  • Contact page

styles/

CSS and styling files:

  • Global styles
  • Component styles
  • Theme colors

assets/

Media files:

  • Images
  • Icons
  • Fonts

public/

Static files that don't need processing:

  • favicon.ico
  • robots.txt
  • Static images

Expanding Folders

Click the arrow or folder icon to expand/collapse folders.

Opening Files

Click on any file name to open it in the editor.

File Icons

Different file types have different icons:

| Icon | File Type | | ---- | --------------- | | šŸ“„ | JavaScript/JSX | | šŸŽØ | CSS/Style files | | šŸ“‹ | JSON files | | šŸ–¼ļø | Image files | | šŸ“ | Markdown files |

Finding Files

By Navigation

  1. Start from the root
  2. Expand relevant folders
  3. Click the file
  1. Press Ctrl/Cmd + P (if available)
  2. Type the file name
  3. Select from results

By Content

  1. Use Ctrl/Cmd + Shift + F for global search
  2. Search for text content
  3. Click results to open files

Common Files to Edit

For Content Changes

| What to Change | Where to Look | | -------------- | -------------------------- | | Page text | src/pages/ | | Component text | src/components/ | | Metadata | index.html or page files |

For Style Changes

| What to Change | Where to Look | | -------------- | -------------------------- | | Colors | src/styles/ or CSS files | | Fonts | Global CSS files | | Spacing | Component styles |

For Structure

| What to Change | Where to Look | | -------------- | -------------------- | | Layout | Component files | | Navigation | Header/Nav component | | Footer | Footer component |

File Operations

Viewing Files

Click any file to view its contents in the editor.

Editing Files

  1. Open the file
  2. Make changes in the editor
  3. Save with Ctrl/Cmd + S

Downloading Files

  • Single file: Right-click → Download (or use download button)
  • All files: Use the ZIP download option

Tips

Start at src/

Most of what you want to edit is in the src/ folder.

Use File Names as Clues

File names usually describe their purpose:

  • Header.jsx - The header component
  • HomePage.jsx - The home page
  • styles.css - Styling

Check Component Names

If you know what component you're looking for (from the Edit Tool), search for that name.

Don't Edit nodemodules

The nodemodules/ folder contains dependencies. Never edit files here.

Project Configuration Files

package.json

Lists project dependencies and scripts. Generally don't edit unless you know what you're doing.

Configuration Files

Various config files control build settings. Edit only if necessary.