Tabs in Smart Templates?

Tabs in Smart Templates?

4
NewbieNewbie
4

    Mar 19, 2012#1

    Hi

    Is there any way to specify tabs in the template? I tried using the tab key, ^t and ^^t, but nothing works :( . Right now, I'm forced to copy and paste from a text file which contains the tabs.

    Thanks,
    Chris

    2362
    MasterMaster
    2362

      Mar 19, 2012#2

      That's one of the main gripes I have about the Template editor, Taglist editor, Macro editor, etc.

      I use the main editor window to create my templates, then copy/paste the entire thing into the "Content" area of the Modify Templates dialog box.

      Personally, I think that IDM should be using the same editor box that we use for coding, and have it include line numbers at the left, and use the same window colors / syntax highlighting when creating templates. But that's me (and probably quite a few others.) Better yet, it would be better to have a "Save As Template" option for the main editor window. Instead of saving to a file, we should have the option to save what we're working on as a Template, Macro, etc. When saving as a template, it should provide a dialog prompting for the template name, and a set of radio buttons to select whether global, environment, or language specific. If environment or language specific, then a drop down should be enabled to allow us to select which environment or which language to save it to. It wouldn't be that hard.

      The Modify Templates should be changed to list the drop down for the Template Group (as it does not), and have a list of the Templates. There should be an "edit template" button, and the Content area should be a "preview only" area to allow you to see if you have the right one before hitting the edit button. The edit button should then place the template in the main editing window of UE for editing. When you hit save from UE, it should know where it goes just as if it were a regular file.

      This will take some serious redesign, but I think it would really benefit a great number of people, and make the Smart Templates even better.

      I'll send a feature request by email.

      6,602548
      Grand MasterGrand Master
      6,602548

        Mar 20, 2012#3

        TAB character can be entered in Modify Templates dialog with Ctrl+Tab.

        2362
        MasterMaster
        2362

          Mar 20, 2012#4

          Nice to know, but it would still, in my opinion, be better to allow us to edit them in the main edit window of the program.