The Artima Developer Community
Sponsored Link

Java Buzz Forum
I haven't typed an import statement in over a year

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic    
Flat View: This topic has 0 replies on 1 page
Matt Quail

Posts: 128
Nickname: spud
Registered: Jun, 2003

Matt Quail is lead programmer for a Java development company
I haven't typed an import statement in over a year Posted: Jun 15, 2003 7:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Matt Quail.
Original Post: I haven't typed an import statement in over a year
Feed Title: Matt Quail's Java blog
Feed URL: http://fisheye.cenqua.com/category/java/feed/
Feed Description: The latest java related logs from Matt Quail's blog at madbean.com
Latest Java Buzz Posts
Latest Java Buzz Posts by Matt Quail
Latest Posts From Matt Quail's Java blog

Advertisement

I'm reading The Pragmatic Programmer at the moment. Chapter 3 has a section about using power-editors; it has an example showing how easy it is to sort lines of the import section of a Java file in Emacs or vi.

Reading that felt strange. I remember doing the same thing in Emacs before, but I use IntelliJ IDEA for Java files now. But that wasn't the strange thing.

I realized that I haven't manually typed an import statement for over a year.

I don't think I've even seen an import statement for a while. I keep the import statements "folded". IDEA tells me if there is a redundant import statement by "greying" the folded import section, and Alt-Ctl-O fixes that. And it keeps them sorted in the right order, too.

Read: I haven't typed an import statement in over a year

Topic: ctl+shift+v in IDEA Previous Topic    

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use