Aptana Studio ヘルプ > はじめに > Aptana Studio Projects > Creating Projects and Files
Aptana HomePage

Creating a new JavaScript file

This page explains how to add a new JavaScript (.js) file to a project.

Introduction

You can create a new JavaScript file as part of an existing project, or you can create a standalone .js file and save it to your file system.

Instructions

To create a new .js file for a project:

  1. In the Project View, right-click your project, and select New > JavaScript file to open a New JavaScript File window.
  2. In the Container text box, either keep the current project (the default setting), or browse to a different project that you want to add the file to.
  3. In the File Name text box, type the name of your new file. Do not remove the ".js" extension from the end of the file name.
  4. Click the Finish button to create the file and add it to your project.

To create a new standalone .js file:

  1. From the File menu, select New > Untitled JavaScript File to open a new blank file in the JavaScript Editor.
  2. Click the Save button Image:iconSave.png and save the file to a folder in your file system.

Related Topics