Search This Blog

Redesigned C/AL Editor – NAV 2016

The C/AL Editor in the Microsoft Dynamics NAV Development Environment has been redesigned to give you more coding capabilities.
Coding in the new C/AL editor is like before except you benefit from new features such as IntelliSense, name completion, change tracking, improved syntax highlighting and colorization.

The new design has a look-and-feel that resembles the Debugger regarding breakpoints.

And here it is:-

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFj-UDnWKxmRALjGEKDimItLidr4325DH-jd9WgOO9sFy7P21A37E0Fv1Q9E_1sVAmhmYypmAJlFDU9AszRexeqqMwrlTxwFm5xSorGVjWtObx3PHfrjQwnwkm_ZvlmQXPsVru6_wGicwF/s1600/Cal+Editor.png
 

And if you start typing then it will start IntelliSense and you can press tab/enter to name completion.
  
 

1).Name Completion:  
 
Now Editor suggests the Variable Names which are available.

2).IntelliSense:  

Now Editor Suggest available options for the variables.

3).Change Tracking:
  

4).Improved syntax highlighting and colorization:

NOTE: - Can we Use Old Editor in NAV 2016?

YES, If you still want to use old version editor, you can use the old version of the C/AL Editor by running the Microsoft Dynamics NAV Development Environment from a command prompt and setting the useoldeditor parameter.

Steps: - Run the command prompt (RUN) from the START Option. And add below string and Enter

"C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\finsql.exe" useoldeditor=Yes



  
 Finsql.exe useoldeditor=yes


useoldeditor
Specifies whether to use the C/AL Editor that was available in Microsoft Dynamics NAV 2015 and earlier versions. The C/AL Editor was redesigned in Microsoft Dynamics NAV 2016.
To use the old editor, specify the parameter as useoldeditor=yes or useoldeditor.
To use the new editor, omit the parameter or specify it as useoldeditor=no.