Difference between revisions of "DevGuide/CodeEditors"

From PaparazziUAV
Jump to navigation Jump to search
m (info about GDB debug with Eclipse)
m (spelling)
Line 37: Line 37:
# Click Install Then Next
# Click Install Then Next
# If you see "Signed but not trusted, ignore the message just click "continue"
# If you see "Signed but not trusted, ignore the message just click "continue"
# If it all worked, you will see "Install completed sucessfully, just click "Finish"
# If it all worked, you will see "Install completed successfully, just click "Finish"


==== Syntax Highlighting ====
==== Syntax Highlighting ====
Line 55: Line 55:
== IDE for C and CPP ==
== IDE for C and CPP ==


Next are the IDE's for C develpment
Next are the IDE's for C development


=== Netbeans ===
=== Netbeans ===
Line 67: Line 67:


===GDB===
===GDB===
GDB can be used for quite effective Paparazzi debugging. Debuging [[RT_Paparazzi#Debugging_with_an_Eclipse_IDE|guide]] with Eclipse IDE was already described for [[RT_Paparazzi]], but the exact same steps can be used for classic Paparazzi. The guide is [[RT_Paparazzi#Debugging_with_an_Eclipse_IDE|here]]:  
GDB can be used for quite effective Paparazzi debugging. Debugging [[RT_Paparazzi#Debugging_with_an_Eclipse_IDE|guide]] with Eclipse IDE was already described for [[RT_Paparazzi]], but the exact same steps can be used for classic Paparazzi. The guide is [[RT_Paparazzi#Debugging_with_an_Eclipse_IDE|here]]:  


[[Category:Software]] [[Category:Developer_Documentation]]
[[Category:Software]] [[Category:Developer_Documentation]]

Revision as of 09:50, 10 June 2016

Introduction

So you want to adjust the sourcecode to your wishes, get rid of some bugs that bother you and help to improve the code, great! While theoretically it all an be done with VI and command line instructions, learning to code for Paparazzi this way is a little cumbersome. Therefore it is a good idea to set up an IDE Integrated Development Environment.

As you may have noticed, this page is far from finished, it really would be great if you help to improve this page with even a small improvement.

IDE for OCAML

We start of with OCAML IDE's first

EMACS

Tuareg is a really nice mode for Emacs. On Ubuntu/Debian just apt-get install tuareg-mode.

http://www.emacswiki.org/emacs/TuaregMode

Netbeans

Installation

First install a reasonable new Netbeans, e.g. v6.8 via the synaptic package manager in Ubuntu or use the commandline

OCAML Plugin

http://ocamlplugin.loki-a.com/index.php?title=Main_Page

  1. Start netbeans IDE
  2. Go to Netbean menu -Tools - Plugins
  1. Select tab - Settings
  2. Click the Add button

Name: Ocaml from Loki a URL: http://ocamlplugin.loki-a.com/ocamlplugin/updates/updates.xml

  1. Then click the tab "Available plugins"
  2. Select for install from the list the "Ocaml Plugin"
  3. Click Install
  4. Click Install Then Next
  5. If you see "Signed but not trusted, ignore the message just click "continue"
  6. If it all worked, you will see "Install completed successfully, just click "Finish"

Syntax Highlighting

Eclipse

OcaIDE seems to be the best option for Eclipse. Note that OcaIDE requires eclipse to run under Java 7. No release of ODT since November 2013.

IDE for Python

PyCharm is a great Python IDE with awesome completion, code assistance, debugger and git integration and much more...

IDE for C and CPP

Next are the IDE's for C development

Netbeans

Eclipse

Code::Blocks

Debugging tools

GDB

GDB can be used for quite effective Paparazzi debugging. Debugging guide with Eclipse IDE was already described for RT_Paparazzi, but the exact same steps can be used for classic Paparazzi. The guide is here: