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 29571

Summary: Generate defaults for Insert I18N string action
Product: java Reporter: _ pkuzel <pkuzel>
Component: I18NAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 32121    

Description _ pkuzel 2002-12-16 14:55:17 UTC
Currently inserting an internationalized string
using the CS_J shortcut is not as productive as it
could be. It requires a user to fill too much
information most of it having "obvious" default value.

Bundle name: use bundle in same package.

Message Format: analyze text under cursor and if
it contains pattern "text" + var + "text" + var
convert
it of default message format.

Comment: empty or class name and method name

Key: autogenerated  sequence

Value: take string under cursor if exists
otherwise empty.

Using all above defaults significanly speeds up
this action for typical case.
Comment 1 Ondrej Rypacek 2005-04-29 09:55:52 UTC
Agreed, its a very reasonable requirement. 
Comment 2 Ondrej Rypacek 2005-04-29 09:57:40 UTC
Agreed, its a very reasonable requirement. 
Comment 3 markiewb 2013-05-01 19:53:24 UTC
Obsolete target milestone. Change from 6.x to TBD