Hi Experts,
Except starting with old editor parameter, do anybody know why we cannot delete code across functions in new NAV 2016 C/AL Editor?
*This post is locked for comments
Hi Experts,
Except starting with old editor parameter, do anybody know why we cannot delete code across functions in new NAV 2016 C/AL Editor?
*This post is locked for comments
Thank you All! It's impossible mission :-)
I know that we can use old editor in NAV 2016 as mentioned in my question, but it's inconvenient, and how about when Microsoft stops supporting old editor!
Hi,
In your selection, you have included the Function name also (Local MyFunction(.....)) , Delete helps you to delete the code block inside the function. So if you restrict the selection only to the code block, it will get deleted. If you want to remove the Function altogether, you need to go the conventional View -> C/AL Globals -> Functions, select the function and delete using F4.
Hi Khoa,
True, we cannot delete multiple line across different functions in NAV 2016. Earlier I missed it i was checking in single function.
As suggested by Rashed use old editor mode we can do that but you will miss intellisense.
Go to your CMD and try the below to open with Oldeditor
C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client>finsql.exe useoldeditor=yes
or
Right click the NAV 2016 short cut and change Target as below
yes, Now I see it and its not possible. sorry
The issue is deleting a selection of code across multiple triggers/functions. And you cannot do that in the new editor.
I can also delete multiple lines using "delete" key
Open the dev client with the old editor mode and delete what you need.
Still cannot delete all code with one Delete, F4 or Backspace key stroke :-(
I'm using NAV 2016 build 9.00.43402 too.
I am using NAV 2016 Version (9.00.43402) CU1.
Which build do you use?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156