Open LLazarek opened 3 years ago
Renaming a required identifier changes the module path in that file's require.
require
Example: two files, a.rkt and b.rkt
a.rkt
b.rkt
;; a.rkt #lang racket (provide a) (define a 5) ;; b.rkt #lang racket (require "a.rkt") (+ a 2)
Opening b.rkt, right clicking on a on line 3, and renaming it to foo changes the line 2 of b.rkt to (require foo).
a
foo
(require foo)
What I expected: it would leave the require path alone.
Racket version: 8.1.0.7 [cs]
Relevant discussion: #417
This no longer offers a renaming option. Probably it is okay to close this, given #417.
Renaming a
require
d identifier changes the module path in that file'srequire
.Example: two files,
a.rkt
andb.rkt
Opening
b.rkt
, right clicking ona
on line 3, and renaming it tofoo
changes the line 2 ofb.rkt
to(require foo)
.What I expected: it would leave the require path alone.
Racket version: 8.1.0.7 [cs]