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 - Code completion for BPEL source editor
Summary: Code completion for BPEL source editor
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks: 89926 93660
  Show dependency tree
 
Reported: 2006-11-08 14:23 UTC by Michael Frisino
Modified: 2007-01-31 11:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.