VS Code doesn't recognize tcx from AEM Guides Extension | Community
Skip to main content
BJDita
July 7, 2025
Question

VS Code doesn't recognize tcx from AEM Guides Extension

  • July 7, 2025
  • 1 reply
  • 289 views

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!

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
July 7, 2025

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.