рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: "Evgeniy Ivanov" <green-lord@mail.ru>
To: "kde-russian@zigzag.lvk.cs.msu.su" <kde-russian@zigzag.lvk.cs.msu.su>
Subject: [kde-russian] Ещё одна проблема при переводе
Date: Tue, 08 Aug 2006 14:09:43 +0400
Message-ID: <op.tdymihov2pcnw8@smalllolka> (raw)

Извиняюсь, что становлюсь спамером, я сильно застопорился на переводе  
"FAQs по автодополнению кода", наверное потому, что сам этим  
автодополнением не пользовался.

Вот вопрос из FAQ и мой перевод:

===How to teach new macros to the C/C++ parser?===
KDevelop's current parser does not parse files in order. If you need to  
teach new macros to the C/C++ parser, the best way to do this is to parse  
a fake file that contains only macro definitions before parsing the source  
files. This is what the <em>C++ Parser Settings</em> dialog is for. The  
contents of this fake source file is the text you edit in the  
<em>C++ Parser Settings </em> dialog, which will be parsed first anytime  
that you load a project.

===Как обучить парсер новым макросам для С/С++?===
Нынешний парсер KDevelop не обрабатывает файлы по порядку. (Прим. перев.:  
Очевидно, имеется в виду, что он не отслеживает зависимости между  
файлами). Если вы хотите создать новый макрос для автодополнения кода на  
С/С++, лучший способ проанализировать(parse) отдельный файл, содержащий  
только макроопределения, лишь потом исходные файлы. Вот для чего  
существует диалоговое окно <em>C++ Parser Settings</em>. Содержимым этого  
фейк-исходника является текст, который вы редактируете в диалоге парсер  
сеттингс, который будет распознан первым при каждой загрузке проекта.

Кажется, смысл передан, но fake во втором случае совсем не переводится.
-- 
E.I.



             reply	other threads:[~2006-08-08 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 10:09 Evgeniy Ivanov [this message]
2006-08-08 11:04 ` Gregory Mokhin
2006-08-08 21:30 ` Evgeniy Ivanov
2006-08-08 23:39   ` Gregory Mokhin
2006-08-18 17:01     ` Nick Shaforostoff
2006-08-18 20:42       ` Evgeniy Ivanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tdymihov2pcnw8@smalllolka \
    --to=green-lord@mail.ru \
    --cc=kde-russian@zigzag.lvk.cs.msu.su \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git