SFML community forums
Bindings - other languages => C => Topic started by: gr3atmov3 on September 10, 2011, 04:43:57 pm
-
Hi everyone, i'm new to SFML world and i've been using VIM as and C++ editor. I find it really confortable and simple.
However, i'm using OmiCppComplete script for autocompleting and i cant use this feature with sf namespace.
To autocomplete with std I add to .vimrc file:
let OmniCpp_DefaultNamespaces = ["std", "_GLIBCXX_STD"]
Does anyone know what would the second field in this line be for sf namespace?
Thanks in advance,
-
I recommend that you ditch OmniCppComplete and use clang_complete. Works well with C and C++.
You don't need to change things for every api you use, it behaves like an ide auto-completion, it's the same as xcode4 btw.
-
Thx kurayama, ill give it a try ;).