Menu

code completion

2007-06-09
2012-12-07
  • kalmen chia

    kalmen chia - 2007-06-09

    Hi ,

    Would like to find out how to customize or add more codes into the
    code completion drop down list.
    Thanks.

    Kalmen

     
    • Pierre Fauconnier

      Hi Kalmen,

      There is a feature provided by Raphael Metzler (ram3)
      http://sourceforge.net/forum/forum.php?thread_id=1217498&forum_id=182375
      Whose Urs said : « reallly, really great ! »

      Hope this helps,
      Pierre.

       
    • kalmen chia

      kalmen chia - 2007-06-10

      Piere ,

      Thanks for the informations and your effort in this project, I am s delphi programmer too,
      do let me know if in anywhere I can help.

      kalmen.

       
      • Pierre Fauconnier

        Well, I didn't understand anything... :-[

        > how to customize or add more codes into the
        > code completion drop down list

        1- Code completion is based upon several static function*.dat files.
           Actually, only one of them is used : functions_full.dat
        2- SynWeb is also using its own static in-line dictionary.
           But there's no functions' parameters here.
        3- Furthermore, devphp is using yet another dictionary :
           multiCHM.xml is used for contextual help (no functions' parameters)
        (An undocumented feature which is working with an on the fly
        completion proposal see uHelp.uHelpSearchTopic)

        IMO, codes (user's functions, classes and variables) might be added on
        a project basis. I mean : built on the fly from all the files inside a
        root directory and all its sub directories. Such a dictionary could
        then be saved by a project and re-used by another one - via include or
        require.
        Unfortunately, this implies yet another scanner/parser of code.

         

Log in to post a comment.

MongoDB Logo MongoDB