Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Localize LensNew to Visual Studio Code? Get it now.
Localize Lens

Localize Lens

mmatthiesen

|
2,057 installs
| (1) | Free
Quickly identify if a function only has local references.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Localize Lens

Localize Lens is an extension for the AL language. It exists to help with code refactoring. It uses the language implemented symbols and references to verify if a function should be local or not.

Features

Localize Lens adds a secondary code lens to procedures that are global. It identifies if a function could be local, i.e. it lacks external references.

It has a quick action that can add a local identifier to the procedure.

Requirements

The extension works based on the symbols and references provided by the AL Language. I cannot predict behaviour with this.

Installation

Install through Visual Studio Code Marketplace. The extension is called "Localize Lens".

It supports the following file extensions: .al

Extension Settings

None.

Known Issues

To provide the code lenses with sufficient speed, the following two issues are moved to the resolution of it instead, and as such, are limitations:

  • Procedures with no references will receive a marker.
  • Global procedures with external references will receive a marker.

Release Notes

1.0.0

Initial release.

Acknowledgements

This extension was only possible because I used the following as a reference:

  • ASM Code Lens by maziac
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft