ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Typo​Scriptr

This plugin provides a tiny helper when editing TypoScript files

Details

Installs

  • Total 652
  • Win 361
  • Mac 186
  • Linux 105
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeTypoScriptr

This plugin provides a tiny helper when editing TypoScript files

Installation

  • Clone this repository into your local packages folder. Find out which folder that is via Preferences -> Browse Packages ...
  • Add a key binding to call typoscriptr, do so in Preferences -> Key Bindings - User, for example:
[
    { "keys": ["ctrl+enter"], "command": "typoscriptr" }
]

What does it do?

It simply duplicates the current line of code, so TypoScript can be written a little faster.

Example 1

page.10.template = TEMPLATE(cursor)

->

page.10.template = TEMPLATE
page.10.template(cursor)

Example 2

page.10.template = TEMPLATE
page.10.template(cursor)

->

page.10.template = TEMPLATE
page.10.template {
    (cursor)
}

Example 3

page.10.subparts.FOOTER = COA
page.10.subparts.FOOTER.10 = TEXT
page.10.subparts.FOOTER.10.value = Blub(cursor)

->

page.10.subparts.FOOTER = COA
page.10.subparts.FOOTER.10 = TEXT
page.10.subparts.FOOTER.10.value = Blub
page.10.subparts.FOOTER.10(cursor)

Example 4 (with text right to the cursor)

lib.customText = TEXT(cursor)Blub

->

lib.customText = TEXT
lib.customText(cursor)Blub

Example 5 (with text right to the cursor)

lib.customText = TEXT
lib.customText(cursor)Blub

->

lib.customText = TEXT
lib.customText {
    (cursor)Blub
}