Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

VS Code doesn't recognize tcx from AEM Guides Extension

Avatar

Level 1

I'm working on a JavaScript project in VS Code using the AEM Guides Extension framework. In the codebase, there's frequent usage of tcx, but VS Code keeps showing errors like "tcx is not defined" and doesn't provide any IntelliSense for it.

How can I configure my project so that:

  1. VS Code recognizes tcx as a global object (or however it's defined in the framework)?
  2. IntelliSense works properly for tcx and its properties/methods?

Any tips on setting up type definitions or project configuration to fix this would be greatly appreciated!

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Employee

Thank you for bringing this to our attention. The usage of tcx is part of an internal construct not formally documented in the AEM Guides Extension framework, which is why it doesn't resolve in VS Code or support IntelliSense. Most valid use cases for tcx are already covered through the Extension framework’s documented APIs, available here: AEM Guides Framework – Basic Customisation. We recommend using these exposed functions for your implementation.
Your feedback is appreciated, and we will address this in the upcoming release to improve clarity and the overall developer experience.