Author Topic: Disabling template parameters & Windows tabs  (Read 1158 times)

Offline Grzeniu

  • Registered User
  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Disabling template parameters & Windows tabs
« on: March 18, 2017, 11:29:59 am »
Hello, fellow Hippos!

I have finally started to use code templates autocompleted with tab. Yeah, I've been coding for quite a few years and I have never used such things, only Ctrl+C/V/D :). Finally, after seeing this thread about Zen coding, I've decided to utilize this kind of technique. I quickly got to HippoEdit's code templates and, well, that's magnificient! Yet, here's my question: at least in the case of html, inserting a template is followed by pop-ups asking for parameters (e.g. <a asks for title and href). How do I disable this, so that it works like, for example while template for php: i type in while, press tab and it creates template without asking for anything?

Secondly, I may be plainly blind not to find it in the preferences, yet I do not know how to disable splitting HippoEdit's icon on Windows taskbar into tabs? What I mean is that having 3 open tabs within the program and hovering over HE icon produces 3 preview tabs - I would like to disable it, can it be done from within the application or only by disabling global Windows setting?

My regards, have a fine weekend!
« Last Edit: March 18, 2017, 11:31:34 am by Avetrus »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2184
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Disabling template parameters & Windows tabs
« Reply #1 on: March 19, 2017, 04:15:48 pm »
Hi Greg,

code templates are defined for every language in Tools->Options->Syntax Settings->[Syntax, for Example HTML]->Code Templates:

Here you can modify the template in a way you need. The reason why you get a popup asking for a parameter, is [%Variable name%] tag, which brings prompt to enter a "Variable name" value during expansion:

If you do not like the default code for the template, just take out the tag (probably it is "%Link URL%") and press OK/Apply.
So for this code template as an example:
Code: [Select]
<a href="%Link URL%">%Link Text%</a>%|%it may be something like this:
Code: [Select]
<a href="">%|%</a>
For Document Tabs preview, there is no UI setting, but there is an XML flag:

Best regards,


Related Topics

  Subject / Started by Replies Last post
12 Replies
Last post April 21, 2009, 07:27:23 pm
by Arthur
5 Replies
Last post June 02, 2009, 09:31:40 pm
by alex
Passing Parameters to tools

Started by jpau1953 FAQ

6 Replies
Last post October 03, 2009, 10:56:53 pm
by alex
4 Replies
Last post May 19, 2011, 12:05:53 am
by alex
1 Replies
Last post March 08, 2013, 10:10:33 am
by alex