How to add my template in Far Manager? I don't want to write a python script for that or copy-paste it every time. I have installed True Template, it has some pre-defined templates. I want to add my template to this list.
# | User | Rating |
---|---|---|
1 | tourist | 3778 |
2 | Benq | 3592 |
3 | ecnerwala | 3521 |
4 | Um_nik | 3423 |
5 | jiangly | 3375 |
6 | Petr | 3342 |
7 | Radewoosh | 3337 |
8 | scott_wu | 3313 |
9 | maroonrk | 3265 |
10 | yosupo | 3259 |
# | User | Contrib. |
---|---|---|
1 | Errichto | 202 |
2 | 1-gon | 200 |
3 | rng_58 | 194 |
4 | SecondThread | 193 |
5 | awoo | 187 |
6 | vovuh | 183 |
7 | Um_nik | 182 |
8 | antontrygubO_o | 177 |
9 | Ashishgup | 175 |
10 | -is-this-fft- | 171 |
How to add my template in Far Manager? I don't want to write a python script for that or copy-paste it every time. I have installed True Template, it has some pre-defined templates. I want to add my template to this list.
Name |
---|
Perhaps you can create the respective file at templates/source, add it to this config in the same directory, and reload the plugin.
It didn't work for me.
Yeah, it doesn't.
The string at line
<Expand Name="&Templates
should also be extended with\~Template: test=test
— or whatever your template is called further, like here:<Expand Name="Template: test" At="&AnyWhere;" SubMenu="1" To="\i'$\templates\source\test.cpp'"/>
Also, the template itself should be in UTF-16 little-endian encoding by default, which may not be your default for other uses.
Working. Thanks!
it shows some question mark type things when i choose my own template!
Mind the UTF16 encoding, perhaps?..
How can I create folders of different prewritten codes according to topics and add that folder in that list?
Guys. I'm not using True Template. Please ask topicstarter for first-hand experience.
Sorry, I thought that it was a question related to xml.
open you file in notepad and again click on save as and then their will be a box telling you about the encoding, select UTF 16LE encoding in that and replace the old file with this.
can u please explain it more i am not able to do it 1.do we have to create a new file for this or we have to edit the old "true-source-c++.xml" 2. if we have to edit the old one it's not giving me the permission to edit it
How did you install True Template?
toshant_n Could you please tell how you installed True Template? I added the True Template github files to my Far manager's Plugins directory, but I don't know what I should do next. (there's no dll files for True Template too)