PR# 16239 Assign to local variable quick assist
Problem Report Summary
Submitter: bbaumgart
Category: EiffelStudio
Priority: Medium
Date: 2009/09/08
Class: Feature Request
Severity: Non-critical
Number: 16239
Release: 6.3
Confidential: No
Status: Open
Responsible:
Environment: EiffelStudio 6 (6.3.7.6070 GPL Edition - linux-x86)
Synopsis: Assign to local variable quick assist
Description
Given: test local list: ARRAYED_LIST[STRING] do create list.make (1) list.i_th (1) end 1. Assign the i_th(1) element to a local variable Is: 1. Add a new variable 'foo' of type STRING to 'local' 2. write foo:= list.i_th(1) Should: A quick assist which generates the local variable and the assignment for me Attached screen shots from eclipse showing a possible way to do this. This is a very important feature saving the user countless keystrokes, especially if you have a function which returns a complicate generic type and you want to assign the result to a local variable.
To Reproduce