Skip to content

Commit 2e83141

Browse files
committed
Add images
1 parent 4cc2814 commit 2e83141

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

images/images 0.png

34.3 KB
Loading

images/images 22.png

76.9 KB
Loading

images/images/12.png

76.8 KB
Loading

images/screenshot.png

45.9 KB
Loading

script.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,12 @@ const formatCodeFinal = function (codeMirror, programmingLanguage) {
9393
plugins: [parserTypeScript],
9494
});
9595
} else if (language === "Java") {
96-
formattedCode = prettierFormat_formatCode.formatCode(
97-
codeText,
98-
{}
99-
);
96+
formattedCode = prettierFormat_formatCode.formatCode(codeText, {
97+
98+
printWidth: 200,
99+
tabWidth: 4
100+
101+
});
100102
}
101103
else {
102104
console.debug(`Formatter not available for ${programmingLanguage.title}`);

0 commit comments

Comments
 (0)