This is a link to that
I think you steps are the same as that in the link.
So I can only suppose that the whether the codes in your files in your diretory ~/OpenFOAM/OpenFOAM-2.0.x/ is correctly. I mean, separate all declaration and implementation in header files and source files, something similar to that.
I hope when you get it done, you can mail me and tell me how you get it done, sharing your experience.
Best Regards
--
-- 2011/7/11 AlmostSurelyRob <robertsawko@gmail.com>
Dear All,
I would appreciate if you could help me set-up omni for an external C++
library. Following these instructionsAnd I try to use it and:
http://vim.wikia.com/wiki/VimTip1608
I was able to bring omni functionality to my cpp code. So now whenever I
type say:
std::list<dimensionedScalar> *lst
lst ->...
vim displays appropriate class components.
Now I am trying to repeat this trick for a set of libraries that I am using
in my project. The project is basically a large C/C++ library - it's called
OpenFOAM.
I create the tags with
ctags -R --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++
~/OpenFOAM/OpenFOAM-2.0.x/
mv tags OF
I add the tags to my vimrc
set tags+=~/.vim/tags/OF
1) Typing namespace works
Foam::fvc::...
2) But when I want to access components of objects e.g.:I get a Pattern Not Found error. Instead I would expect omni to give me
volScalarField alpha1 (constructor)
aplpha1. ...
functions or public components of volScalarField class.
for omni? I would be really grateful for any assistance.
How can I check what's happening? How can I fix it? Is there any debug mode
Kind Regards,
Robert
--
View this message in context: http://vim.1045645.n5.nabble.com/omni-and-OpenFOAM-tp4574472p4574472.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
--
Stanley Rice (Conghui He)
Sun Yat-sen University
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment