AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.02.2012, 12:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,477 / 846 (79) +++++++
Регистрация: 28.10.2006
palleagermark: Inserting code snippets in the AX 2012 X++ editor
Источник: http://palleagermark.blogspot.com/20...x-2012-x0.html
==============

In the AX 2012 X++ you can quickly insert fragments of code to avoid tedious typing, such as typing for a loop.


To insert a snippet, you must enter the snippets alias (which is usually the first symbol of the code), and press tab. For example, typing switch followed by tab, gives you this snippet:
switch ()
{
case :
break;


case :
break;
}



I don't have a clear picture of all the available aliases, but these work:
  • switch
  • for
  • do
  • while
  • try
In the regular Visual Studio editor you can add your own code snippets. I haven't figured out yet, if this is also possible for the X++ editor.




Источник: http://palleagermark.blogspot.com/20...x-2012-x0.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
palleagermark: "Find as you type" in the AX 2012 X++ editor Blog bot DAX Blogs 0 02.02.2012 15:11
palleagermark: Color code forms in AX 2012, depending on environment/company Blog bot DAX Blogs 0 12.12.2011 15:11
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
daxdilip: Whats New in Dynamics AX 2012 (A brief extract from the recently held Tech Conf.) Blog bot DAX Blogs 7 31.01.2011 12:35

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:16.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.