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 242752 - Options|Java Naming prefixes and suffixes generation is not as per setting
Summary: Options|Java Naming prefixes and suffixes generation is not as per setting
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 16:36 UTC by manikantannaren
Modified: 2014-04-05 03:28 UTC (History)
0 users

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 manikantannaren 2014-03-10 16:36:34 UTC
Test Suite: http://services.netbeans.org/synergy/client/app/#/suite/1702
Test Case: http://services.netbeans.org/synergy/client/app/#/case/2231/suite/1702/v/1

Steps:
Go to Options|Editor|Formatting|
Language: Java
Category: Naming
In the Naming conventions set the following for Field
Prefix: f
Suffix: F

Open a Java file in editor
Type the following int var and use code completion

Expected Result: Code completion generate fVarF
Actual Result: Code completion generates fVarIF

The actual result generate fVarDF for double, fVarFF for float, fVarBF for boolean and fVarStringF for String fields.

This might be an intended feature, if so the test spec needs to be updated.
Comment 1 Dusan Balek 2014-03-28 20:06:28 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/cac713b5e783
Comment 2 Quality Engineering 2014-04-05 03:28:46 UTC
Integrated into 'main-silver', will be available in build *201404050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cac713b5e783
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #242752: Options|Java Naming prefixes and suffixes generation is not as per setting - fixed.