This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 88936

Summary: Code completion for BPEL source editor
Product: soa Reporter: Michael Frisino <frisino>
Component: BPELAssignee: Denis Anisimov <ads>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89926, 93660    

Description Michael Frisino 2006-11-08 14:23:05 UTC
Use case: User is typing BPEL in BPEL source. User wants auto complete feature
similar to what is available in most other source editors - see XSD editor for
example

Ctrl-Space brings up code completion.

Issues and quesitons - this requires grammar for BPEL. Denis, you may want to
implement grammar only once, for the final BPEL schema, not for our current
schema. Unless you consider the differences minor.
Comment 1 Denis Anisimov 2006-11-17 12:17:09 UTC
It is almost done.

It is done in generic way. I create some algorithm that parses BPEL xsd and 
creates code completion feature via schema. This is not generic algorithm,
it is adopted to BPEL schema but I think any changed BPEL schema ( before final
release ) will not change dramatically structure of xsd , so this
algorithm will work with any draft for BPEL schema. Any big change will cause 
assertion error in algorithm so we will able to catch this shortly.

It still can be improved for checking order of existing children in parent ( 
for appropriate hint element name ) and also it can check multiplicity of 
element. It can be done , so I don't close this feature.
Comment 2 Denis Anisimov 2007-01-23 11:43:39 UTC
CC is redone.
I created an entry point for using generic schema based CC from XML tools team.
Now all issues about CC as a whole and CC in bpel should be addressed to XML
Component.