New file
goormIDE supports various types of extensions, and you can easily and logically organize your source files on goormIDE.
To create a new file, go to [File] > [New] > [New File].
Alternatively, right-click the location where you want to create the file in the Project Explorer.
Project Explorer is on the left of the page. Then, go to [New] > [File].
In the following 'New file' popup window, you can select a location to create a file.
Enter a file name, select a file type, and click
OK
button to update the Project Explorer and create a new file in the location.
You can also double-click an empty space in the editor tab line to create a new file.
When you enter a file name, the default extension of the current plug-in will be auto-completed by pressing
Tab
.
To create a new folder, go to [File] > [New] > [Folder] or right-click on the location in the Project Explorer on the left side of the page and go to [New] > [Folder].
In the following 'New Folder' pop-up window, you can select a location for your folder.
After entering the folder name, click
OK
button.
The Project Explorer will be updated and the new folder will be there.
To just create a new text file without a title, go to [File] > [New]> [Untitled Text File], or right-click on the location where you want to create the file in the Project Explorer.
Then, select [New] > [Untitled Text File].
In the following 'New Untitled Text File' pop-up window, you can choose where to create the file and click
OK
button to update the Project Explorer and create a new untitled text file in the location. Default name format will be like this: untitled1.txt , untitled2.txt , untitled3.txt ...

Create packages, classes, and interfaces in Java and JSP with Create Package function.
Here's how to create a Java package:
In the Project Browser, right click the folder and go to [New] > [Package].
Enter a package name in the 'Create new Java package' popup window and click
OK
button to update the project explorer and create a package folder. When a class is created under the generated package, the package will be automatically included in the contents of the class file.
To create multiple packages at once, write down their name and separate with
.
For example, if you write down like this: project.goorm.ide, a directory in the project / goorm / ide structure will be created automatically under the source folder.

In the Project Browser, right click the folder and go to [New] > [Class].
Enter the class name in the 'Create a new Java class' popup window and click
OK
button to update the project explorer and create the class file.
When you open the class file, you can see that the package has automatically included and the class has created with the file name.You can select a controller when you create a class, and you can also create a constructor for the class.
If you create a class by right-clicking the package folder in the Project Explorer, the package automatically appears in the Package text box.
If you create a class in a folder not in a package folder, you must enter the package manually.
At this time, if you enter a non-existing package, it will be created automatically.


In the Project Browser, right click the folder and go to [New] > [Class].
Enter the interface name and choose the
Interface
radio button in the 'Create a new Java Class' popup window. Click OK
button to update the project explorer and create the interface file.
When you open the interface file, you will see the package has included automatically and the interface has generated by the file name.You can also select a controller when creating an interface.
If you created an interface by right-clicking under the package folder in the Project Explorer, the package automatically appears in the Package text box.
If you created an interface in a folder not in a package folder, you must enter the package manually.
At this time, if you enter a non-existing package, it will be created automatically.


Last modified 3yr ago