Files icon indicating copy to clipboard operation
Files copied to clipboard

Create new file

Open FelixZacher opened this issue 6 years ago • 13 comments

At the moment you can only create a folder, a text file and a bitmap file.

We should change the two file options for a Create file-option, where you can specify the file extension.

FelixZacher avatar Apr 28 '20 16:04 FelixZacher

I made a small concept of the file creation dialogue. New File If the list gets too long you could maybe use a list view with grouped headers

lorisobi avatar May 03 '20 13:05 lorisobi

I really love it.

  1. Filename: I wonder if we can include a option to specify the filename somehow. So instead of a 2-step action (creating a default file, name it accordingly) it is a 1-step action (both in 1 dialog).
    What about adding a textbox at the top for the filename?

  2. Folder: Can we somehow integrate the folder option? If not, we would need to "new"-buttons (file, folder) or a 2. dialog before this one.

  3. Specify custom type: We should include a way to specify a custom filetype.

FelixZacher avatar May 03 '20 13:05 FelixZacher

NewFile2

Either a textbox on the top or like this when you click (but I think first one would be more user friendly)

lorisobi avatar May 03 '20 14:05 lorisobi

  1. I would exclude shortcuts for now.
  2. With this approach we can simply treat "folder" as a filetype and put it into the list.

I once saw a control, that would suit, but i don't remember where, so i do my best to describe it. It is a control , which is divided into two parts. The 1. (left) part is a simple TextBox for the filename and the 2. (right) part displays the file extension (not editable). So as a whole it displays the filename + extension. The file extension is controlled by the selection on the list.

The disadvantage of this control is, that it doesn't work nicely with the folder type.

FelixZacher avatar May 03 '20 14:05 FelixZacher

so like this? NewFile3

lorisobi avatar May 03 '20 14:05 lorisobi

Yeah kind of

  1. How about deleting the space between the textbox and the file extension box?
  2. I would delete the down arrow.
  3. attach the "recent, all"-window beneath the "new file"-window. merge them into one
  4. move the create button the the bottom.
  5. remove the "folder" option for now.

I'm not sure about where the create button should go

FelixZacher avatar May 03 '20 14:05 FelixZacher

What about a simple drop down menu that fetches the options from the registry?

yair100 avatar May 03 '20 15:05 yair100

too simple 😂

lorisobi avatar May 03 '20 15:05 lorisobi

i really would like to have an option to specify custom filetypes. With explorer i have to create a textdocument, so i can then rename it to a markdown file.

FelixZacher avatar May 03 '20 15:05 FelixZacher

yeah you're right, thats annoying. but maybe just put it in as first/last dropdown option

lorisobi avatar May 03 '20 15:05 lorisobi

For me personally the custom entries in the explorers "new"-menu do not bring any value.

The only option is use are the "folder" and the "textdocument" options.

I create all other entries (office, zip, bitmap) through the corresponding apps.

FelixZacher avatar May 03 '20 15:05 FelixZacher

You should be able to specify a custom entry. A AutoSuggestBox, where you enter custom entries. Or there is a settings option or a json file, where you can specify custom entries for the dropdown.

FelixZacher avatar May 03 '20 15:05 FelixZacher

Merging with #507.

yair100 avatar Jun 21 '20 18:06 yair100