Enhancement for "Create new file dialog"

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 416
Joined: 2013-12-04, 09:56 UTC

Enhancement for "Create new file dialog"

Post by *funkymonk »

A suggestion to enhance usability and the speed of workflows:

For "Edit new file" (Shift+F4) I like to use templates for different file formats. Here is an example:

https://ibb.co/R2mK5MW

If you cycle through the templates using the up/down keys, the entire file name including the extension is always selected in the edit box.
Thus, if you simply start typing, the entire selection is lost.
This is actually quite annoying, since some parts of the template should obviously not be changed (it's a template!) and you first have to navigate with left/right to the position where you want to change the file name.

Hence my suggestion:

Similar to "RenameSelOnlyName" I propose a new INI setting:

Code: Select all

EditSelOnlyName=0
0 = select all (as before)
1 = select only the name without extension
2 = select nothing: put cursor at the beginning of the file name
3 = select nothing: put cursor to the end of the file name (before the "." of the extension)
4 = select nothing: put cursor to the end of the extension
I think that this is also useful for users who don't use templates but use TC’s history of previously created filenames.

---

One more suggestion:
Wouldn't it be possible to define the desired selection or position of the cursor with a special character (which is not allowed in file names) in the template itself:

Code: Select all

[NewFileHistory]
0="<[Y]-[M]-[D] - ? - filename_suffix.x"
1="<[Y]-[M]-[D] - ?some text? - filename_suffix.x"
When selecting the first template, the cursor in the edit box would be put to the position of the "?" (of course, the "?" is removed).
For the second template, the text between the two "?" would be selected.
In both ways, the user can directly start typing without any additional and time consuming action ...
User avatar
jbcb
Junior Member
Junior Member
Posts: 31
Joined: 2013-08-30, 06:43 UTC

Re: Enhancement for "Create new file dialog"

Post by *jbcb »

I like it. :)
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Enhancement for "Create new file dialog"

Post by *jinsight »

Support++ general concept
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Post Reply