Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Renaming & completion

$
0
0

I love IDEA, but there is one scenario where I am either using it wrong or would like better support. Basically whenever I end up having to deal with partial renames (e.g. Name to NewName) where some internal part of a name changes. As far as I can tell I have the following options for dealing with this:

 

  • Refactor -> Rename works nicely when this is within the project scope, but doesn't of course work when dependencies change
  • Replace/Replace in Path - these work fine, no issues
  • Edit occurence manually
    • I could I suppose force completion again which would kick in partial completion which should allow me to make the change
    • I start typing New in front of Name

 

It's really the last case I want to talk about. I realize that case probably represents a bad habit, but it would nonetheless be nice if auto-complete would take all of the existing symbol into account and treat it like a unit. Right now, I start typing New and then if I use completion I end up with something like NewNameName. Is there some configuration I can turn on to make auto-completion re-use existing bits when starting completion in the middle? Are the other ways of dealing with the problem?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>