CNDLanguageModelTeamMeetings20071030

Date: Tuesday, October 30
Time: 14:30
Location: SPB04, room #4005

Agenda

  • Services for large projects (such as Open Solaris)
  • Preliminary 6.x planning: code model infrastructure issues

Minutes

CND 6.0 Web materials (edited from prev. meeting)

  • Existing content update and cleanup (All)
  • Code Model API overview (VK)
  • Writing Mark Occurences Plugin using code model and XRef APIs (SG)
  • Writing a simple code analyzer plugin (a la "Find Bugs") using code model API (VK)
  • A brief C/C++ pack features demo (VV)
  • An article on using make-based projects, code assistance and discovery (AS)
  • Writing a New Class Wizard plugin (VK)

Services for large projects (such as Open Solaris)

For 6.0

  • Go to Definition service: returns CsmReference. Clients (Class View, Hyperlink, Go to Function or Variable) use it (AS)

Not to do now:

  • FileOwnerQuery - not for this release. 6.1
  • File w/o a project

Code model infrastructure issues

  • Clean up non-UID branches (6.1, early stage)
  • File w/o a project (6.1)
  • UID utilities - eliminate unnecessary instantiation (6.1)
  • Repository: optimize RAM (indexes, probably more.) (Investigate: 6.1; solve: TBD)
  • Utilities module: string sharing
  • Project system: RAM optimization.

There are no project system unit tests, so it's difficult to refactor.

  • Dynamic tests (functional) (6.?)
  • "Premium support for active file"
  • Incremental reparse (future)
  • Expression-level model is absent / completion-level parsing (future)
  • Symtab that is filled at the moment of rendering, is cached => the access is fast (6.1)

Xref

  • "Visitor" - ability to walk through all references and fast resolve them.

We need this for semantic highlighting.

  • Macros:
#define init_x x=0;
class C {
    int x;
    C() {
        init_x; // no x usage will be found
    }
};
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo