You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* * This file is a part of BSL Language Server. * * Copyright (c) 2018-2023 * Alexey Sosnoviy <labotamy@gmail.com>, Nikita Fedkin <nixel2007@gmail.com> and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later * * BSL Language Server is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3.0 of the License, or (at your option) any later version. * * BSL Language Server is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with BSL Language Server. */packagecom.github._1c_syntax.bsl.languageserver.utils;importcom.github._1c_syntax.bsl.languageserver.context.DocumentContext;importcom.github._1c_syntax.bsl.mdo.MD;importcom.github._1c_syntax.bsl.mdo.support.ScriptVariant;importlombok.experimental.UtilityClass;@UtilityClasspublicclassMdoReferences { publicStringgetLocaleMdoRef(DocumentContextdocumentContext, MDmdo) { finalvarmdoReference = mdo.getMdoReference(); if (documentContext.getServerContext().getConfiguration().getScriptVariant() == ScriptVariant.ENGLISH) { returnmdoReference.getMdoRef(); } returnmdoReference.getMdoRefRu(); } publicStringgetLocaleOwnerMdoName(DocumentContextdocumentContext, MDmdo) { finalvarnames = getLocaleMdoRef(documentContext, mdo).split("\\."); returnnames[0].concat(".").concat(names[1]); }}
Copy file name to clipboardExpand all lines: src/test/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/DenyIncompleteValuesDiagnosticTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
/*
2
2
* This file is a part of BSL Language Server.
3
3
*
4
-
* Copyright (c) 2018-2022
4
+
* Copyright (c) 2018-2023
5
5
* Alexey Sosnoviy <labotamy@gmail.com>, Nikita Fedkin <nixel2007@gmail.com> and contributors
0 commit comments