Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

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

Transloco Auto Scope

Christoph Bühler

|
15 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
  • Terms of use
  • Trademarks
© 2023 Microsoft