Skip to content

Commit a28cb20

Browse files
committed
precommit
1 parent 2c4b193 commit a28cb20

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

docs/diagnostics/SetPrivilegedMode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <Diagnostic name> (SetPrivilegedMode)
1+
# Использование привилегированного режима (SetPrivilegedMode)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
44
## Описание диагностики

docs/en/diagnostics/SetPrivilegedMode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <Diagnostic name> (SetPrivilegedMode)
1+
# Using privileged mode (SetPrivilegedMode)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
44
## Description

src/main/resources/com/github/_1c_syntax/bsl/languageserver/configuration/parameters-schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,6 +1664,16 @@
16641664
},
16651665
"$id": "#/definitions/SetPermissionsForNewObjects"
16661666
},
1667+
"SetPrivilegedMode": {
1668+
"description": "Using privileged mode",
1669+
"default": true,
1670+
"type": [
1671+
"boolean",
1672+
"object"
1673+
],
1674+
"title": "Using privileged mode",
1675+
"$id": "#/definitions/SetPrivilegedMode"
1676+
},
16671677
"SeveralCompilerDirectives": {
16681678
"description": "Erroneous indication of several compilation directives",
16691679
"default": true,

src/test/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/SetPrivilegedModeDiagnosticTest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
* This file is a part of BSL Language Server.
3+
*
4+
* Copyright (c) 2018-2023
5+
* Alexey Sosnoviy <labotamy@gmail.com>, Nikita Fedkin <nixel2007@gmail.com> and contributors
6+
*
7+
* SPDX-License-Identifier: LGPL-3.0-or-later
8+
*
9+
* BSL Language Server is free software; you can redistribute it and/or
10+
* modify it under the terms of the GNU Lesser General Public
11+
* License as published by the Free Software Foundation; either
12+
* version 3.0 of the License, or (at your option) any later version.
13+
*
14+
* BSL Language Server is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17+
* Lesser General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU Lesser General Public
20+
* License along with BSL Language Server.
21+
*/
122
package com.github._1c_syntax.bsl.languageserver.diagnostics;
223

324
import org.eclipse.lsp4j.Diagnostic;

0 commit comments

Comments
 (0)