Ondrej-Douda commented on code in PR #6079: URL: https://github.com/apache/netbeans/pull/6079#discussion_r1234122889
########## java/java.lsp.server/vscode/src/propertiesView/script.ts: ########## @@ -0,0 +1,86 @@ +/* + * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. + */ +import { provideVSCodeDesignSystem, vsCodeButton, vsCodeTextField, vsCodeDivider, vsCodeCheckbox, Button, TextField, Checkbox } from "@vscode/webview-ui-toolkit"; +import { isError, asClass, isClass } from "../typesUtil"; +import { CommandKey, Message, MessageProp } from "./controlTypes"; + +provideVSCodeDesignSystem().register(vsCodeButton(), vsCodeTextField(), vsCodeDivider(), vsCodeCheckbox()); + +const vscode = acquireVsCodeApi(); +document.addEventListener("DOMContentLoaded", () => { + try { + asClass(Button, document.getElementById('save'), "Not save.") Review Comment: Sure, this is bad error message... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
