CAL Completer v2.51

AdministratorAdministrator Posts: 2,260Member, Moderator, Administrator
edited 2010-08-06 in Download section
CAL Completer 0.01.02 Beta (Windows 2000/XP)

CAL Completer brings the wonderful functionality of code completion to Navision.

This is only a beta version. Please send me ALL your feedback. If you find a bug or if you have a suggestion, please mail this to emiel.romein@gmail.com.

If you are happy with the tool and if you are actually using the tool, please become a mibuso Site Supporter ( http://www.mibuso.com/donation.asp ).

For every 5 people that become a site supporter because of this tool, I’ll guarantee a new release / update with NEW functionality*!

Don’t forget to tell the administrator you became a site supporter because of CAL Completer!

* As long as new functionality can be added.

Known Issues:
Not all keys can be used while the CAL Completion window exists.

http://www.mibuso.com/dlinfo.asp?FileID=557

Discuss this download here.
«13

Comments

  • eromeineromein Posts: 589Member
    It seems CAL Completer is consuming quite a bit of CPU power when Navision is the active program but the C/AL Editor isn’t the form in which is worked.

    This will be a high priority bug to fix.
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • b2b_Vijayb2b_Vijay Posts: 76Member
    Good Work Emiel Romein,

    If we can include some color and auto format facility, it would be really good.
    Hopefully it will be more similar to Visual Basic or visual studio. :D (Just Kidding)

    Good Work..........Emiel Romein

    Regards,
    Regards,
    Vijay
  • eromeineromein Posts: 589Member
    Vijay,

    Thanks!

    I don't think I can do colors and auto formatting, as you probably knew, but if you have other suggestions, please post them.

    I was thinking about:

    Make the backspace work when CAL Completion window is open.
    Command (cside) help from the CAL Completion window.
    Ctrl+Enter to get an ; or an () with the command. (Need to think of a name for this one)
    Ctrl+Shift+Enter to get the complete syntax (incl. parameters) of a command.
    Possibility to include your own tags.
    Auto size window to fit the commands
    No completion between quotes (Difficult one!)
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • fruzfruz Posts: 9Member
    edited 2006-02-15
    :shock: goood one ...

    - how about make the selection list a little bigger (5 - 8 items or even better - configurable)?
    - if i make a 'typo' and return back with backspace, it don't recognize the previous part of word to complete, instead it offers new completitions.

    #-o Is it possible to share the knowledge how to write into CAL window?
  • eromeineromein Posts: 589Member
    That would be the "Auto size window to fit the commands " on my list.

    So, that's on the to-do list already. If you have any more suggestion please post (or mail)!

    The Backspace thingy is on the list too. So, all your wishes will be granted.



    The commands are all in the .txt file. Check the CAL Completer folder in the Program Files folder. You can see you can add anyting you like.

    I want to ba able to let people add their own fingerprints. This is already possible, but you can not add spaces between the // and the rest, plus you can not yet automatically add dates to the prints.

    But maybe, this will be in the next version. But first we need 5 people to become a site supporter!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • BlackTigerBlackTiger Posts: 1,002Member
    Cool!

    Next feature:
    - show completer's window on "Ctrl+Space" (or just allow to customize hot-keys)
    - "code snippets" :)

    Guys! How about to make a team and develop our own IDE for Navision? We can work with objects in text format. We will wait for good Navision IDE from Microsoft till doomsday!
    "You can’t just ask customers what they want and then try to give that to them.
    By the time you get it built, they’ll want something new.” Steve Jobs
  • eromeineromein Posts: 589Member
    BlackTiger,

    I've added your suggestions to the wishlist.

    Now.... become a mibuso site supporter so I can start developing a new version with new functionality!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • jesamjesam Posts: 100Member
    Guys! How about to make a team and develop our own IDE for Navision?
    I've seen this suggestion many times in this forum but somehow this never takes off.
    I gues the reasons are that :
    a) It is much more work than anyone anticipates.
    b) An editor is worth nothing without a compiler
    c) It is too tedious to have to export the objects as textfiles, work on them in the external editor, and then import them back again, test the software, see that you still have an error, and restart the complete cycle again. I for one would feel that what you are winning witha better editor, you would lose with all the extra importing and exporting.
    We will wait for good Navision IDE from Microsoft till doomsday!
    I have the same feeling, but I don't see who else but MS can make an adequate Navision Editor that is a part of Navision and thus works seemlesly.
  • BlackTigerBlackTiger Posts: 1,002Member
    jesam wrote:
    Guys! How about to make a team and develop our own IDE for Navision?
    I've seen this suggestion many times in this forum but somehow this never takes off.
    I gues the reasons are that :
    a) It is much more work than anyone anticipates.
    b) An editor is worth nothing without a compiler
    c) It is too tedious to have to export the objects as textfiles, work on them in the external editor, and then import them back again, test the software, see that you still have an error, and restart the complete cycle again. I for one would feel that what you are winning witha better editor, you would lose with all the extra importing and exporting.
    We will wait for good Navision IDE from Microsoft till doomsday!
    I have the same feeling, but I don't see who else but MS can make an adequate Navision Editor that is a part of Navision and thus works seemlesly.

    I'm not meaning something like VS2005 :). Simpler, more simpler...

    We need "dictionary autocomplete" ("static dict." for common things and "dynamic dict." for current used objects). For forms we can make "layout interpreter". We don't need a full compiler.
    Also we can use DevToolKit database as "source of sources" :)

    Yes, to run and test objects we have to manually import objects into Navision (unfortunately CFRONT doesn't supports import from text format).

    I agree, this isn't an easy job. But hardest part of this job - to begin doing something.

    PS: May be somebody in MS' deeps working on integration of CAL into VisualStudio, may be... Not sure, very not sure.
    "You can’t just ask customers what they want and then try to give that to them.
    By the time you get it built, they’ll want something new.” Steve Jobs
  • eromeineromein Posts: 589Member
    a bit off topic don't you guys think?

    Maybe you'll have better luck in this post...
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • MaciMaci Posts: 65Member
    I think I don´t see that suggestion, but ... what about see fields from the table when you write Table.xxx? Fields from a table are accesible dinamically from Field virtual table.

    Anyway, very good tool!! I like it very much, thanks
  • eromeineromein Posts: 589Member
    It's on the list. But, this will be one of the last things to implement.

    Soon there will be a version 1 comming out, which will be a stable version of the tool as it is along with a few little new features.

    Thanks for your compliment. Af any new suggestion, please let me know!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • janpieterjanpieter Posts: 292Member
    Hey Eronmein,

    Nice tool !

    Too me it does not make sense to use the 'enter' key for activating the autocompletion. Could you make it like when you use the '(' or ';' key to activate the autocompletion? (and then also add the key that was used to activate autocompletion at the end of the instruction).

    at the end Then it would be somehow simular then in an .NET environment.

    This would also make your idea about different key combinations not necesarry anymore.

    Also i get the '"' extra signs at still unpredictable moments.
    In a world without Borders or Fences, who needs Windows and Gates?
  • eromeineromein Posts: 589Member
    Jan-Pieter,

    I've added your wish (; & () to the list.

    What do you mean by: “Also i get the '"' extra signs at still unpredictable moments.”

    btw, nice quote you have there ;)

    Cheers,
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • janpieterjanpieter Posts: 292Member
    eromein wrote:
    What do you mean by: “Also i get the '"' extra signs at still unpredictable moments.”

    I experience when using the tool and i type those key's <"> and <'> they do not appear. But when i type those keys twice, they now suddenly appear twice and i will have to remove one of these with the backspace.

    This only happens when the tool is activated.
    In a world without Borders or Fences, who needs Windows and Gates?
  • eromeineromein Posts: 589Member
    Weird, I'll look into it.

    I know this as a standard windows feature. This is so you can easaly type charaters as ë and ü. First you type the " and then the e, the result is ë. But it you want to type the ", you need to hit the space after typing it.

    I'll look into it... You check if you are not changing keyboard lay-outs. There is a special key-combo (LEFT ALT & SHIFT) that changes this. I'm hitting this combo quite often in Navision, maybe that is the problem?
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • janpieterjanpieter Posts: 292Member
    hmm you are right this feature is enabled
    (i'm so used to this system i didn't even know ) :-k

    But something works different though ...

    I'm trying it right now but this morning i started the tool and it did nothing at all. So i can't have a look at it what exactly goes different then without the tool.

    It does not make any difference which program i start first (c/al completer or navision).

    edit : ah your program seems incompatible with my version management tool. You probably doing things with window hooks .. ??
    In a world without Borders or Fences, who needs Windows and Gates?
  • eromeineromein Posts: 589Member
    If CAL Completer stops working, hitting the Escape key would fix 80% of the problems. Try that!

    I'll upload version 1.00, which is a stable version of the tool as it is now plus some new features, this week. Maybe your problems will be fix in this version.

    I'll put you on the list as a 2.00 Beta tester, if you don't mind?
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • AdministratorAdministrator Posts: 2,260Member, Moderator, Administrator
    CAL Completer v1.00

    CAL Completer (Windows 2000/XP) brings the wonderful functionality of code completion to Navision.

    If you are happy with the tool and if you are actually using the tool, please become a mibuso Site Supporter (http://www.mibuso.com/donation.asp).

    If 5 people become a site supporter because of this tool, I’ll guarantee a new release with NEW functionality!

    Scheduled for version 2.00: Comment Completion & Snippets

    Don’t forget to tell the administrator you became a site supporter because of CAL Completer!

    Biggest Changes in Version 1.00
    - “Wild CPU Bug” fixed
    + CAL Completer Update Service
    + Adaptive Completion Window Width & Height
    + Backspace during completion.

    http://www.mibuso.com/dlinfo.asp?FileID=557

    Discuss this download here.
  • abartonicekabartonicek Posts: 162Member
    The whole syntax is written in Commands.txt.
    Can that be added to code or it is just there because some future functionality?

    example:
    for DT2DATE Date := DT2DATE(Datetime) you can add only DT2DATE or I'm I missing something?

    P.S.
    Brilliant tool =D> , thx
    Better to be critical then self-critical :)
  • eromeineromein Posts: 589Member
    abartonicek,

    Thanks for the "brilliant" compliment.

    CAL Completer BETA 2 is being tested as we ... ...post. I'm not sure how long these tests will last... But, a version 2.00 is on its way.

    Only the first part of the string (everything to the space) is used in the completion window. The actual syntax is not used... yet.

    I was planning to use this as a tooltip in the completion window, but due to some technical difficulties this hasn’t been realized yet.

    I’m planning to include this in the next version. Let’s see if I’ve got the time and stimulants to keep developing. Donatingby the way, will increase the change of new version developments.

    Cheers,

    Emiel Romein
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • abartonicekabartonicek Posts: 162Member
    I'm considering donating but Paypal is not available in my country so I have to find another way :D
    Don't worry, I just need some time 8)
    Can't wait for v2.0
    Better to be critical then self-critical :)
  • AdministratorAdministrator Posts: 2,260Member, Moderator, Administrator
    CAL Completer v2.00 Beta
    CAL Completer (Windows 2000/XP) brings the wonderful functionality of code completion to Navision.

    Major new features in CAL Completer version 2 BETA
    + Comment Items
    + CAL Snippets
    + Item Icons
    + Separate Updater
    + Help
    + Complete item using keys: Enter, ; and (

    Known issues in CAL Completer version 2 Beta
    - CAL Snippets isn’t working like it should in some cases depending on hardware.

    It’s highly recommended to uninstall any old versions before installing this BETA 2 version

    http://www.mibuso.com/dlinfo.asp?FileID=557

    Discuss this download here.
  • fruzfruz Posts: 9Member
    First: nice changes :wink:

    I've created my own comment file as written in .doc file. How can I make this comment visible in CAL Completer? It's placed exactly in folder where the sample is placed. :-s

    Keep the good work ... and I will give the link to CAL Completer soon in my startup folder. :D
  • abartonicekabartonicek Posts: 162Member
    Try Ctrl + Space
    I have custom comment file:

    // NOTE-ABart-{Date, Short}. START

    and when I press Ctrl + Space I get the list :D

    I think I found a bug :?:

    In multiline comments: in second line (after {NewLine}) things like {Date, Short} does not work
    Better to be critical then self-critical :)
  • abartonicekabartonicek Posts: 162Member
    Apparently I was little too quick in my response :D
    The comments work without pressing Ctrl + Space.
    After typing // I only need to press space because comment after // has space :D

    Sorry, I just installed Completer 2.00 beta 15 minutes ago :oops:
    Maybe I'm wrong about the bug also :?:
    Better to be critical then self-critical :)
  • fruzfruz Posts: 9Member
    abartonicek,
    thanks, it was really the space :)

    The / characters in comment are replaced by & character?
    // CAL Completer by Emiel Romein
    is inserted like:
    && CAL Completer by Emiel Romein
  • abartonicekabartonicek Posts: 162Member
    Not in my case?

    Comment line in file is:
    // NOTE-ABart-{Date, Short}. START{NewLine}// NOTE-ABart-{Date, Short}. END

    Result:
    // NOTE-ABart-27.3.2006. START
    // NOTE-ABart-{Date, Short}. END
    
    Better to be critical then self-critical :)
  • fruzfruz Posts: 9Member
    I quess it has something to do with current culture 'de-AT', which Im using. The & character is replaced with ^ character ...

    EDIT: I just switched to 'en-UK' for non-unicode application's and there is everything fine with the comments.
  • eromeineromein Posts: 589Member
    Thanks for testing this well guys... But there is a bug in it.

    the Space actaully completes the item as well. This is not suppose to happen. I uploaded the wrong exe file.

    I've asked Luc to upload a new version. CAL Completer 2.00 BETA II.

    Hope it's on mibuso soon. Because this version is worse then working without it at all. ;)
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
«13
Sign In or Register to comment.