Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4529

Introduce variable transformation stopped working for class fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • None
    • None

    Description

      In previous versions when you wrote at a class level something like:

      // code placeholder
      SomeClass.staticMethodThatReturnsAnObject();

      And then selected the SomeClass.staticMethodThatReturnsAnObject(), pressed a shortcut for introducing a variable - a class field was created.  In 12.0 version that stopped working - you have to declare the field yourself.
      That feature was great, now it doesn't work anymore.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bronek Br Tr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: