Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Maxim Mossienko
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Maxim Mossienko
    4 years ago (15 Mar 2007 18:50)
  • Updated by   root
    2 years ago (17 Jan 2010 20:43)
  • Jira: IDEADEV-15332
    (history, comments)
 
IDEA-37580 Introduce var should add type information for created variable
0
Issue is visible to: All Users
  The issue is visible to the selected user group only


Issue was resolved
Comments (3)
 
History
 
Linked Issues (?)
 
Taras Tielkes
  Taras Tielkes
15 Mar 2007 18:56
4 years ago
An additional QuickFix/intention (if not already present) would be to add type based on initializing expression:

Before:
var foo = getFoo();


After:
var foo:Foo = getFoo();
Maxim Mossienko
  Maxim Mossienko
23 Mar 2007 19:12
4 years ago
Intention will be another request
Taras Tielkes
  Taras Tielkes
23 Mar 2007 20:03
4 years ago
Shall I create new request for QuickFix?