This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Configuring the IDE
Anuruddha edited this page Mar 23, 2015
·
1 revision
When you are developing components for AppFactory, you should always follow the coding standards. In order to automate this process, you can configure your IDE to perform some formatting related tasks automatically.
Create a code style called wso2-codestyle, close the IDE, and then replace ~/.IntelliJIdea90/config/codestyles/wso2-codestyle.xml with the one attached
In Eclipse, we use Code Templates to configure IDE. There are 2 Templates as,
- Code Cleanup Template
- Code Formatting Template
In Order to apply these templates, follow the steps given below.
- Window -> Preferences
- Java-> Code Style
- Select Clean up option in the preference page and point to the WSO2_Eclipse_Code_Cleanup.xml.
- Select Formatter option in the preference page and point to the WSO2_Eclipse_Code_Formatter.xml.