If you tied from absence of code completion for Cognos TM1, I have good news for you. Today I publish TM1SublimeCompletion package for Sublime 3 that can solve this problem.
Description
Package contains completions for all TI, Rules, Worksheet and MDX function, global and local variables of IBM Cognos TM1