One day I've got to write up that tutorial on how you can have Intellisense-like functionality in VIM... (yes, you can, and I wouldn't be the console warrior I am if you couldn't. )Aphex wrote:I use MSVC++ 2010, just for it's features like intellisense...
Intellisense and VIM
Intellisense and VIM
Every good solution is obvious once you've found it.
Re: Re:CPU Identification For OS Developers...
Finally, a tutorial I'd really love to seeSolar wrote:One day I've got to write up that tutorial on how you can have Intellisense-like functionality in VIM... (yes, you can, and I wouldn't be the console warrior I am if you couldn't. )Aphex wrote:I use MSVC++ 2010, just for it's features like intellisense...
Re: Re:CPU Identification For OS Developers...
*Spoiler*: Something as generic as KatePart can do basic completion and KDevelop4 can beat MSV*'s Intellisense at any time (you can browse documentation about a class just by holding your cursor above it - like that would be very strange and magical ).quok wrote:Finally, a tutorial I'd really love to seeSolar wrote:One day I've got to write up that tutorial on how you can have Intellisense-like functionality in VIM... (yes, you can, and I wouldn't be the console warrior I am if you couldn't. )Aphex wrote:I use MSVC++ 2010, just for it's features like intellisense...
EDIT: oh, forgot to say it's enabled by default.
Re: CPU Identification For OS Developers...
Here are some autocompletion commands for Vim (7.0+):vim autocompletion
Ctrl-x Ctrl-d: Definition Completion
Ctrl-x Ctrl-f: Filename Completion
Ctrl-x Ctrl-i: Path Pattern Completion
Ctrl-x Ctrl-l: Whole Line Completion
Ctrl-x Ctrl-n, or Ctrl-p: Keyword completion
Ctrl-x Ctrl-p: Local keyword completion
Ctrl-x Ctrl-v: Command line completion
Hope this might have helped someone
Wait... What?
Re: CPU Identification For OS Developers...
I thought Vim was a modal editor? Those look suspiciously like emacs commands...Yargh wrote:Here are some autocompletion commands for Vim (7.0+):vim autocompletion
Ctrl-x Ctrl-d: Definition Completion
Ctrl-x Ctrl-f: Filename Completion
Ctrl-x Ctrl-i: Path Pattern Completion
Ctrl-x Ctrl-l: Whole Line Completion
Ctrl-x Ctrl-n, or Ctrl-p: Keyword completion
Ctrl-x Ctrl-p: Local keyword completion
Ctrl-x Ctrl-v: Command line completion
Hope this might have helped someone
* steps back and fans flames while eating popcorn.
Re: Re:CPU Identification For OS Developers...
I use KDevelop whenever I can - including for my kernel work. I should push my code to github, if only so people can see the CMake magic I had to do to get that working.eddyb wrote:*Spoiler*: Something as generic as KatePart can do basic completion and KDevelop4 can beat MSV*'s Intellisense at any time (you can browse documentation about a class just by holding your cursor above it - like that would be very strange and magical ).
EDIT: oh, forgot to say it's enabled by default.
Re: Intellisense and VIM
The old common crash with race-conditions in the autocomplete code has been fixed. I haven't had any issues with it since 4.1, on projects up to ~4500 files. 4.2 is definitely stable now - I don't think I've had a crash since I upgraded to that.berkus wrote:Is Kdevelop4 stable yet? Last time I tried it, it crashed left and right on a medium-sized project (LLVM).Branan wrote:I use KDevelop whenever I can - including for my kernel work. I should push my code to github, if only so people can see the CMake magic I had to do to get that working.
Re: Intellisense and VIM
Works fine for me. I also like the file-set feature... I can change between two sets of 100 files open in a second . And in a few seconds you can create a project of out existing CMake/Makefile/others(yeah, you could set it to build even using a bash script. I use that feature for scons mainly).Branan wrote:The old common crash with race-conditions in the autocomplete code has been fixed. I haven't had any issues with it since 4.1, on projects up to ~4500 files. 4.2 is definitely stable now - I don't think I've had a crash since I upgraded to that.berkus wrote:Is Kdevelop4 stable yet? Last time I tried it, it crashed left and right on a medium-sized project (LLVM).Branan wrote:I use KDevelop whenever I can - including for my kernel work. I should push my code to github, if only so people can see the CMake magic I had to do to get that working.
Ctrl+i Ctrl+f Ctrl+_ Ctrl+i Ctrl+t Ctrl+_ Ctrl+w Ctrl+o Ctrl+r Ctrl+k Ctrl+s Ctrl+_ Ctrl+f Ctrl+o Ctrl+r Ctrl+_ Ctrl+m Ctrl+e Ctrl+, Ctrl+_ Ctrl+w Ctrl+h Ctrl+y Ctrl+_ Ctrl+u Ctrl+s Ctrl+e Ctrl+_ Ctrl+C Ctrl+t Ctrl+r Ctrl+l Ctrl++ Ctrl+X Ctrl+Y Ctrl+Z Ctrl+_ Ctrl+s Ctrl+t Ctrl+u Ctrl+f Ctrl+f Ctrl+?