Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import parser from "./parser.js";
import printer from "./printer.js";
const alPrettier = {
languages: [
{
name: "al",
parsers: ["al-parse"]
}
],
parsers: {
"al-parse": parser
},
printers: {
"al-ast": printer
},
options: {
groupGlobalVars: {
type: "string",
category: "AL",
default: "none",
description: "Enables grouping of global variables in table objects. Available options are: none, top, bottom, beforeCode"
},
noLineBreaksInAttributes: {
type: "boolean",
category: "AL",
default: false,
description: "If set to true, procedure attributes are always printed in a single line, ignoring the max line width"
},
removeEmptyElements: {
type: "boolean",
category: "AL",
default: false,
description: "Remove empty element blocks from AL objects"
},
collapseEmptyBraces: {
type: "boolean",
category: "AL",
default: true,
description: "Place curly braces without content between them on one line"
}
}
};
export default alPrettier;
|