How can i make code formatting standards equal in netbeans and eclipse equal. Also is ther is any way that i use eclipse code formatter in netbeans as for netbeans does not format javadocs comments
Abdul Khaliq
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Maybe. You have these options:
Configure the formatters to the lowest common denominator (i.e. something that both of them can do). Not sure if that’s possible because you can’t “switch off” some options.
Eclipse has a feature called “Clean up”. Select the project and it becomes available in the “Source” menu. This allows you to clean up certain aspects of a project: Unused imports, formatting, etc. So you save the work in Netbeans and then clean up the project once in a while in Eclipse.
Use an external formatter like Jindent (Commercial but they have a non-commercial license). Create an Ant task to format the code.