LINUX.ORG.RU

Среда разработки С++ под Linux?


0

0

Критерии - удобная отладка и автозаполнение. Пока не видел ни одной среды, способной нормально обрабатывать код хотя бы с smart pointer-ами В идеале с функционалом, не уступающим MSVC

anonymous

Ответ на: комментарий от I3rain

Лучшее что я видел. Но тормоза на P4 3GHz 1GB RAM, автозаполнение отрабатывает несколько секунд и почти никогда не работает. Отладчик тоже есть куда улучшать... жду не дождусь, когда они CDT до ума доведут

anonymous
()
Ответ на: комментарий от anonymous

Вообще, я вимом пользуюсь, мне очень нравиться и побыстрее работает чем emacs. Я могу тебе подсказать как в виме автодополнение включить, если нужно.

aeuo
()
Ответ на: комментарий от aeuo

>Вообще, я вимом пользуюсь, мне очень нравиться и побыстрее работает чем emacs. Я могу тебе подсказать как в виме автодополнение включить, если нужно.

Гри послушаем.

I3rain
()

Простите, а в какой версии Studio работает комплит для smartpointers?

Есть у нас, значит, некий ClsSharedPtr, который хранит указатель на Cls. Заводим мы объект типа ClsSharedPtr, пишем черточку и знак больше, и видем все мемберы класса Cls. Вот прямо так?

anonymous
()
Ответ на: комментарий от I3rain

Взято из хелпа вима:
Что бы просмотреть это можете набрать :help или F1
и см. главу |usr_24.txt|  Inserting quickly

Vim can automatically complete words on insertion.  You type the first part of
a word, press CTRL-P, and Vim guesses the rest.
   Suppose, for example, that you are creating a C program and want to type in
the following:

	total = ch_array[0] + ch_array[1] + ch_array[2]; ~

You start by entering the following:

	total = ch_array[0] + ch_ ~

At this point, you tell Vim to complete the word using the command CTRL-P.
Vim searches for a word that starts with what's in front of the cursor.  In
this case, it is "ch_", which matches with the word ch_array.  So typing
CTRL-P gives you the following:

	total = ch_array[0] + ch_array ~

After a little more typing, you get this (ending in a space):

	total = ch_array[0] + ch_array[1] +  ~

If you now type CTRL-P Vim will search again for a word that completes the
word before the cursor.  Since there is nothing in front of the cursor, it
finds the first word backwards, which is "ch_array".  Typing CTRL-P again
gives you the next word that matches, in this case "total".  A third CTRL-P
searches further back.  If there is nothing else, it causes the editor to run
out of words, so it returns to the original text, which is nothing.  A fourth
CTRL-P causes the editor to start over again with "ch_array".

To search forward, use CTRL-N.  Since the search wraps around the end of the
file, CTRL-N and CTRL-P will find the same matches, but in a different
sequence.  Hint: CTRL-N is Next-match and CTRL-P is Previous-match.

The Vim editor goes through a lot of effort to find words to complete.  Byy
default, it searches the following places:

	1. Current file
	2. Files in other windows
	3. Other loaded files (hidden buffers)
	4. Files which are not loaded (inactive buffers)
	5. Tag files
	6. All files #included by the current file

aeuo
()
Ответ на: комментарий от anonymous

>а как там автодополнение завести ?

там же есть специальный курс, после установки xref,
типа обучающей миссии.

fghj ★★★★★
()
Ответ на: комментарий от anonymous

7.1 и дальше Вот пример, только что проверял на 8.0 (VS .NET 2005) #include <list> class B; class A{ public: int a,c; B *b; }; class B{ public: A *operator->(){} int d; }; void a(){ B b; std::list<B> v; std::list<std::list<B *> > vv; //b-> //b->b-> //(*(b->b))-> //v. //v.begin()-> //vv. //(*(vv.begin()->end()--))-> } Все закомментированные строки вызывают выпадающий список членов класса (причём корректный список)

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.