Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

New virtual file system implementation

  • Faster startup on second and subsequent runs of IDEA
  • Reduced memory usage
  • New code, handle with care: may contain bugs or major performance problems

Possibility to disable bundled plugins

New refactoring: Inline to anonymous class

Code Block
titleOriginal Code
public class InlineToAnonymousDemo {
    public void doTest() {
        JPanel panel = new JPanel();
        panel.addMouseListener(new MyListener("Stop tickling me!"));
    }

    private class MyListener extends MouseAdapter {
        private String myMessage;

        public MyListener(String pMyMessage) {
            myMessage = pMyMessage;
        }

        public void mouseClicked(MouseEvent e) {
            System.out.println(myMessage);
        }
    }
}
Code Block
titleAfter pressing Ctrl-Alt-N on MyListener
public class InlineToAnonymousDemo {
    public void doTest() {
        JPanel panel = new JPanel();
        panel.addMouseListener(new MouseAdapter() {
            private String myMessage = "Stop tickling me!";

            public void mouseClicked(MouseEvent e) {
                System.out.println(myMessage);
            }
        });
    }
}

New refactoring: Move class to inner

New quickfix: Create inner class from 'new'

Image/color preview in HTML/CSS files