[Home]EditingEmcSource

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Difference (from prior major revision) (no other diffs)

Changed: 1,2c1

Style conventions



A longish text can be found in emc2/src/CodingStyle? - see http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/CodingStyle;h=cefda34b2d9386697115781c4fdb526580446f2a;hb=02d9bfa0d7ff1e3feb586bf0c83ab64b5f0b3f3c
Marked for deletion.

Changed: 4c3

Editing with Emacs



Replaced by http://wiki.linuxcnc.org/cgi-bin/wiki.pl?EditingLinuxCNCSource

Changed: 6c5
I found the following settings in .emacs gives acceptable results (default indentation of 2 characters is unusable):
Will a super-administrator please delete this entry. Thanks!

Removed: 8,25d6
(setq c-default-style
'((other . "gnu")))
(setq c-basic-offset 4)

Eclipse




To match the emc source style:
goto c++,code style

define your own code style based on GNU

General settings: Tab policy = mixed, indentation size = 4, Tab size = 8

Others




Please add.

Marked for deletion.

Replaced by http://wiki.linuxcnc.org/cgi-bin/wiki.pl?EditingLinuxCNCSource

Will a super-administrator please delete this entry. Thanks!


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited October 26, 2017 10:43 pm by KimK (diff)
Search:
Published under a Creative Commons License