Ticket #1114 (reopened enhancement)

Opened 3 years ago

Last modified 3 years ago

Open Selection: create non-existing files

Reported by: zenogantner Owned by:
Priority: major Milestone:
Component: Open Selection Version: trunk
Keywords: usability Cc:

Description

"Open Selection" should create a file if it does not exist yet.

E.g. when I select new_file.html and then try "Open Selection", a new file by that name should be created and opened in the current directory.

Change History

comment:1 Changed 3 years ago by zenogantner

  • Status changed from new to closed
  • Resolution set to fixed

fixed in r13940

comment:2 Changed 3 years ago by adamk

  • Status changed from closed to reopened
  • Resolution fixed deleted

I think this is actually a bad idea.

Attempting to open an existing resource should never be conflated with the creation of a new resource.

Similar functionality could be done using an Intuitive New rather than Open Selection.

i.e. Ctrl-Shift-N could be smart about the currently selected value and create a new document on the basis of what you have selected.

Testing of this feature as implemented feels quite wrong, I plan to roll the implementation back for the time being and we can discuss an alternative implementation for the next release.

comment:3 Changed 3 years ago by azawawi

True, "Open Selection" should *not* create files. It would be nice if the feature was later moved in 0.85 to ""Ctrl-Shift-N"" or something similar.

comment:4 Changed 3 years ago by szabgab

  • Component changed from editor to Open Selection
Note: See TracTickets for help on using tickets.