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 154005 - General Camel Case Behavior is Java centric only
Summary: General Camel Case Behavior is Java centric only
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Jan Jancura
URL:
Keywords: UI
Depends on:
Blocks: 170222
  Show dependency tree
 
Reported: 2008-11-27 11:17 UTC by Vladimir Voskresensky
Modified: 2010-05-03 18:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2008-11-27 11:17:20 UTC
Tools->Options->Editor->Genral has 
Camel Case Behavior 
but it is for Java only
we need the same for C++
Btw, looks like GSF support it as well
Comment 1 Miloslav Metelka 2008-12-01 19:00:20 UTC
It's sort of a UI question too - how to name a tab where this "Camel Case" checkbox would be present?
Just adding a language combo to general tab does not seem to be a good solution to me since the "General" tab should
IMHO not be language specific.
Anyway this should be resolved in 7.0.
Comment 2 Ondrej Langr 2008-12-02 13:47:51 UTC
I agree there should be no lanugage-combo in the general tab.

To me, camel case is a matter of particular users' habits, not language. Is there an actual use-case when someone would
want to use camel case in Java and would not want to use that in C++? (in other words, is there a real-life need to have
camel case off for java while having it on for C++ .. or the other way around?). I don't see any, so I'm suggesting to
have the same checkbox acting for both languages.
Comment 3 Vladimir Voskresensky 2008-12-02 15:03:34 UTC
Absolutely agree. 
Let's remove "Java" from text and provide language-neutral settings property in general editor settings
Comment 4 Vladimir Voskresensky 2008-12-04 16:56:18 UTC
Jan, can we set more specific milestone than 7.0? (M2 is preferable)
Thanks,
Vladimir.
Comment 5 voidmain 2008-12-09 16:06:06 UTC
I think this issue needs to be expanded a bit. The camel case support should be IDE wide. IntelliJ IDEA allows you to
use camel case support in all the dialogs including refactoring, search, settings, etc. NetBeans should adopt the same
policy as it provides the a unified experience.
Comment 6 Ondrej Langr 2008-12-10 09:40:22 UTC
Agreed. jjancura, do you have any idea of what the scope for such changes would be? 
Comment 7 Quality Engineering 2010-05-01 05:20:13 UTC
Integrated into 'main-golden', will be available in build *201005010200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log:
Comment 8 Jan Jancura 2010-05-03 09:09:46 UTC
fixed in http://hg.netbeans.org/jet-main/rev/a1c67039158f
Comment 9 Vladimir Voskresensky 2010-05-03 18:31:31 UTC
Jan, provided link is about different issue.
Is this issue fixed?
Comment 10 Vladimir Voskresensky 2010-05-03 18:32:39 UTC
probably link was:
http://hg.netbeans.org/main-silver?cmd=changeset;node=ff456e5532d4
will check
thanks!