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

Опции темы Поиск в этой теме Опции просмотра
Старый 26.06.2019, 09:11   #1  
Blog bot is offline
Blog bot
22,089 / 768 (70) +++++++
Регистрация: 28.10.2006
waldo: CRS AL Language Extension – ControlNames are no longer surrounded by double quotes

There is a recent change that I had to introduce in the CRS AL Language Extension – you know, that tiny little VSCode Extension that quite a lot of you seem to be using ;-). +89000 downloads/+21500 installs – that’s crazy! It’s one of my biggest projects I ever did for the community :-).

Stop bragging, get to the point…

Well – because of the fact that so many people are using the extension, I think I have to make you aware of an important change (fix) I did to the extension (already almost 3 weeks ago…).

I have had a couple of requests to change the “rename” behaviour, which I had to implement, because they were causing small inconveniences. These were the requests:
Long story short: because I simply put double quotes for fields on pages, I introduced some bugs. It didn’t work for procedure calls – and it might have ended up with crashing reports.

A combination of commits (from both me and Kenneth (thanks Kenneth!)) will now make sure that the double quotes will only be there if needs to be. Much better of course, and it solves the bugs.

But that’s just like any other bugfix … so now comes the real reason of this post …

However, since you all will get this new version of this VSCode extension by default, you might have noticed that your names in your existing pages might automatically get more edits that you might have expected: when you rename the file (and for many people, that automatically happens when you save the file), it will “correct” all these fields. So you will have edits that removed quotes.

You might have had this:

And suddenly now you have this:

That might be inconvenient – I have had the feedback from a few people.

Well, it IS inconvenient – the issue is: you are making many more changes than you actually intend to. All these changes go into source control: so a changeset might give you non-important renames of controls .. which can be confusing.

How do you handle it?

Well, my recommendation would be.
  • rename all
  • commit with comment “Remove unnecessary double quotes for fieldnames”
In that case, you have one isolated commit with all the rename-changes, and you won’t have any upcoming weird changes in any upcoming commit.

Hope this helps! Enjoy the extension going forward!

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
waldo: CRS AL Language Extension – version 1.1.0 Blog bot NAV: Blogs 0 30.03.2019 00:33
waldo: CRS AL Language Extension – File Management Blog bot NAV: Blogs 0 03.07.2018 04:33
waldo: CRS Al Language Extension – Running Objects Blog bot NAV: Blogs 0 19.06.2018 04:33
waldo: CRS Al Language Extension Blog bot NAV: Blogs 0 18.04.2018 05:13
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

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