Summary: | [quick assist] concatenate/merge string literals | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> | ||||
Component: | UI | Assignee: | Billy Huang <billyhuang31> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | CC: | daniel_megert, deepakazad, markus.kell.r, nikolaymetchev | ||||
Version: | 3.1 | Keywords: | bugday | ||||
Target Milestone: | 4.3 M4 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 394287 | ||||||
Attachments: |
|
Description
Dirk Baeumer
2004-11-03 09:49:09 EST
This is the reverse of "Pick out selected part of String". Created attachment 223548 [details]
Patch to add "Combine selected strings" quick assist
Proposed patch for bug, courtesy of Vancouver Eclipse Hackathon :)
http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=16f2aba89407ff4511e9e9ec6d5e0a9453a01a0f Thanks for the fix, Billy! Thanks everybody. I've changed the label to "Combine to single String", made it work if the caret is on or inside a StringLiteral (like the "Use 'StringBuilder' for string concatenation"), and adjusted the copyright to the pattern we use for all new contributions: Your Name <email@example.com> - Bug Title - https://bugs.eclipse.org/BUG_NUMBER http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=1949da52f6ae5c880195499dfa95263a5b267bbf Filed bug 394287 to make it also work when interspersed with other literals. Verified in I20121210-2000. |