link icon indicating copy to clipboard operation
link copied to clipboard

Add a -browse switch for Create and Import

Open bpbecker opened this issue 2 years ago • 4 comments

]create ns -browse ]import ns -browse

could open a browse box (better yet, one implemented using HTMLRenderer if possible).

This could make it less cumbersome to enter long path names and also reduce the likelihood of inadvertently creating a mistyped path.

bpbecker avatar Sep 02 '23 23:09 bpbecker

Or maybe that could even happen automatically if no path was provided?

mbaas2 avatar Sep 03 '23 05:09 mbaas2

I was thinking that as well, but if you only give one argument, then that's taken as the path, with the namespace defaulting to the current namespace, so we'd either need heuristics as to whether a lone argument is a namespace or filepath, or we could say that if NO arguments are given, we do the current namespace + browsing. We could of course also do any combination of these three options.

abrudz avatar Sep 03 '23 06:09 abrudz

I guess supporting RIDE would not be trivial.

lstefano71 avatar Sep 03 '23 13:09 lstefano71

Well, really, it should be the other way around. RIDE should have a menu item to open a dir, then send the appropriate command to Link

abrudz avatar Sep 03 '23 13:09 abrudz