Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Transloco Auto ScopeNew to Visual Studio Code? Get it now.
Transloco Auto Scope

Transloco Auto Scope

Christoph Bühler

|
55 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Transloco auto scope

Automates the insertion of the transloco read input into html files. The command Transloco Auto Scope wraps the contents of the currently opened file in an ng-container tag as follows:

<ng-container *transloco="let t; read: 'this.is.my.scope'"></ng-container>

The property value is composed of the root property of the closest project.json and the file name.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft