Difference between revisions of "ASE Herning programming Standard"

From Klaus' wiki
Jump to: navigation, search
(Created page with "'''EDITING in progress. DO NOT USE AS OF NOW.''' In order to comply to the ASE HErning programming Standard you should use this file '''File:ASE_Herning_Programming_Standar...")
 
Line 1: Line 1:
'''EDITING in progress. DO NOT USE AS OF NOW.'''
+
In order to comply to the ASE HErning programming Standard you should use this file '''[[File:ASE_Herning_Programming_Standard.xml]]''' (First click on the link, then right click on the next page in order to save the file).
  
In order to comply to the ASE HErning programming Standard you should use this file '''[[File:ASE_Herning_Programming_Standard.xml]]''' (right click in order to save the file) to quick format '''(Ctrl+Shift+F)''' in Eclipse.  
+
Import the file in Menu: Window -> Preferences -> C/C++ -> Code Style.
  
But first you may have to change ownership og the installations directory of the Eclipse by issuing this in Yakuake (the console you were instructed to start and give the hot-key Alt-F12).
+
When imported and selected you can use the Quick Format to quick format '''(Ctrl+Shift+F)''' in Eclipse it will reformat your code and make it readable...
 
+
<source lang=bash>
+
] $ sudo chown -R <your login name>:<your login name> /opt/eclipse
+
</source>
+
 
+
''<you login name>'' you'll see in the prompt like ''klaus@localhost'' - here the login name is '''klaus'''
+
 
+
Import the file in Menu: Window -> Preferences -> C/C++ -> Code Style.
+

Revision as of 15:09, 3 September 2019

In order to comply to the ASE HErning programming Standard you should use this file File:ASE Herning Programming Standard.xml (First click on the link, then right click on the next page in order to save the file).

Import the file in Menu: Window -> Preferences -> C/C++ -> Code Style.

When imported and selected you can use the Quick Format to quick format (Ctrl+Shift+F) in Eclipse it will reformat your code and make it readable...