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.
Summary: |
API Review: Support for custom camel case for QuerySupport |
Product: |
editor
|
Reporter: |
Tomas Zezula <tzezula> |
Component: |
Parsing & Indexing | Assignee: |
apireviews <apireviews> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
Keywords: |
API, API_REVIEW_FAST |
Priority: |
P3
|
|
|
Version: |
8.1 | |
|
Hardware: |
All | |
|
OS: |
All | |
|
Issue Type:
|
TASK
|
Exception Reporter:
|
|
Attachments: |
Patch file
|
Created attachment 153191 [details] Patch file The Camel Case parser used in QuerySupport needs to be customisable as there is a different need for Camel Case in types and files. The types camel case split point is a UpCase while for files the split point is UpCase, '.', '_','-'... The patch resolves following: 1) Removes duplicates of camel case check and camel case parsing from various modules which were copied from jumpto but are now obsolete. 2) Adds QuerySupport.Query.Factory.setCamelCasePart and QuerySupport.Query.Factory.setCamelCaseSeparator to provide a way how to specify non default (types) camel case.