|
Re: Automatically add comment [message #662820 is a reply to message #662751] |
Fri, 01 April 2011 06:07 |
Axel Mueller Messages: 1973 Registered: July 2009 |
Senior Member |
|
|
Put the cursor above a function and enter
when you hit return Eclipse will fill in the doxygen comments.
E.g.
/**
*
* @param Frequency
* @param SamplingRate
* @return
*/
MyMethod( const float Frequency,
const double SamplingRate )
BTW, you must have activate the Doxgen feature in the preferences (I am not sure if is the default).
Preferences->C/C++->Editor->Documentation tool comments: select Doxygen
Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
[Updated on: Fri, 01 April 2011 06:09] Report message to a moderator
|
|
|
|
Re: Automatically add comment [message #995075 is a reply to message #662751] |
Sat, 29 December 2012 02:08 |
Commerine Song Messages: 1 Registered: December 2012 |
Junior Member |
|
|
Eclipse CDT is a C/C++ development IDE based on Eclipse (which defaults to Java development).
CodeSourcery Lite is GCC-based ARM toolchain which provides all the basic ingredients (compiler, assembler, archiver, linker, libraries, newlib, binutils, etc.) in console based executables. The best thing about CodeSourcery is that they also offer commercial solutions which result in quarterly updates to the Lite tool-chain also. This way you always stay inline with the latest GCC developments.
First let's have a look at the pre-requisites. You will need the latest version of Apple Developer Tools which include Xcode, Interface Designer, Instruments etc. and can be download from the Mac App Store. It is needed for the initial building of the toolchain which requires gcc, binutils and make. If you do not want to install the Developer Tools package, you will have to download and install these components individually. Google will help you.
Let's start now.
Step 1 Install Eclipse
Download and install the Eclipse IDE from http://www.eclipse.org. Eclipse Helios. The download page would provide you with a variety of flavors for the IDE. All of them are useful sometime or the other and can be ported to different versions using plugins. So go for the "Eclipse IDE for C/C++ Developers". It would have all the functionality needed to set up the toolchain.
Step 2 Install Eclipse Plugins Fueling up Eclipse
This step involves adding the necessary plugins to Eclipse which are needed to successfully compile an ARM application.
Eclipse CDT
Go to Help > Install New Software.
In the dialog which appears, type "http://download.eclipse.org/tools/cdt/releases/helios" in the Work With text area.
Press enter.
You will get a window as shown below. Select both the choices and click on Next. Accept the license agreement and continue with the installation.
Once the installation is complete, restart Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.03612 seconds