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

24.05.2018
Disclaimer
08.05.2018
We apply OKR methodology in Neti since 2014. We started from a quarterly planning, but then understood that no ambitious goals can be achieved per quarter. So we switched to semi-annual intervals....
11.04.2018
As you know, Microsoft recently has launched Dynamics 365 Business Central. And we are proud to announce we have launched intracompany training for sales and development departments:Why do we need it...

Subscribe for blog updates

Get updated with our blog new articles via your email!


Subscribe now