[TYPO3-english] code completion for typoscript

Rob De Vries dev at rob-ot.be
Fri Nov 16 15:06:31 CET 2012


Hey Marc,

Code completion in TYPO3 itself is an almost native feature (i guess it starts 
with version 4.3)

BUT,

why would you write typescript in TYPO3 itself?
Why not start working with external TS and write in you favourite IDE ?
there are several editors who have autocomplete scripts (I work with CODA2 on 
mac with a TS completion)

just add <INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/path/to/your/
setup.file.ts"> in your root setup field and do the same for your constant 
field.

you then can start including all other files from your root file.

big plus is that you will work faster (ever opened 20+ TS files in one time in 
TYPO3?) and you can start using versioning (git, svn, …)

there is also a plugin that let you host your TS files on an external 
server(cdn). Great when you deploy multiple sites with almost the same basic 
setup conditions.


Rob De Vries

ps: nice to see some more Belgium TYPO3'ers in here.



-- 
--------------------------
Rob De Vries
www.rob-ot.be



More information about the TYPO3-english mailing list