Skip to content

Commit afdb554

Browse files
authored
Merge pull request #2841 from 1c-syntax/feature/updateMDClasses_0_10
Обновление версии mdclasses до 0.10.0
2 parents d63f497 + fd1e842 commit afdb554

File tree

89 files changed

+147
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+147
-150
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ dependencies {
7272
exclude("org.glassfish", "javax.json")
7373
}
7474
api("com.github.1c-syntax", "utils", "0.4.0")
75-
api("com.github.1c-syntax", "mdclasses", "0.9.5")
75+
api("com.github.1c-syntax", "mdclasses", "0.10.0")
76+
api("io.github.1c-syntax", "bsl-common-library", "0.3.0")
77+
api("io.github.1c-syntax", "supportconf", "0.1.1")
7678

7779
// JLanguageTool
7880
implementation("org.languagetool", "languagetool-core", languageToolVersion)

docs/diagnostics/IncorrectUseLikeInQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@
7171
* Полезная информация: [Отказ от использования модальных окон](https://its.1c.ru/db/metod8dev#content:5272:hdoc)
7272
* Источник: [Cognitive complexity, ver. 1.4](https://www.sonarsource.com/docs/CognitiveComplexity.pdf) -->
7373

74-
- Источник: [Стандарт: Особенности использования в запросах оператора ПОДОБНО](https://its.1c.ru/db/v8std/content/726/hdoc?ysclid=l3g3fkmxsx)
74+
- Источник: [Стандарт: Особенности использования в запросах оператора ПОДОБНО](https://its.1c.ru/db/v8std/content/726/hdoc?ysclid=l3g3fkmxsx)

docs/en/diagnostics/CrazyMultilineString.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Crazy multiline literals (CrazyMultilineString)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
4-
## Описание диагностики
4+
## Description
5+
56
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
67

78
In source text, multi-line constants can be initialized in two ways:

docs/en/diagnostics/IncorrectLineBreak.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Incorrect expression line break (IncorrectLineBreak)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
4-
## Описание диагностики
4+
## Description
55
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
66

77
Long arithmetic expressions are carried as follows: one entry can contain more than one operand; when wrapping, operation characters are written at the beginning of the line (and not at the end of the previous line); operands on a new line are preceded by standard indentation, or they are aligned to the beginning of the first operand, regardless of the operation signs.

docs/en/diagnostics/IncorrectUseLikeInQuery.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Incorrect use of 'LIKE' (IncorrectUseLikeInQuery)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
4-
## Описание диагностики
4+
## Description
55
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
66

77
When using the operator `LIKE` in the query text, it is allowed to use only
@@ -70,4 +70,4 @@ Query.SetParameter("NameTemplate", "FU_");
7070
* Полезная информация: [Отказ от использования модальных окон](https://its.1c.ru/db/metod8dev#content:5272:hdoc)
7171
* Источник: [Cognitive complexity, ver. 1.4](https://www.sonarsource.com/docs/CognitiveComplexity.pdf) -->
7272

73-
- [Standard. Features of use in operator requests LIKE (RU)](https://its.1c.ru/db/v8std/content/726/hdoc?ysclid=l3g3fkmxsx)
73+
- [Standard. Features of use in operator requests LIKE (RU)](https://its.1c.ru/db/v8std/content/726/hdoc?ysclid=l3g3fkmxsx)

docs/en/diagnostics/LogicalOrInTheWhereSectionOfQuery.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Using a logical "OR" in the "WHERE" section of a query (LogicalOrInTheWhereSectionOfQuery)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
4-
## Описание диагностики
4+
## Description
5+
56
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
67
Не следует использовать `ИЛИ` в секции `ГДЕ` запроса. Это может привести к тому, что СУБД не сможет использовать
78
индексы таблиц и будет выполнять сканирование, что увеличит время работы запроса и вероятность возникновения блокировок.

docs/en/diagnostics/MultilineStringInQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Multi-line literal in query (MultilineStringInQuery)
22

33
<!-- Блоки выше заполняются автоматически, не трогать -->
4-
## Описание диагностики
4+
## Description
55
<!-- Описание диагностики заполняется вручную. Необходимо понятным языком описать смысл и схему работу -->
66

77
Multi-line literals are rarely used in query texts, mostly these are error results due to an incorrect number of double quotes.

src/main/java/com/github/_1c_syntax/bsl/languageserver/codeactions/GenerateStandardRegionsSupplier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
import com.github._1c_syntax.bsl.languageserver.context.symbol.RegionSymbol;
2929
import com.github._1c_syntax.bsl.languageserver.utils.Regions;
3030
import com.github._1c_syntax.bsl.languageserver.utils.Resources;
31-
import com.github._1c_syntax.mdclasses.common.ConfigurationSource;
32-
import com.github._1c_syntax.mdclasses.mdo.support.ScriptVariant;
31+
import com.github._1c_syntax.bsl.mdo.support.ScriptVariant;
32+
import com.github._1c_syntax.bsl.types.ConfigurationSource;
3333
import org.eclipse.lsp4j.CodeAction;
3434
import org.eclipse.lsp4j.CodeActionKind;
3535
import org.eclipse.lsp4j.CodeActionParams;

src/main/java/com/github/_1c_syntax/bsl/languageserver/context/DocumentContext.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
import com.github._1c_syntax.bsl.languageserver.context.symbol.MethodSymbol;
3434
import com.github._1c_syntax.bsl.languageserver.context.symbol.SymbolTree;
3535
import com.github._1c_syntax.bsl.languageserver.utils.Trees;
36+
import com.github._1c_syntax.bsl.mdo.support.ScriptVariant;
3637
import com.github._1c_syntax.bsl.parser.BSLLexer;
3738
import com.github._1c_syntax.bsl.parser.BSLParser;
3839
import com.github._1c_syntax.bsl.parser.BSLTokenizer;
3940
import com.github._1c_syntax.bsl.parser.SDBLTokenizer;
40-
import com.github._1c_syntax.mdclasses.common.ConfigurationSource;
41+
import com.github._1c_syntax.bsl.supconf.SupportConfiguration;
42+
import com.github._1c_syntax.bsl.support.SupportVariant;
43+
import com.github._1c_syntax.bsl.types.ConfigurationSource;
44+
import com.github._1c_syntax.bsl.types.ModuleType;
4145
import com.github._1c_syntax.mdclasses.mdo.AbstractMDObjectBase;
42-
import com.github._1c_syntax.mdclasses.mdo.support.ModuleType;
43-
import com.github._1c_syntax.mdclasses.mdo.support.ScriptVariant;
44-
import com.github._1c_syntax.mdclasses.supportconf.SupportConfiguration;
45-
import com.github._1c_syntax.mdclasses.supportconf.SupportVariant;
4646
import com.github._1c_syntax.utils.Lazy;
4747
import lombok.Getter;
4848
import lombok.RequiredArgsConstructor;

src/main/java/com/github/_1c_syntax/bsl/languageserver/context/ServerContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
package com.github._1c_syntax.bsl.languageserver.context;
2323

2424
import com.github._1c_syntax.bsl.languageserver.utils.MdoRefBuilder;
25+
import com.github._1c_syntax.bsl.types.ModuleType;
2526
import com.github._1c_syntax.mdclasses.Configuration;
26-
import com.github._1c_syntax.mdclasses.mdo.support.ModuleType;
2727
import com.github._1c_syntax.utils.Absolute;
2828
import com.github._1c_syntax.utils.Lazy;
2929
import lombok.RequiredArgsConstructor;

0 commit comments

Comments
 (0)