| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/Microsoft Office/root/Office16/ACCMonaco/ |
Upload File : |
<!DOCTYPE html>
<html style="height: 100vh;">
<head>
<title>SQL monaco editor</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body style="height: 100%; margin: 0">
<div id="container" style="width: auto; height: 100%;"></div>
<script src="sql-formatter/sql-formatter.min.js"></script>
<script>
function formatSQL() {
const settings = {
language: "tsql",
keywordCase: 'upper',
tabWidth: 4
};
myEditor.setValue(sqlFormatter.format(myEditor.getValue(), settings).replace(/\r?\n/g, '\r\n'));
}
</script>
<script src="vs/loader.js"></script>
<script>
require.config({ paths: { vs: 'vs' } });
require(['vs/editor/editor.main', 'vs/basic-languages/access-sql/access-sql'], function () {});
</script>
</body>
</html>