Simplification the comments' inputting and projects' creation

Updated: 30.03.2016

This is a small project which one simplifies projects’ templates’ creation. Also it lets mention project name, related to changes, in project’s comments.

After import you’ll see “Create project” option in Tools menu (in Development Environment). If you select this option, form is called where you have to type project’s number or text description. Setting “Mark as active” mark, you notify system that the project is default for current user. In the objects tree on the form you select objects’ groups which you want to add to the project. Push OK. System creates project template. By default, project name is Neti_%your_no_or_text_description%_curUserId(). If you want to change project name format, go to Neti_DevelopCreateProject form (see ClassDeclaration, ProjectName macro).

Don’t be upset if you missed “Mark as active” mark. Just right-click on the project, Add-ins -> Activate project. Doing this, you force the system open the project on development environment opening. Please, pay attention that system doesn’t trace if you rename or delete the project. You have to re-activate project this case.

Also you can find additional option at Scripts (context menu in code editor), submenu Neti. You will find there 3 options:
1) codeExclude –comments selected block of code next way:
{{// - jd 2015/11/24 DevelopmentTools <--
//#define.ProjectNameNotSet("No project number is mentioned")
//#define.ProjectNameExists("Projects with this number is already exist")
// - jd 2015/11/24 DevelopmentTools -->}}

If there is one line of code then the line will be commented next way:
//#define.ProjectNameExists("Projects with this number is already exist ") // - jd 2015/11/24 DevelopmentTools

2) codeInclude – comments selected block of code next way:
{{// + jd 2015/11/24 DevelopmentTools <--
#define.ProjectNameNotSet("No project number is mentioned")
#define.ProjectNameExists("Projects with this number is already exist ")
// + jd 2015/11/24 DevelopmentTools -->}}


If there is one line of code then the line will be commented next way:
#define.ProjectNameExists("Projects with this number is already exist ") // + jd 2015/11/24 DevelopmentTools

3) header – adds comment at the method’s top:
// jd 2012/06/26 DevelopmentTools

You can change the comments’ format in Neti_EditorScriptsHelper class (see ClassDeclaration, macrodefinition).

Download XPO project

 

 

Other blog posts

14.11.2017
Why outsourcing company is more effective than In-house IT-specialists There are situations when in-house specialists spend most of their time awaiting requests or they cannot get their work...
26.09.2017
Microsoft Dynamics AX program decisions are constantly improving. At first, innovations come to European companies, and only after that to Russian enterprises.We aspire to be one step ahead in this...
28.08.2017
Notes of the summit and of Dynamics market in Russia. Neti has been specializing in AX development since 2003. Our sphere of interest is the cutting-edge MS Dynamics technology. We find, study...

Subscribe for blog updates

Get updated with our blog new articles via your email!


Subscribe now