Ok, i've been using MS Visual Studio 2008 for my C project, and of course getting ROM to compile in windows needs allot of changes. I was wondering what kind of editor do you guys use? Is there anything out there that allows you to visually step through C code?
I do know that you can you emacs and of course GDB, but is there anything out there that would equal Visual Studio? Something with intellisense that can tell you what members are in your structure? Set breakpoints, ETC?
While we're talking IDEs; is there a good (win) solution that would effectively run over ssh, like a prettier console? I can't stick to a real IDE past nano because I hate moving out of my IDE back to ssh to test build, debug, etc.
While I do love my nano, I mainly miss the ability to collapse blocks of code; especially when working in larger functions. The intellisense stuff is nice, but not a necessity. I just loathe alt-tabbing to do code/save/compile/etc.
I use vim paired with its support for handling tag files generated by exuberant ctags and intelligent auto-completion. Works just fine for me. I'll cheerfully admit that straight vim without tag support is rather "meh" when compared to intellisense etc.
I use vim7. And yes, that is what I meant by its ability to handle tag files with intelligent auto-completion. I've never really liked it when editors add in brackets for me, because I'm so used to putting them in myself and I end up having too many or having to delete things.
It's also worth noting that I've been using vim for a long time now, and know it well enough that I can use its features to edit text far more rapidly than you can do in other editors that aren't so full of short, succinct but very powerful keyboard shortcuts.
The only time I don't use vim is when I'm writing Java, because Eclipse is so very, very good at manipulating Java structures (not just the auto-completion). I know about a plugin for Eclipse that hooks it into vim; I don't know what state that's in these days.
You are using vim 7? On my linux server hosting my project mud i have an older version, in your experience do you know if i can update it without root access? and if not, where can i learn how to adjust the vim settings so that intellisense works? also, maybe even color scheme settings?
Hmm, I've never installed vim without root access, but I guess it should be possible. You'd have to download the source and compile it yourself. Really though, vim6 is pretty old, so it might be worth asking the system administrator to consider upgrading it to the more recent one.
The plugin I use that does completion is called OmniCppComplete or something like that, and it uses exuberant ctags to generate the tags file (which is a collection of symbol information).
Color scheme settings are in .vim/color although it might be a little non-obvious at first how to edit them.
I've been meaning to publish my .vim settings at some point, I'll try to remember to do that soon and then give you the link. :smile: I have a few nifty tricks accumulated in the .vimrc file.
(It's worth noting also that I don't like the editor as much at all in its default settings. It's a downside IMO that it needs to be configured quite a bit to get to a point that really makes you happy. Same thing with Emacs, or so I am told at least.)
so are you able to use VIM to debug? In your C days mudding (i say that as if thats past-tense) did or do you use gdb as a debugger? i know you can break point and stuff, but being from a more spoiled generation (windows and vb6) i am used to visually seeing the code window with a highlighted bar and being able to hover over my variables and see tags that tell me values. i'm not even sure if this is possible with vim but that would be good.
Well, it's certainly possible with Vim. Whether or not someone has written a plugin for it already is another story already. If you're still agnostic to editors, you could try Emacs which I'm pretty sure has GDB integration, and I'd be surprised if it didn't have something like Intellisense for C code as well.
I use gdb but never bothered with vim integration. Frankly, it's fairly rare that I need to debug something complicated enough that I need the advanced debugging features, but that said, when I do, it has been easier in Eclipse/MSVC++ than in gdb – mainly because I haven't taken the time to figure out gdb's advanced features yet.
Googling for "vim gdb integration" gave several results; you could try playing around with one of those.