What are “templates” and should we remove or fix them? #947
Replies: 2 comments
-
|
Hello @cassidyjames ! |
Beta Was this translation helpful? Give feedback.
-
|
I would be willing to complete this function if thought useful for Code's current purpose. As far as I can tell the intention is to have templates containing keyed placeholders that are replaced by variable text on creating a new document from them. However there is no UI for creating templates of this type nor for using them and for specifying what text replaces the placeholders. Much the same functionality is already available by copying a file from the existing home Templates folder and using Search/Replace to fill in placeholders. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm finding references to a TemplateManager and templates throughout Code, but I've literally never seen them and have no idea what it's supposed to be. So my question for discussion is:
code/src/Services/TemplateManager.vala
Lines 1 to 268 in ceb3b1f
code/src/Services/PluginManager.vala
Lines 35 to 41 in ceb3b1f
code/src/MainWindow.vala
Lines 255 to 258 in 7b6e331
code/src/MainWindow.vala
Lines 905 to 907 in 7b6e331
code/src/Widgets/HeaderBar.vala
Lines 52 to 54 in aff18f8
Beta Was this translation helpful? Give feedback.
All reactions