Julia: Make @edit work with packages

Created on 15 Jun 2019  路  2Comments  路  Source: JuliaLang/julia

It would be great if @edit MyPackage would open an editor and pass the folder name where MyPackage is located (according to the current env) as an argument.

Most helpful comment

Should probably throw an error if the package isn't dev'ed, since modifying packages in situ isn't otherwise supported.

All 2 comments

Should probably throw an error if the package isn't dev'ed, since modifying packages in situ isn't otherwise supported.

Since @edit even works to open functions in Base, which should not be modified either, I think an error would not be consistent.

I set my JULIA_EDITOR to read only vim, vim -R. This way @edit is safe for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ararslan picture ararslan  路  3Comments

i-apellaniz picture i-apellaniz  路  3Comments

sbromberger picture sbromberger  路  3Comments

tkoolen picture tkoolen  路  3Comments

wilburtownsend picture wilburtownsend  路  3Comments