Bootstrap Chameleon Logo

Using Live Templates To Speed Up UE Slate UI Creation

The Sketch tool of TAPython let developer preview the unreal Slate UI in realtime. With the live-templates in Pycharm, it can be considerably faster when coding the UI widgets.

This example below, which has 8 buttons in a Fibonacci layout, only costs less than 90 seconds for coding, and 0 second for compiling. LOL

Fibonacci buttons

Screen recording without speed-up

The live-templates of pycharm can be downloaded at my GitHub repository here. Most supported slates have two templates, one for common use, and the other for demonstrating the parameters of the widget.

How to Use

  1. After Download the TAPython.xml, copy it to the pycharm's live-templates folder, in most cases, it will be here.

    text %APPDATA%\JetBrains\<product><version>\templates

    For instance:

    text C:\Users\<UserName>\AppData\Roaming\JetBrains\PyCharmCE2022.1\templates

    reference: Pycharm sharing-live-templates documentation

  2. Laungth pycharm, you can find the live-templates at the Setting window. Tweak them if you need. live templates in pycharm

  3. Type some keywords, press "Tab". Have fun.

Fibonacci buttons