Re: [racket-dev] Refactoring Idea

2014-04-28 Thread Robby Findler
But giving drracket a list of packages is probably a very useful special case and the "rename in the package I'm in" is even yet more useful special case, especially when the file is a private module. Robby On Mon, Apr 28, 2014 at 10:20 AM, Matthias Felleisen wrote: > > This is one of those plac

Re: [racket-dev] Refactoring Idea

2014-04-28 Thread Matthias Felleisen
This is one of those places where our desire to not include extra-linguistic mechanisms conflicts with our desire to support our programmers. I have had this idea many times, as I am sure have many others and Jens probably had it tons of times over the years. Even a package isn't enough becaus

Re: [racket-dev] Refactoring Idea

2014-04-28 Thread Robby Findler
I guess this would work best if DrRacket were given a package (and it could infer the current package from the location of the file being edited). So if someone wants to implement a function that, given a package spec and a renaming and then does the work, I'd be happy to try to integrate it into

[racket-dev] Refactoring Idea

2014-04-28 Thread Jens Axel Søgaard
From time to time the topic of refactoring pop up on the mailing list. Here is one feature I'd like: After renaming an exported identifier in a module foo, any references to the identifier in external modules need to be renamed too. DrRacket could after renaming in foo is done, ask for