Well actually cal-snippets need a bit of re-design. But due to lack of time I decided to uploaded the beta 2 version. It was scheduled not to be released at all. Positive side is that it will be tested very good this way.
{??} Doesn’t do anything. Maybe in the future. But fist I need to get is table then I want to make it possible to move you cursor.
Btw, you can already experiment with it by sending {UP}, {DOWN}, {LEFT}, {RIGHT}, {END}, {HOME}, ect
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."
How about adding possibility to interpret standard Navision formating attributes in definition of some variables in CAL snipplets ?
Im thinking especially about date variable, which could be quite usefull, like in definition of custom comment:
// SG, {Date, <Year4><Month,2><Day,2>}, BEGIN
Or, at least use string formatting character used in C in printf function
Second thing - how about displaing value and type of global variables and constans as a tooltip ? When you type Text001 in code window it should show value of Text001 as a tooltip
Something like 'most recently used' area. Ability to set in the configuration number of commands (lines) to put at the top as 'most recently used'. Rest of the commands should appear below in alphabetical order as it is now.
Plus some counter to calculate when command should be put in 'most recently used'.
'most recently used' area should be separate for each starting letter
For example:
If you set recent lines to 2 and counter to 1:
First completion of command puts it in 'most recently used' area. So typing (with completion) MARK, MODIFY and MESSAGE shoud give you MESSAGE, MODIFY (recently used area) and below MARK, MARKEDONLY and so on (standard m-commands list) in alphabetical order after typing just m
But when you set recent lines to 2 and counter to 2:
First completion of command puts it in 'most recently used' area, but in order to replace command in recently used area with new one it should be completed at least 2 times (counter parameter decides).
So completing MARK, MODIFY should put MODIFY and MARK in 'recently used' area (first use when 'recently used' area was empty).
Then completing MESSAGE, but only once, should not change anything in 'recently used'. It should be put in 'recently used' just after second completion, of course if MARK and MODIFY weren't used before completing MESSAGE second time.
Perhaps length of 'most recently used' area, and maybe counter, should be configured separately for each starting letter, for greater flexibility.
a - list for example is quite short, but c list very long. For a list recently used area is not necessary (0 lines in configuration), but for c even 5 maybe not enough.
I home my description is clear . And I hope you'll find it usefull and deserving implementation. It would be quite usefull in cases where there are many commands on list starting with the same bunch of letters (just look at c list )
I was thinking to treat me on a Xbox 360 when the baby is Born.
You know… something like.... "Well done darling, it’s a very nice baby. Ok, if somebody could clean the baby, I'm off to buy an 360! I'll be back in an hour.
But you guys probably think this is not exactly the way it will go...
Darn
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."
And all the dads in here go.. "PFFFFFFFF HAHAHAHAHA" you think you have little time NOW, just wait until the little guy's there. Not to mention the kind of extra stuff your wife will be needing.
If you end up buying an XBox 360, make sure you put it on a high shelf. I've found peanutbutter sandwiches in my $30 VCR, and I would not have taken it well if that had been an Xbox. When they start crawling, they actually think the CD tray is perfect for pulling yourself up. And those knobs on your stereo equipment come off quite easily too .
1.) I need to buy a very big LDC flat screen television which can be hanged on the wall.
2.) I need to buy B&O audio equipment which also can be hanged on the wall.
3.) I need to buy a shelf for my Xbox 3.60
4.) I should never buy peanut butter.
5.) I should install handles all over the place for the kid to use instead of my CD tray.
Oooh.. and the wife shouldn’t be needing anything. I gave her the best present I could think of. What in heavens name would she want more! Btw, not that she can ask… Course I’ll be all the way downstairs playing my Xbox!
Did I miss something? Anything?
Luckily I planned a 4 week holiday. Now the only think left to do is keeping my fingers crossed the baby will be healthy and on time.
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."
CAL Completer v2.50
CAL Completer (Windows 2000/XP) brings the wonderful functionality of code completion to Navision.
Major new features in CAL Completer version 2.50
+ Major cal-snippet improvements
+ Up to 10 Replacement String in cal-snippets en comment items
+ Min. Character Match Mode
+ Enable or disable the different completion keys
+ 12 new date replacement strings added
… and lot’s of bug fixes
Major new features in CAL Completer version 2 BETA
+ Comment Items
+ CAL Snippets
+ Item Icons
+ Separate Updater
+ Help
+ Complete item using keys: Enter, ; and (
- include object-related code insert e.g.
if your object is Mail (CodeUnit 397) and you type Mail. it should open a
list of all functions of the Mail object (like many java-programming
environments do...)
- include parameters of the functions in the code insert also, not just
the message names, but also their parameters, that would be really
good
congratulations again :-) nice work ! :-)
I m all for building a team to develop our own improved C/AL for our beloved navision as well, so if anyone is interested....
CAL Completer v2.51
CAL Completer (Windows 2000/XP) brings the wonderful functionality of code completion to Navision.
Major new features in CAL Completer version 2.51
- Dates in Cal-Snippets bug.
+ Unlimited replacement strings
+ A few new cal-snippets.
+ New font.
Major new features in CAL Completer version 2.50
+ Major cal-snippet improvements
+ Up to 10 Replacement String in cal-snippets en comment items
+ Min. Character Match Mode
+ Enable or disable the different completion keys
+ 12 new date replacement strings added
… and lot’s of bug fixes
Major new features in CAL Completer version 2 BETA
+ Comment Items
+ CAL Snippets
+ Item Icons
+ Separate Updater
+ Help
+ Complete item using keys: Enter, ; and (
Shame on me! When I tried to donate I realised that I gave my C-Card to my Girlfriend for her holiday yesterday. So if the Card won't be blocked in two weeks I can keep my assurcance #-o
not really... KeyDelay would have been the suggestion.
I'll take a look at it. Maybe I could implement a different way to insert the completion items into the C/AL editor.
However... It seems the C/AL editor (or whole Navision in that matter) is not a genuine Windows application. I keep bumping upon limitation with the Navision client. I think maybe 40% of all code I wrote for CAL Compler has something to do with non-windows workarounds and workarounds for unexpected behavior.
For example, did you ever do this:
- Select a couple of line in a codeunit from bottum to top. (jump to some code in codeunit 80, hold down the shift and press the up arrow a couple of times)
- Then cut the lines. (Ctrl+x)
- Click the Yes button on the message
Look at where your cursor is at. I
Or did you ever do this:
- Select a couple of line in a codeunit from bottom to top. (jump to some code in codeunit 80, hold down the shift and press the up arrow a couple of times)
- Then Copy and Past the code (Ctrl+C & Ctrl+V)
Shit!! Where did Navision insert that code?
You can not even copy code over selected code. Not even when the code is exactly the same.
In other words, I’m getting a bit fat up with this editor behavior.
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."
Comments
{??} Doesn’t do anything. Maybe in the future. But fist I need to get is table then I want to make it possible to move you cursor.
Btw, you can already experiment with it by sending {UP}, {DOWN}, {LEFT}, {RIGHT}, {END}, {HOME}, ect
If it was hard to write, it should be hard to understand."
How about adding possibility to interpret standard Navision formating attributes in definition of some variables in CAL snipplets ?
Im thinking especially about date variable, which could be quite usefull, like in definition of custom comment:
// SG, {Date, <Year4><Month,2><Day,2>}, BEGIN
Or, at least use string formatting character used in C in printf function
Second thing - how about displaing value and type of global variables and constans as a tooltip ? When you type Text001 in code window it should show value of Text001 as a tooltip
Many thanks for really cool tool.
Regards,
Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
If it was hard to write, it should be hard to understand."
When starting to write command, after backspace Completer offers new suggestion, ignoring earlier letters. For example:
1. Type mo
2. Use backspace once.
3. Type a - I think Completer should suggest commands starting with ma, but it offers commands starting with a.
Regards,
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Something like 'most recently used' area. Ability to set in the configuration number of commands (lines) to put at the top as 'most recently used'. Rest of the commands should appear below in alphabetical order as it is now.
Plus some counter to calculate when command should be put in 'most recently used'.
'most recently used' area should be separate for each starting letter
For example:
If you set recent lines to 2 and counter to 1:
First completion of command puts it in 'most recently used' area. So typing (with completion) MARK, MODIFY and MESSAGE shoud give you MESSAGE, MODIFY (recently used area) and below MARK, MARKEDONLY and so on (standard m-commands list) in alphabetical order after typing just m
But when you set recent lines to 2 and counter to 2:
First completion of command puts it in 'most recently used' area, but in order to replace command in recently used area with new one it should be completed at least 2 times (counter parameter decides).
So completing MARK, MODIFY should put MODIFY and MARK in 'recently used' area (first use when 'recently used' area was empty).
Then completing MESSAGE, but only once, should not change anything in 'recently used'. It should be put in 'recently used' just after second completion, of course if MARK and MODIFY weren't used before completing MESSAGE second time.
Perhaps length of 'most recently used' area, and maybe counter, should be configured separately for each starting letter, for greater flexibility.
a - list for example is quite short, but c list very long. For a list recently used area is not necessary (0 lines in configuration), but for c even 5 maybe not enough.
I home my description is clear . And I hope you'll find it usefull and deserving implementation. It would be quite usefull in cases where there are many commands on list starting with the same bunch of letters (just look at c list )
Regards,
Slawek Guzek
PS. I am really lazy, Am I ?
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
Busy @ work, Father in 7 weeks. You understand...
If it was hard to write, it should be hard to understand."
But don't complain yet about not having time.
Wait until your baby is there
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
But kriki is right, you musta be joking Better enjoy free programming and do the changes before you'll be happy father
I know something about it - I'm happy father of lovely 4,5 month old daughter
Regards,
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
I was thinking to treat me on a Xbox 360 when the baby is Born.
You know… something like.... "Well done darling, it’s a very nice baby. Ok, if somebody could clean the baby, I'm off to buy an 360! I'll be back in an hour.
But you guys probably think this is not exactly the way it will go...
Darn
If it was hard to write, it should be hard to understand."
If you end up buying an XBox 360, make sure you put it on a high shelf. I've found peanutbutter sandwiches in my $30 VCR, and I would not have taken it well if that had been an Xbox. When they start crawling, they actually think the CD tray is perfect for pulling yourself up. And those knobs on your stereo equipment come off quite easily too .
RIS Plus, LLC
1.) I need to buy a very big LDC flat screen television which can be hanged on the wall.
2.) I need to buy B&O audio equipment which also can be hanged on the wall.
3.) I need to buy a shelf for my Xbox 3.60
4.) I should never buy peanut butter.
5.) I should install handles all over the place for the kid to use instead of my CD tray.
Oooh.. and the wife shouldn’t be needing anything. I gave her the best present I could think of. What in heavens name would she want more! Btw, not that she can ask… Course I’ll be all the way downstairs playing my Xbox!
Did I miss something? Anything?
Luckily I planned a 4 week holiday. Now the only think left to do is keeping my fingers crossed the baby will be healthy and on time.
If it was hard to write, it should be hard to understand."
CAL Completer (Windows 2000/XP) brings the wonderful functionality of code completion to Navision.
Major new features in CAL Completer version 2.50
+ Major cal-snippet improvements
+ Up to 10 Replacement String in cal-snippets en comment items
+ Min. Character Match Mode
+ Enable or disable the different completion keys
+ 12 new date replacement strings added
… and lot’s of bug fixes
Major new features in CAL Completer version 2 BETA
+ Comment Items
+ CAL Snippets
+ Item Icons
+ Separate Updater
+ Help
+ Complete item using keys: Enter, ; and (
http://www.mibuso.com/dlinfo.asp?FileID=557
Discuss this download here.
As I replied already in the mail. You are the very FIRST person donating ever!
I'll be sure to mention it in the next release.
And really, it does make me feel all warm and fuzzy inside!
Thanks! Ooooh and... if you have any wished or suggestion. I'll do best + 1 for all donaters!
BTW, the first 20 euro I get donated, I'll spend on a mibuso.com site supporter logo!
If it was hard to write, it should be hard to understand."
here are my suggestions:
- include object-related code insert e.g.
if your object is Mail (CodeUnit 397) and you type Mail. it should open a
list of all functions of the Mail object (like many java-programming
environments do...)
- include parameters of the functions in the code insert also, not just
the message names, but also their parameters, that would be really
good
congratulations again :-) nice work ! :-)
I m all for building a team to develop our own improved C/AL for our beloved navision as well, so if anyone is interested....
cheers,
manuela \:D/
{Date, Day2}.{Date, Month2}.{Date, Year2}
But in my CAL Snippet the Completer doesn't replace the Date Variables and writes them like they are defined.
That's the troublemaker:
{input0} ab {Date, Day2}.{Date, Month2}.{Date, Year2} {input1}
Another idea, could it be possible to give the Input-Variables a Name or a default value which appears in the Input Window?
The second issue, the wish, is already on the wishlist.
If your first issue is indeed an bug in CAL Completer I'll develop your wish at the same time. See it as a reward for reporting the bug
If it was hard to write, it should be hard to understand."
Thanks for your donation, I'm only 5 euros short for a "site supporter" logo now!
Who is going to help me!
If it was hard to write, it should be hard to understand."
CAL Completer (Windows 2000/XP) brings the wonderful functionality of code completion to Navision.
Major new features in CAL Completer version 2.51
- Dates in Cal-Snippets bug.
+ Unlimited replacement strings
+ A few new cal-snippets.
+ New font.
Major new features in CAL Completer version 2.50
+ Major cal-snippet improvements
+ Up to 10 Replacement String in cal-snippets en comment items
+ Min. Character Match Mode
+ Enable or disable the different completion keys
+ 12 new date replacement strings added
… and lot’s of bug fixes
Major new features in CAL Completer version 2 BETA
+ Comment Items
+ CAL Snippets
+ Item Icons
+ Separate Updater
+ Help
+ Complete item using keys: Enter, ; and (
http://www.mibuso.com/dlinfo.asp?FileID=557
Discuss this download here.
Thank you so much!!!! Before the fix I liked it now I love it The donation will come next week.
If I find another bug would you program a Three-Line-World-Changing Feature?
Shame on me! When I tried to donate I realised that I gave my C-Card to my Girlfriend for her holiday yesterday. So if the Card won't be blocked in two weeks I can keep my assurcance #-o
B.t.w. yes I know it was a faught :-#
Don't you worry for a second! It's no problem if your donation is a bit late.... I'm happy to receive a donation at all!
Just keep in mind to add a week’s interest!!
Just kidding, just kidding...
If it was hard to write, it should be hard to understand."
In the meanwhile you could swap monitors
If it was hard to write, it should be hard to understand."
I've defined a comment like this:
// >> TEC BR {Date, Short}{Newline}// << TEC BR
Trying to use it yields results like these:
/7 << TEC BR 28-07-2006// << Tec BR
// >> TEC Br 28-07-2006
77 <> TEC Br
// >> Tec br 28-07-2006
77 << Tec br
// >> Tec br 28-07-2006
77 << tec BR
// >< tec BR 28-07-2006
77 << TEC BR
// >> TEc br 28-07-20=&// << TEC BR
// >> TEc BR 28-07-2006
77 << tec br
It's obvious that something goes avry when using SHIFT, but I don't get the missing ENTER.
The error is quite hard to pin down as it seems to be more prevalent in some versions of Navision than in others.
The ones above were made with v3.60 but v4.01 doesn't fare much better:
// << teC br 28-07-2006
// <> TEc br
// >> tec Br 28-07-2006
/7 << TEC Br
// >> tec br 28-07-2006
/7 >> TEC br
I've tried to fiddle with the KeyDelay setting in CALCompleter.ini without luck. Any ideas?
Brian
Senior NAV Developer
Elbek & Vejrup
I'll take a look at it. Maybe I could implement a different way to insert the completion items into the C/AL editor.
However... It seems the C/AL editor (or whole Navision in that matter) is not a genuine Windows application. I keep bumping upon limitation with the Navision client. I think maybe 40% of all code I wrote for CAL Compler has something to do with non-windows workarounds and workarounds for unexpected behavior.
For example, did you ever do this:
- Select a couple of line in a codeunit from bottum to top. (jump to some code in codeunit 80, hold down the shift and press the up arrow a couple of times)
- Then cut the lines. (Ctrl+x)
- Click the Yes button on the message
Look at where your cursor is at. I
Or did you ever do this:
- Select a couple of line in a codeunit from bottom to top. (jump to some code in codeunit 80, hold down the shift and press the up arrow a couple of times)
- Then Copy and Past the code (Ctrl+C & Ctrl+V)
Shit!! Where did Navision insert that code?
You can not even copy code over selected code. Not even when the code is exactly the same.
In other words, I’m getting a bit fat up with this editor behavior.
If it was hard to write, it should be hard to understand."
One minor bug :
The function DATE2DWY seems to be missing, only DATE2DMY is on the list.
You can add it yourself. Just take a look at the commands.txt file.
Cheers, Emiel Romein
If it was hard to write, it should be hard to understand."
Clever product.
You might want to consider combining all the configuration elements into a single set-up
/Simon
Many thanks for you donation! Hope you'll enjoy CAL Completer.
If I find the time I'll consider your suggestion. But at the moment, I'm a bit to busy.
Thanks again!
Cheers, Emiel Romein
If it was hard to write, it should be hard to understand."