Skip to content

Dreckiger-Dan/al-formatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VS Code extension for formatting AL files.

Formatting Example

Features

  • Indentation
  • Keyword case style
  • Sort variable definitions
  • Readability Guidelines - Spacing and newlines (experimental)

Usage

To format a file click alt + shift + f or use the format document feature in VS Code.

Report an Issue

Issues can be reported to the project on Github.

In Development

  • RDLC Reports
  • XMLPorts
  • Lists, Dictionaries and Control Addins

Changes

2.0.1

  • Fixed a couple of issues when indenting IF THEN ELSE statements, DO WHILE and BEGIN END
  • Implemented an entire new code structure, which is more dynamic
  • Implemented newline and spacing. Enable it under settings - alForm.experimental

1.1.1

  • Fixed an issue with var parameters in procedure definitions

1.1.0

  • Implementet the readability guidlines for variable definition and operators.
  • Fixed an issue with textconst definitions
  • Fixed an issue with wrong casing on object definitions

About

Formatting AL language files in VS Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%