- Pulkit Pushkarna
Agenda
Getting Started
Create new Java project and Set the SDK
Select the location and name of your project
Open different windows to see the different aspects of the project
Project window can be used to see the file structure and the jars of your project
Change and searching prefrences
Changing code Style
Project Structure
Running the code with Arguments
Working with a gradle project
Enter the details of the gradle project
Use auto imports and local gradle distribution
For gradle local gradle choose the gradle under Cloudwords/tools folder
You can click on apply suggestions or hit the refresh button on gradle window to get the required dependencies
Importing existing gradle project in IntelliJ Idea
Select the build.gradle file to import the existing project
Intention Actions
Inspect code with Editor Settings
Code readability
Manipulation line
Maximizing editor space
Database integration
Setting up cloudwords application Intellij Idea
Go to File-> new-> Project from Existing Sources
Once you click on Project from existing source
It will open a select box browse to core-platform folder and select build.gradle and click open
After clicking open in the previous step select gradle wrapper. If gradle wrapper option is not available the "Use local gradle distribution"
and in gradle home give the path of tools/gradle-2.3 folder under cloudwords directory
Once the gradle project is imported and all the dependencies are resolved go to edit Configuration. It will Run/Debug configuration Window
Click on the + sign in Run/Debug Configurations then go to Tomcat Server and then click on local
You will a config window as show below
Refer to image at previous page for the instruction below:
/core-platform/app/dist/dev/tomcat-6.0.41 for app
/core-platform/api/dist/dev/tomcat-6.0.41 for API
Debug the application
Click on the debug icon in upper right corner and click debug button to run application in debug mode
Debugging shortcuts
Exporting eclipse style format to IntelliJ Idea
More on IntelliJ Idea