Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's been a while since I've done C but here are a few pointers. </p> <ol> <li>Use <a href="http://www.emacswiki.org/emacs/FlyMake#toc1" rel="noreferrer">flymake</a> for on the fly error analysis. I have used it for Python and C and it's really awesome. </li> <li>Syntax highlighting is there by default in the C mode. </li> <li><p>M-x compile is geared towards make so if you have a Makefile in your setup, it should work fine (the defauly flymake rules use this as well). A rule like this</p> <p><code>check-syntax:</code></p> <pre><code> gcc -Wall -o nul -S ${CHK_SOURCES} </code></pre> <p>would take care of flymake. <a href="http://www.emacswiki.org/emacs/UsingMakefileFromParentDirectory" rel="noreferrer">This</a> is useful when you edit in subdirectories but want to compile fromt he top. </p></li> <li><a href="http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/etags.html" rel="noreferrer">etags</a> is useful to jump around the code. <a href="http://www.emacswiki.org/emacs/GnuGlobal" rel="noreferrer">GnuGlobal</a> also seems to be popular. </li> <li>Can't comment on ECB since I've never really gotten it to work completely and when I sort of did, I never found it that useful. I use <a href="http://www.emacswiki.org/emacs/AutoComplete" rel="noreferrer">autocomplete.el</a> to do completions but it's not context sensitive.</li> <li>There is no suggestion 6. </li> <li>The inbuilt vc integration is not so hot for <code>git</code> and so I use <a href="https://github.com/nelhage/magit" rel="noreferrer">magit</a> instead. There should be similar issues with mercurial.</li> <li>There are some notes here on setting up your <a href="http://www.emacswiki.org/emacs/IndentingC" rel="noreferrer">indentation</a>. </li> <li>You should use <a href="http://w3.pppl.gov/info/emacs/Which_Function.html" rel="noreferrer">which function mode</a>. It's saved me a lot of headache in the past. </li> <li>The defaults for <a href="http://www.emacswiki.org/emacs/GrandUnifiedDebugger" rel="noreferrer">GUD</a> are pretty decent but you should take a while and familiarise yourself with them to use it's power completely.</li> <li>I heavily use <a href="http://orgmode.org/manual/Capture.html" rel="noreferrer">org-capture</a> to move TBDs into my org mode buffers so that I can track them as TODO items. This is for all languages. I also use org-mode to maintain a development diary for all my projects. </li> </ol> <p>Good luck.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload