|
|
Create a source file.
|
> On the File menu, click New. In the wizard, follow the instructions on the screen.
|
Open a source file.
|
To open a file that is not part of a workspace project, on the File menu, click Open.
To open a file that is part of a workspace project, in the Workspace files view, expand the project file. Double-click a source file.
|
Change source files.
|
- On the Debug menu, click Stop Debugging.
- In the open source file, type new source code or delete existing code.
|
Add source files to a project.
|
- In the Workspace files window, click a project file.
- In the main window, on the Project menu, click Add File to Project.
- In the Add project to filename dialog box, select a file name with a .java file name extension.
- Click Open.
|
Create a template for new source files .
|
- On the Edit menu, click Preferences.
- Click the Editor tab.
- Click New Java file template.
|
Rename a source file.
|
- In the Files view, right-click the file name.
- Type a new file name.
- Click OK.
Note: If you have turned on source control integration, when you click OK, the BlackBerry® IDE prompts you to add the file to source control. To add the file to the default changelist, click yes. Remove the old file from the source control.
|
To view options while the application is in debug mode, pause the running of your application by setting breakpoints.
When the application reaches a breakpoint, the application pauses. In the Edit window, right-click the source file. On the shortcut menu, perform any of the following options.