CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Programmerfriendly code writing how do you do that (https://www.cfd-online.com/Forums/openfoam-solving/59194-programmerfriendly-code-writing-how-do-you-do.html)

kar January 24, 2008 09:40

Hello! Some time ago I was
 
Hello!

Some time ago I was writing applications with IDEs like DevC++, MS Visual Studio etc and there were such nice things like code completion, class tree viewing and others.
Now it's KDevelop and OpenFOAM - is it possible to make code reviewing and editing easier than just alphabetically ordered text files?

Thank you,
KÄrlis.

anger January 25, 2008 04:12

Hello Kärlis, for my progra
 
Hello Kärlis,

for my programming work (which is mainly python) I use eclipse (www.eclipse.org) which is a very powerful IDE supporting several languages (also C++) and platforms.
However, I don't know how OpenFOAM could be integrated into this IDE, nor did I do any tests on that.

Regards,
-Thomas

dmoroian January 25, 2008 05:07

Hi KÄrlis, Here you can find
 
Hi KÄrlis,
Here you can find how to setup kdevelop:
KDevelop
On the same page there is a wiki link which shows you how to setup NetBeans.

Dragos

kar January 25, 2008 07:41

The main problem is that I can
 
The main problem is that I cannot make code-completion work in KDevelop.
For example - it would be nice, if KDevelop could give me output about what is fvm or fvc!

gschaider January 25, 2008 07:56

Hi Karlis! Please keep in m
 
Hi Karlis!

Please keep in mind that OF relies heavily on templates and in my experience all these IDEs (especially concerning code completion) work fine with purly object oriented languages but fail with the generic programming (templates). Multiple inheritance might also be a problem (most of the discussed IDEs - Eclipse, Netbeans - come from the Jave-world==Single inheritance)

At the end of the day Emacs and Grep still might be your best friends

Bernhard

kar January 25, 2008 11:33

Thank you, Bernhard, looks lik
 
Thank you, Bernhard, looks like you're right!


All times are GMT -4. The time now is 07:52.