Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355286 - Split variable and move to immediate outer block
Summary: Split variable and move to immediate outer block
Status: CLOSED DUPLICATE of bug 218622
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 23:45 EDT by samarjit samanta CLA
Modified: 2011-10-18 21:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description samarjit samanta CLA 2011-08-19 23:45:43 EDT
Build Identifier: 20110615-0604

There is a split variable option that comes by Ctrl+1, and then we almost always need to move it up just outside the current block and initialize to null. Can this full thing be implemented as a new option? It will save my two seconds for every split variables I write.

Reproducible: Always

Steps to Reproduce:
1. Split variable and move to outer block.
2. The split variable declaration should be similar as Ctrl+1 and select split variable.
3. The variable should be initialized to null and moved out of the immediate block. If the immediate block is a method body then it should fall back to existing feature of split variable declaration.
Comment 1 Deepak Azad CLA 2011-10-18 21:51:23 EDT

*** This bug has been marked as a duplicate of bug 218622 ***