Aptana Studio ヘルプ > はじめに > Aptana Studio Preferences

JavaScript Formatting

This page explains how to turn off code formatting for specified blocks of JavaScript code.

Introduction

The code formatting tool in Aptana allows you to turn formatting on or off for a pre-defined block of JavaScript code. The instructions below tell you how to designate whether formatting should be on or off for a block of code.

Instructions

To turn formatting off or on for a block of JavaScript code:

Example:

function test() {
        
        
        //noformat
                var i; var j; var k;
        //format
        
        i = 3;
        while( i < 4 ) {
                i++;
        }
}

Related Topics