Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SuiteCloud Smart UploadNew to Visual Studio Code? Get it now.
SuiteCloud Smart Upload

SuiteCloud Smart Upload

David Nahum

|
4 installs
| (0) | Free
Safety layer for NetSuite development - Diff before deploy
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SuiteCloud Smart Upload

A VS Code extension that adds a safety layer to NetSuite SuiteCloud development. Never deploy blindly again - see exactly what changed before you upload to NetSuite.

VS Code Marketplace License: MIT

Why SuiteCloud Smart Upload?

Working with NetSuite's SuiteCloud CLI is powerful, but deploying files directly can be risky. This extension adds a critical safety layer:

  • Visual Diff Before Deploy: See exactly what will change before uploading
  • Multi-Environment Comparison: Compare your code across DEV, UAT, and PROD
  • Prevent Accidents: No more overwriting production files by mistake
  • Bulk Operations: Upload multiple files with progress tracking

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+Shift+X to open Extensions
  3. Search for "SuiteCloud Smart Upload"
  4. Click Install

From VSIX File

  1. Download the .vsix file from Releases
  2. Open VS Code
  3. Press Ctrl+Shift+X to open Extensions
  4. Click the ... menu at the top
  5. Select "Install from VSIX..."
  6. Choose the downloaded .vsix file

Prerequisites

Before using this extension, you need:

  1. NetSuite SuiteCloud CLI installed globally

    npm install -g @oracle/suitecloud-cli
    
  2. A SuiteCloud Project initialized with:

    suitecloud project:create -i
    
  3. NetSuite Authentication configured:

    suitecloud account:setup
    

Features

Safe Upload (Compare & Deploy)

The core feature that prevents deployment mistakes.

How it works:

  1. Right-click any file in your FileCabinet folder
  2. Select "Safe Upload (Compare & Deploy)"
  3. View a side-by-side diff showing:
    • 🔴 Red lines: What will be removed
    • 🟢 Green lines: What will be added
    • ⚪ White lines: Unchanged code
  4. Click Deploy to upload, or Cancel to abort

Keyboard Shortcut: Ctrl+Shift+Z

Perfect for:

  • Reviewing your changes before deployment
  • Catching accidental modifications
  • Understanding what's different between local and remote

Compare With Different Environment

Compare your local file against any NetSuite environment without deploying.

How it works:

  1. Right-click a file
  2. Select "Compare With Different Environment"
  3. Choose an environment (DEV, UAT, PROD, etc.)
  4. View the differences in a clean diff panel

Keyboard Shortcut: Ctrl+Shift+E

Perfect for:

  • Checking if a fix exists in production
  • Verifying environment-specific configurations
  • Understanding code differences across environments

3-Way Environment Compare

Compare your local file against TWO environments simultaneously.

How it works:

  1. Right-click a file
  2. Select "3-Way Environment Compare"
  3. Choose two environments to compare
  4. See three columns:
    • Environment 1 (e.g., DEV)
    • Your Local File
    • Environment 2 (e.g., PROD)

Keyboard Shortcut: Ctrl+Shift+3

Perfect for:

  • Identifying what's in DEV but not in PROD
  • Spotting environment-specific customizations
  • Planning deployment strategies

Upload Multiple Files

Quickly upload multiple files without comparison.

How it works:

  1. Right-click anywhere in the FileCabinet folder
  2. Select "Upload Multiple Files"
  3. Multi-select files from the picker (use Space to select)
  4. Press Enter to upload all selected files
  5. Watch progress tracking for each file

Keyboard Shortcut: Ctrl+Shift+X

Perfect for:

  • Deploying multiple related files
  • Initial project setup
  • Bulk updates where comparison isn't needed

Usage

Context Menu Access

Right-click any .js, .ts, .xml, .html, or .css file in your FileCabinet folder:

myScript.js
  - Cut
  - Copy
  - Paste
  - ...
  - ─────────────────────────
  - Safe Upload (Compare & Deploy)
  - Compare With Different Environment
  - 3-Way Environment Compare
  - Upload Multiple Files

Keyboard Shortcuts

Command Shortcut Description
Safe Upload (Compare & Deploy) Ctrl+Shift+Z Compare and deploy current file
Compare With Different Environment Ctrl+Shift+E Compare without deploying
3-Way Environment Compare Ctrl+Shift+3 Compare across two environments
Upload Multiple Files Ctrl+Shift+X Bulk upload files

How It Works

Behind the scenes, the extension:

  1. Creates temporary shadow projects to download remote files
  2. Normalizes line endings (CRLF vs LF) for accurate comparison
  3. Uses the diff library for professional-grade diff algorithms
  4. Cleans up automatically - no leftover temporary files

All operations use the official NetSuite SuiteCloud CLI under the hood, so you're always using NetSuite's approved deployment methods.

Configuration

No configuration required!

The extension automatically uses your existing:

  • SuiteCloud project configuration (project.json)
  • NetSuite authentication (account:setup)
  • Default AuthID settings

Troubleshooting

Extension commands not appearing?

Make sure you're in a SuiteCloud project. The extension activates when it finds:

  • manifest.xml
  • suitecloud.config.js

"SuiteCloud CLI not found"?

Install the NetSuite CLI globally:

npm install -g @oracle/suitecloud-cli

Diff showing all lines as changed?

This was a bug in earlier versions related to line endings. Update to version 1.0.0 or later.

Shadow projects not cleaning up?

The extension automatically removes temporary shadow projects. If you see leftover folders starting with ssu-shadow-, you can safely delete them manually.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Roadmap

Potential future features:

  • Dependency tracking (warn about missing dependencies)
  • Automated testing integration
  • Deployment history tracking
  • Git integration for commit messages
  • Custom diff color themes

Release Notes

1.0.0 (Initial Release)

  • Safe upload with visual diff comparison
  • Multi-environment file comparison
  • 3-way diff viewer for two environments
  • Bulk file upload with progress tracking
  • Automatic line ending normalization
  • Smart shadow project cleanup

License

MIT License - see LICENSE file for details

Support

  • Issues: GitHub Issues
  • Marketplace: VS Code Marketplace

Made for the NetSuite developer community

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft