From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1La6co-0001T2-LX for garchives@archives.gentoo.org; Thu, 19 Feb 2009 10:59:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E62BE0267; Thu, 19 Feb 2009 10:59:24 +0000 (UTC) Received: from mail.bitdefender.com (mail.bitdefender.com [91.199.104.2]) by pigeon.gentoo.org (Postfix) with ESMTP id 0AF50E0267 for ; Thu, 19 Feb 2009 10:59:23 +0000 (UTC) Received: (qmail 11980 invoked from network); 19 Feb 2009 12:59:21 +0200 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys X-BitDefender-Scanner: Clean, Agent: BitDefender qmail 3.0.2 on elfie.dsd.hq, sigver: 7.23754 X-BitDefender-Spam: No (0) X-BitDefender-SpamStamp: v1, build 2.8.1.62279, bayes score: 500(0), pbayes score: 241(0), neunet score: 0(0), flags: [B_SUMM_HAS_LINK_NMD_08; VALID_REPLY; LEGIT_SUMM_200_WORDS; EMPLO; EXEC_H_HAS_ONE_RECV], total: 0(775) X-BitDefender-CF-Stamp: none DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=RsPpuqrdWGUOV9smLNH0hZh5gOai8LuGU5Av0ucjAgc6rSa0zps5vyKRVWYuTfKROmvdlPh1pz84lEUHaVexqdIogftKSJ/FKrLX07AKXvvHpQ1TkussNDY6ie5jr+m8votmOmVSlO6Js2+Ac5dN+eAIVyzIWpgDf0YeEppTRpE= ; Received: from unknown (HELO ?10.10.100.24?) (ahanganu@bitdefender.com@10.10.14.136) by mail.bitdefender.com with AES256-SHA encrypted SMTP; 19 Feb 2009 12:59:20 +0200 Message-ID: <499D57A6.9060300@bitdefender.com> Date: Thu, 19 Feb 2009 12:59:18 +0000 From: Andrei Hanganu User-Agent: Thunderbird 2.0.0.19 (X11/20090127) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] perfect IDE References: <499AE034.7070104@bitdefender.com> <499B1EE5.2020000@gmx.net> In-Reply-To: <499B1EE5.2020000@gmx.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8ac1782c-8df3-409c-8288-8c5688beba5a X-Archives-Hash: 13e50d9492230494250af474abf005f1 Andreas Niederl wrote: > Hi, > > Andrei Hanganu wrote: >> helo group, >> >> i've been trying the past 2-3 years to find the most usable and nice ide >> for c/c++ code writing. I've been through vim/vim + plugins/emacs + >> different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every >> single one of them has at least one drawback. > > I'm thinking the more I get to know Vim and the available plugins, the > more it becomes like an IDE to me. I guess the same is true for Emacs. > > My advice would be to take on of those or any other open IDE and learn > and extend them to the point that it's perfect for you. > > > Now for your feature requirements list I'm going to concentrate on Vim > and Emacs as those two are the ones I know. > > >> In short words, i am looking for an ide that can do this: >> - syntax highlighting >> - concurrent editing of multiple files (splitting) >> - tabs or buffer list >> - file browser >> - regex search/replace > > Both Vim and Emacs can do these basic features. > Vim even provides a mechanism for saving and restoring editing sessions. > > >> - autocomplete (on the fly, not on demand, and maybe smart? - identify >> structures/classes ) > > Haven't tried it yet, but for Vim word_complete.vim[1] seems to be what > you're looking for. You should also have a look at Omnicompletion. > > As Emacs has hooks for nearly everything it should be doable with it as > well. > > >> - project manager > > Don't know about that but it would be nice to have simpler project > specific settings for Emacs/Vim. > > >> - symbol list/browser current editing buffer > > That's pretty much ctags/etags, maybe cscope. > > >> - flexible build options that include scons, not just makefile > > You can put the following in ~/.vimrc: > autocmd BufEnter ~/path/to/project/* set makeprg=scons > > >> - code folding (with detection of blocks) > > Vim does it[2]; Emacs seems to have some kind of FoldingMode according > to Google. > > >> - lightweight/ergonomic interface (i dislike space being occupied by the >> bar that displays the line numbers, with a padding of 10px for example) > > Both of them are very customisable in this regard. > > >> i don't desire gdb or valgrind integration, but would be a + > > Emacs features gdb integration and there's Clewn[3] for GVim. > As for me, I'm rather using a separate screen[4] window in the same session. > > > > Regards, > Andi > > [1] http://www.vim.org/scripts/script.php?script_id=73 > [2] http://www.linux.com/articles/114138 > [3] http://clewn.sourceforge.net/ > [4] http://www.gnu.org/software/screen/ > > hello, your suggestions are perfectly valid, but both vim and emacs suffer from the same problem: inconsistency. A very varying group of people writes these plugins, and if i could get 5 plugins to work correctly i would reach what i am looking for. Unfortunately, one breaks down other two, or vice versa. In emacs, which i think i've given the most time, i'm using right now some panels that bring me the bufferlist, and a filesystem browser, but they screw up the splitting of windows when the bottom panel is displayed and the editor word wrap stops working when browser is displayed. That's just a small description of the general feeling, these plugins are great, but they usually work great when used alone, or just one major plugin enabled. i've checked out open/komodo, the main issue is that it is an ide designed for web developing, not c compilation as far as i could see. right now, codeblocks seems to be most functional, and i know they are working on making split windows function better. I've also switched on kde4 and latest kate (implies also new kdevelop) has a very interesting functionality "vim like input mode", which seems rather unnatural at first, but i think it has a lot of potential. I've given some time to yziss too, but as far as i can see the project has been paused. I like very much the ideea of an IDE on top of a native VIM editor, and i'm considering expanding gvim. regards, A.