Bug 31251 - something knows how to make names plural but it's harcoded i think
Summary: something knows how to make names plural but it's harcoded i think
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-07 06:58 EST by Adam Kiezun CLA
Modified: 2003-06-02 06:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2003-02-07 06:58:19 EST
20030406
type
String[] <CODE ASSIST>
you get a suggestion for a name (if you have prefix set to 'f' and suffix 
to '_')

fStrings_

note the 's' at the end
So something knows that plurals end with 's' - but it seems harcoded, and only 
works for english (in most cases). maybe sometimes for some other languages but 
not all the time and not all
Comment 1 Adam Kiezun CLA 2003-02-07 12:22:42 EST
defer
Comment 2 Dirk Baeumer CLA 2003-04-02 09:04:55 EST
Reopening...
Comment 3 Dirk Baeumer CLA 2003-04-02 09:05:12 EST
Names are proposed by JDT/Core.
Comment 4 Philipe Mulet CLA 2003-04-03 03:41:39 EST
What is the problem, and your suggestion ?
Comment 5 Adam Kiezun CLA 2003-04-03 05:33:25 EST
the problem is that the 's' suffix is limited to only a small subset of all 
languages - for others it makes no sense

i don't know how to solve this nicely
this is a minor problem - feel free to close if you think this will not get 
fixed
Comment 6 Philipe Mulet CLA 2003-04-03 05:57:46 EST
We have indeed no plan to solve the grand picture problem, this is only a 
completion proposal, which can be ignored if user dislikes it.

Moreover, when mixing other languages, the end result must be quite confusing, 
since class libraries (at least) are english-based...

Comment 7 Philipe Mulet CLA 2003-04-04 04:57:20 EST
Closing