c++ - Code Style in eclipse -


What is the method to implement code style in Eclipse using the Eclipse plugin?

I have created a code template. I want to apply it so that every time a user selects to save or save, the code template is checked against one I created. If it matches the file the user receives an error message.

The problem I am facing is - How do I get the code style (templates) name at run time .. And where do I add it to the code to apply it ...

Any point is appreciated.

Preferences -> Java -> Editor -> Save Action -> Select selected actions to save - > Format Source Code


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -