Ignore:
Timestamp:
03/16/06 14:51:58 (19 years ago)
Author:
boris
Message:
  • refactored code completion proposals computation code a bit
  • encapsulated status of name scopes are now taken into account
  • member variables are also proposed now
  • extended tests on code completion proposals
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.test/src/org/modelica/mdt/test/util/Area51Projects.java

    r417 r433  
    418418            //TODO fix that bug and put back the import
    419419            //"  import root_package.root_package_model;\n" +
    420             "" +
     420            "\n" +
     421            "  constant Real x;\n" +
    421422            "\n" +
    422423            "  class bar\n" +
     
    425426            "    import Modelica.Blocks;\n" +
    426427            "    import cp = childless_package;\n" +
     428            "    Real y;\n" +
    427429            "  equation\n" +
    428430            "\n" +
    429431            "  // its easier to write this comment then to fix the bug\n" +
    430432            "  end bar;\n" +
    431             "\n" +
    432             "end import_rich_model;";
     433            "  // an encapsulated class for testing lookup scope encapsulation\n"+
     434            "  encapsulated class foo\n" +
     435            "    Real foo_local_var;\n" +
     436            "\n" +
     437            "  end foo;\n" +
     438            "\n" +
     439            "end import_rich_model;\n" +
     440            " // an area outside of any class definitions";
    433441
    434442        file.create(Utility.getByteStream(contents), true, null);
Note: See TracChangeset for help on using the changeset viewer.