Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Переход на EDT 2024.1 #1427

Draft
wants to merge 117 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
1ef5140
G5V8DT-24027. Сортировка объектов и прав в ролях
wolfandw Sep 9, 2023
be725e0
G5V8DT-24027. Versions up
wolfandw Sep 10, 2023
94986b1
Merge remote-tracking branch 'origin/master' into G5V8DT-24027
wolfandw Sep 20, 2023
64d3440
G5V8DT-24027. Dependence fix
wolfandw Sep 25, 2023
1fe8e9d
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Oct 13, 2023
2606bff
Fix target platform to 2023.3
MaksimDzyuba Oct 16, 2023
7b8123d
Merge pull request #1364 from 1C-Company/G5V8DT-24027
MaksimDzyuba Oct 16, 2023
a952272
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Oct 17, 2023
afb003f
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Oct 18, 2023
838747c
Merge branch 'edt-2023-3' into G5V8DT-24189
Oct 20, 2023
f7e6c01
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Oct 24, 2023
5405631
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Oct 24, 2023
2bc5a76
Поднятие версий dt.validation.marker
dsavenko Oct 25, 2023
6b49456
G5V8DT-24189_variant
MaksimDzyuba Oct 25, 2023
8e2519a
При добавлении обработчика события или команды автоматически размещат…
Oct 30, 2023
01f7c72
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Nov 1, 2023
57b5d2f
feature/1373: Versions up com._1c.g5.v8.dt.bsl.validation
vadimeg Nov 7, 2023
fab7ae0
feature/1373: Игнорирование падающего теста
vadimeg Nov 10, 2023
ace705f
feature/1373: Игнорирование падающих тестов
vadimeg Nov 10, 2023
733835b
Merge pull request #1374 from 1C-Company/feature/1373
vadimeg Nov 11, 2023
d2d3adb
Merge remote-tracking branch 'origin/edt-2023-3' into G5V8DT-24189
MaksimDzyuba Nov 13, 2023
86b2d38
G5V8DT-24189 При добавлении обработчика события или команды автоматич…
Nov 14, 2023
b441ad5
Merge pull request #1369 from 1C-Company/G5V8DT-24189
MaksimDzyuba Nov 14, 2023
4476f26
Merge branch 'edt-2023-3' into feature/1371-подняте-версий-dt.validat…
dsavenko Nov 22, 2023
b76fb97
1378: Исправление NPE в проверках
vadimeg Nov 15, 2023
edbf787
1378: Игнорирование теста
vadimeg Nov 28, 2023
2cdfa79
1378: Исправление замечаний
vadimeg Nov 29, 2023
5bc8319
Merge pull request #1379 from 1C-Company/feture/1378
tretyakevich Nov 29, 2023
16082cb
Merge pull request #1372 from dsavenko/feature/1371-подняте-версий-dt…
tretyakevich Dec 6, 2023
c9d070c
Обновление tycho до версии 2.7.0
AlmazNasibullin Dec 19, 2023
1d84d40
Исправление проблемы с equinox.ds
AlmazNasibullin Dec 20, 2023
c9b64dd
Merge branch 'master' into edt-2023-3
marmyshev Dec 21, 2023
de3f57d
Merge branch 'master' into edt-2023-3
marmyshev Dec 23, 2023
f2fedde
Обновлена история изменений
marmyshev Dec 23, 2023
ab51c43
Merge branch 'master' into edt-2023-3
marmyshev Dec 23, 2023
964c1ea
G5V8DT-22401: Обновление версий зависимостей
Jan 11, 2024
10e6900
G5V8DT-24674 Взводится признак наличия изменений при переходе к
MaksimDzyuba Jan 19, 2024
061a4a8
G5V8DT-24674 Взводится признак наличия изменений при переходе к
MaksimDzyuba Jan 19, 2024
a7f80d8
Merge pull request #1397 from 1C-Company/G5V8DT-24674
AlmazNasibullin Jan 22, 2024
c9d7e83
G5V8DT-22792 Оптимизация в работе встроенного языка
MaksimDzyuba Jan 23, 2024
1608f11
G5V8DT-22792 Оптимизация в работе встроенного языка
MaksimDzyuba Jan 26, 2024
ccec2bb
G5V8DT-24086 Ложные срабатывания проверки The asynchronous method is
MaksimDzyuba Feb 6, 2024
0fefbd2
G5V8DT-24086 Ложные срабатывания проверки The asynchronous method is
MaksimDzyuba Feb 7, 2024
a6bfff7
Merge pull request #1408 from 1C-Company/G5V8DT-24086
AlmazNasibullin Feb 15, 2024
781ac0e
Поднятие версий dt.validation.marker
dsavenko Feb 21, 2024
98b4b5f
Merge branch 'master' into edt-2023-3
marmyshev Mar 4, 2024
ea51a58
[G5V8DT-24551] Неверное формирование запроса в динамическом списке
Mar 26, 2024
e8408c6
Merge remote-tracking branch 'origin/master' into edt-2023-3
AlmazNasibullin Mar 26, 2024
e9d7c74
Merge pull request #1415 from dsavenko/feature/1414-versions-update
tretyakevich Mar 28, 2024
d598fe9
edt-2024-1: Таргет переключен на p2 2024-1
Mar 28, 2024
a5cf40d
Merge branch 'master' of github.com:1C-Company/v8-code-style into
Apr 4, 2024
a832364
G5V8DT-24814 Некорректная вставка в область модуля вспомогательных ме…
Apr 4, 2024
04ebca9
G5V8DT-24814 Некорректная вставка в область модуля вспомогательных ме…
Apr 5, 2024
0fddcaa
Merge branch 'edt-2024-1' into G5V8DT-24551
MaksimDzyuba Apr 9, 2024
7f7a9c7
Merge remote-tracking branch 'origin/edt-2023-3' into edt-2024-1
MaksimDzyuba Apr 9, 2024
1462b86
Merge branch 'edt-2024-1' into G5V8DT-24551
MaksimDzyuba Apr 9, 2024
ffbe858
Merge pull request #1436 from 1C-Company/G5V8DT-24551
tretyakevich Apr 10, 2024
571ce1d
Merge branch 'edt-2024-1' of github.com:1C-Company/v8-code-style into…
Apr 10, 2024
2a9aa71
Merge branch 'master' of github.com:1C-Company/v8-code-style into
Apr 10, 2024
a9a4ac5
Merge branch 'edt-2024-1' of github.com:1C-Company/v8-code-style into
Apr 10, 2024
061e610
G5V8DT-22401: Обновление таргет-платформы
Apr 11, 2024
4a9621f
G5V8DT-22401: Обновление таргет-платформы
Apr 11, 2024
4389cfb
G5V8DT-22401: Обновление таргет-платформы
Apr 11, 2024
07443cc
G5V8DT-22401: Обновление таргет-платформы
Apr 11, 2024
a9f36af
G5V8DT-22401: Обновление таргет-платформы
Apr 11, 2024
cd5bf1a
Merge branch 'edt-2024-1' into G5V8DT-24814
Apr 15, 2024
f0aa009
G5V8DT-22401: Обновление таргет-платформы
Apr 15, 2024
c5d473d
G5V8DT-22401: Обновление таргет-платформы
Apr 15, 2024
3a0df22
G5V8DT-22401: Обновление таргет-платформы
Apr 16, 2024
c55a783
G5V8DT-22401: Обновление сборочной инфраструктуры
Apr 16, 2024
55f44b7
G5V8DT-22401: Включено подписывание артефактов
Apr 16, 2024
faf26b2
Merge branch 'edt-2024-1' into G5V8DT-24814
Apr 16, 2024
bb57d98
Неправильно работает проверка
vadimeg Apr 23, 2024
f2fe34b
G5V8DT-24814 Некорректная вставка в область модуля вспомогательных ме…
Apr 24, 2024
0929d00
G5V8DT-24657 Дополнительные возможности по работе с временными
MaksimDzyuba Apr 25, 2024
efc6fa1
Merge branch 'edt-2024-1' into G5V8DT-24657
MaksimDzyuba Apr 26, 2024
d7a32ad
edt-2024-1: Обновлена target-платформа
Apr 27, 2024
ab0abdb
EDT-2024-1: Временно включен workflow в данной ветке
Apr 27, 2024
2c54c5b
edt-2024-1: Переход на Maven 3.9.6
Apr 27, 2024
0fac21f
edt-2024-1: Переход на Maven 3.9.6
Apr 27, 2024
b7e0d2b
EDT-2024-1: Переход на maven 3.9.6
Apr 27, 2024
0880f1f
EDT-2024-1: Переход на maven 3.9.6
Apr 27, 2024
ec95548
EDT-2024-1: Обновлен spotbugs-maven-plugin для совместимости с Java 17
Apr 27, 2024
8852964
EDT-2024-1: Обновлен spotbugs-maven-plugin для совместимости с Java 17
Apr 27, 2024
2410bce
EDT-2024-1: Обновлен spotbugs-maven-plugin для совместимости с Java 17
Apr 27, 2024
4f2ef8e
EDT-2024-1: Обновлен spotbugs-maven-plugin для совместимости с Java 17
Apr 27, 2024
7f08e86
EDT-2024-1: Обновлен spotbugs-maven-plugin для совместимости с Java 17
Apr 27, 2024
5c2c2ce
Merge remote-tracking branch 'origin/edt-2024-1' into 1443-data-compo…
vadimeg Apr 27, 2024
68bd69f
Merge pull request #1444 from 1C-Company/1443-data-composition-condit…
tretyakevich Apr 27, 2024
4bdb43e
Merge branch 'edt-2024-1' into G5V8DT-24814
May 2, 2024
52e5852
Не ревалидируется модуль в редакторе при изменении в объекте подавлений
vadimeg May 14, 2024
e67e65b
Merge pull request #1445 from 1C-Company/bugfix/fix-module-revalidation
tretyakevich May 15, 2024
76cfabd
G5V8DT-23715 Не загружается конфигурация в информационную базу при из…
May 15, 2024
9a4b5f4
Merge branch 'edt-2024-1' into G5V8DT-24814
May 15, 2024
6706bfd
Merge pull request #1447 from 1C-Company/G5V8DT-24657
MaksimDzyuba May 16, 2024
787cf74
Epic/G5V8DT-24631 Поднятие версий
MaksimDzyuba May 22, 2024
099de76
G5V8DT-24814 Некорректная вставка в область модуля вспомогательных ме…
May 29, 2024
8b3cd43
G5V8DT-24814 Некорректная вставка в область модуля вспомогательных ме…
May 29, 2024
4ef9d58
G5V8DT-25067 Подъем версии com.e1c.g5.v8.dt.cli.api.components
AlmazNasibullin May 30, 2024
698f6e3
Merge remote-tracking branch 'origin/master' into edt-2024-1
AlmazNasibullin May 30, 2024
eb34ef4
Merge remote-tracking branch 'origin/edt-2024-1' into Epic/G5V8DT-24631
MaksimDzyuba Jun 3, 2024
94e9c36
1449: Internal error при сортировке метаданных
vadimeg Jun 5, 2024
c13c4e9
Merge remote-tracking branch 'origin/edt-2024-1' into G5V8DT-24814
MaksimDzyuba Jun 5, 2024
31d06c9
Merge pull request #1450 from 1C-Company/bugfix/issue-1449-internal-e…
tretyakevich Jun 6, 2024
543be97
Merge pull request #1451 from 1C-Company/Epic/G5V8DT-24631
MaksimDzyuba Jun 6, 2024
285a004
Merge branch 'edt-2024-1' into G5V8DT-24814
Jun 7, 2024
e01c73c
Merge branch 'edt-2024-1' into G5V8DT-23715
Jun 10, 2024
48b83cd
Merge branch 'edt-2024-1' into G5V8DT-22792
MaksimDzyuba Jun 18, 2024
d60b7b4
G5V8DT-22792 Оптимизация в работе встроенного языка
MaksimDzyuba Jun 18, 2024
b0c3409
G5V8DT-22792 Оптимизация в работе встроенного языка
MaksimDzyuba Jun 18, 2024
53e6ae6
Merge pull request #1437 from 1C-Company/G5V8DT-24814
MaksimDzyuba Jun 18, 2024
dc3f5f8
Merge pull request #1446 from 1C-Company/G5V8DT-23715
MaksimDzyuba Jun 18, 2024
e6eb68c
Merge branch 'edt-2024-1' into G5V8DT-22792
MaksimDzyuba Jun 18, 2024
ef36996
G5V8DT-25134 Падают тесты CodeAfterAsyncCallCheckTest (#1448)
ukolabrother Jun 19, 2024
450c4a5
Поднятие версии BM core
vadimeg Jun 20, 2024
cdd4a70
Merge pull request #1399 from 1C-Company/G5V8DT-22792
MaksimDzyuba Jun 25, 2024
9b9aad6
Merge pull request #1452 from 1C-Company/lib_support_versions_up
tretyakevich Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ jobs:
- uses: actions/checkout@v2
if: ${{ !inputs.analyze }}

- name: Set up JDK 11
uses: actions/setup-java@v1
# - name: Set up JDK 17
# uses: actions/setup-java@v1
# with:
# java-version: 17
# java-package: jdk+fx

- name: Set up Maven 3.9.6
uses: s4u/setup-maven-action@v1.12.0
with:
java-version: 11
java-version: 17
java-package: jdk+fx

- name: Free disk space
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Build
# This build will run on master,release/* push, local PR and PR from forks without label Analyze
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name || !contains(github.event.pull_request.labels.*.name, 'Analyze')
uses: 1C-company/v8-code-style/.github/workflows/build.yml@master
uses: 1C-company/v8-code-style/.github/workflows/build.yml@edt-2024-1
with:
analyze: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.event.repository.full_name }}
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
java-package: jdk+fx

- name: Cache maven repo
Expand Down
67 changes: 55 additions & 12 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,34 @@
<name>BOM</name>

<prerequisites>
<maven>3.6.0</maven>
<maven>3.9.4</maven>
</prerequisites>

<properties>
<tycho.version>2.7.0</tycho.version>
<tycho.extras.version>2.7.0</tycho.extras.version>
<tycho.version>4.0.5</tycho.version>
<tycho.extras.version>4.0.5</tycho.extras.version>
<markdown-page-generator.version>2.3.1</markdown-page-generator.version>
<!-- Override this property in each project -->
<markdown.page.generator.html.file.path>${project.basedir}</markdown.page.generator.html.file.path>

<spotbugs.maven.plugin.version>3.1.12.2</spotbugs.maven.plugin.version>
<spotbugs.maven.plugin.version>4.8.3.1</spotbugs.maven.plugin.version>
<maven.checkstyle.plugin.version>3.1.1</maven.checkstyle.plugin.version>
<checkstyle.version>8.29</checkstyle.version>
<checkstyle.header.file>java.header</checkstyle.header.file>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>

<maven.build.timestamp.format>'v'yyyyMMdd-HHmm</maven.build.timestamp.format>
<qualifier>${maven.build.timestamp}</qualifier>

<eclipse.p2.latest>http://download.eclipse.org/releases/2022-03/</eclipse.p2.latest>

<p2repo.archive.skip>false</p2repo.archive.skip>
<org.jacoco.version>0.8.6</org.jacoco.version>
<org.jacoco.version>0.8.8</org.jacoco.version>
<!-- SonarQube Settings -->
<sonar.projectKey>1C-Company_v8-code-style</sonar.projectKey>
<sonar.organization>1c-company</sonar.organization>
Expand Down Expand Up @@ -87,6 +87,8 @@
<sonar.issue.ignore.multicriteria.t4.resourceKey>/tests/**/*.java</sonar.issue.ignore.multicriteria.t4.resourceKey>
<!-- Source files should not have any duplicated blocks -->
<sonar.cpd.exclusions>**/*Plugin.java,/tests/**/*</sonar.cpd.exclusions>

<eclipse.jarsigner.plugin.version>1.1.2_p3</eclipse.jarsigner.plugin.version>
</properties>

<build>
Expand All @@ -98,7 +100,7 @@
<version>${tycho.version}</version>
<configuration>
<resolver>p2</resolver>
<executionEnvironment>JavaSE-11</executionEnvironment>
<executionEnvironment>JavaSE-17</executionEnvironment>
<includePackedArtifacts>false</includePackedArtifacts>
<target>
<artifact>
Expand Down Expand Up @@ -239,7 +241,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<!--plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${org.jacoco.version}</version>
Expand All @@ -248,7 +250,7 @@
<exclude>**/MdClassPackageImpl*</exclude>
</excludes>
</configuration>
</plugin>
</plugin-->
<plugin>
<groupId>com.ruleoftech</groupId>
<artifactId>markdown-page-generator-plugin</artifactId>
Expand Down Expand Up @@ -299,6 +301,20 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>${eclipse.jarsigner.plugin.version}</version>
<configuration>
<signerUrl>${signer.url}/jarsign.php</signerUrl>
<excludeInnerJars>true</excludeInnerJars>
<retryLimit>5</retryLimit>
<systemPropertyVariables>
<signer.ssl.keyStore>${env.SIGN_KEYSTORE_PATH}</signer.ssl.keyStore>
<signer.ssl.keyStorePassword>${keystorePassword}</signer.ssl.keyStorePassword>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Expand Down Expand Up @@ -380,12 +396,39 @@
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<version>4.0.0-beta2</version>
<version>4.8.3</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
<version>${eclipse.jarsigner.plugin.version}</version>
<executions>
<execution>
<id>sign</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<fork>true</fork>
</configuration>
</plugin>
</plugins>
</build>
</profile>


</profiles>
</project>
2 changes: 1 addition & 1 deletion bundles/com.e1c.v8codestyle.autosort.ui/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
org.eclipse.jdt.core.compiler.source=11
org.eclipse.jdt.core.compiler.source=17
8 changes: 4 additions & 4 deletions bundles/com.e1c.v8codestyle.autosort.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Require-Bundle: org.eclipse.ui;bundle-version="[3.118.0,4.0.0)",
org.eclipse.core.runtime;bundle-version="[3.20.0,4.0.0)",
org.eclipse.core.resources;bundle-version="[3.13.0,4.0.0)",
org.eclipse.ui.forms;bundle-version="[3.11.0,4.0.0)",
org.eclipse.emf.ecore;bundle-version="[2.23.0,3.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-11
org.eclipse.emf.ecore;bundle-version="[2.23.0,3.0.0)",
com.google.inject;bundle-version="[7.0.0,8.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: com.e1c.v8codestyle.autosort.ui
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
Expand All @@ -23,5 +24,4 @@ Import-Package: com._1c.g5.v8.dt.common;version="[6.0.0,7.0.0)",
com._1c.g5.wiring;version="[2.2.0,3.0.0)",
com._1c.g5.wiring.binder;version="[1.1.0,2.0.0)",
com.e1c.v8codestyle.autosort;version="[0.7.0,0.8.0)",
com.google.common.base;version="[30.1.0,31.0.0)",
com.google.inject;version="[5.0.0,6.0.0)"
com.google.common.base;version="[32.1.0,33.0.0)"
2 changes: 1 addition & 1 deletion bundles/com.e1c.v8codestyle.autosort/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
org.eclipse.jdt.core.compiler.source=11
org.eclipse.jdt.core.compiler.source=17
13 changes: 6 additions & 7 deletions bundles/com.e1c.v8codestyle.autosort/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.13.0,4.0.0)",
org.eclipse.emf.ecore;bundle-version="[2.12.0,3.0.0)",
org.eclipse.core.resources;bundle-version="[3.12.0,4.0.0)",
com._1c.g5.wiring;bundle-version="[2.0.0,3.0.0)",
org.eclipse.emf.edit;bundle-version="[2.12.0,3.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-11
org.eclipse.emf.edit;bundle-version="[2.12.0,3.0.0)",
com.google.inject;bundle-version="[7.0.0,8.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: com.e1c.v8codestyle.autosort
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
Import-Package: com._1c.g5.v8.activitytracking.core;version="[1.0.0,2.0.0)",
com._1c.g5.v8.bm.common.collections;version="[4.0.0,5.0.0)",
com._1c.g5.v8.bm.core;version="[8.0.0,9.0.0)",
com._1c.g5.v8.bm.core;version="[9.0.0,10.0.0)",
com._1c.g5.v8.bm.core.event;version="[3.0.0,4.0.0)",
com._1c.g5.v8.bm.integration;version="[11.0.0,12.0.0)",
com._1c.g5.v8.bm.integration.event;version="[2.0.0,3.0.0)",
Expand All @@ -28,11 +29,9 @@ Import-Package: com._1c.g5.v8.activitytracking.core;version="[1.0.0,2.0.0)",
com._1c.g5.v8.dt.md.sort;version="[1.0.0,2.0.0)",
com._1c.g5.v8.dt.metadata.mdclass;version="[9.0.0,10.0.0)",
com.e1c.g5.v8.dt.cli.api;version="[2.0.0,3.0.0)",
com.e1c.g5.v8.dt.cli.api.components;version="[2.0.0,3.0.0)",
com.e1c.g5.v8.dt.cli.api.components;version="[3.0.0,4.0.0)",
com.e1c.v8codestyle;version="[0.7.0,0.8.0)",
com.google.common.base;version="[30.1.0,31.0.0)",
com.google.inject;version="[5.0.1,6.0.0)",
com.google.inject.binder;version="[5.0.1,6.0.0)",
com.google.common.base;version="[32.1.0,33.0.0)",
org.slf4j;version="[1.7.2,2.0.0)"
Export-Package: com.e1c.v8codestyle.autosort;version="0.7.0";
uses:="org.eclipse.emf.ecore,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ public SortService(IDtProjectManager dtProjectManager, IBmModelManager modelMana
this.configurationProvider = configurationProvider;
this.workspaceOrchestrator = workspaceOrchestrator;
this.modelEditingSupport = modelEditingSupport;
workspaceOrchestrator.addListener(event -> {
if (event.isProjectClosing())
{
IProject project = event.getProject().getWorkspaceProject();
if (project != null)
{
SortJob job = jobs.remove(project);
if (job != null)
{
job.cancel();
}
}
}
});
}

@LifecycleParticipant(phase = LifecyclePhase.RESOURCE_LOADING,
Expand Down
2 changes: 1 addition & 1 deletion bundles/com.e1c.v8codestyle.bsl.ui/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11
org.eclipse.jdt.core.compiler.source=17
20 changes: 10 additions & 10 deletions bundles/com.e1c.v8codestyle.bsl.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.20.0,4.0.0)",
org.eclipse.xtext.ui;bundle-version="[2.24.0,3.0.0)",
org.eclipse.handly.xtext.ui;bundle-version="[1.5.0,2.0.0)",
org.eclipse.handly;bundle-version="[1.5.0,2.0.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: com.e1c.v8codestyle.bsl.ui
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
Import-Package: com._1c.g5.ides.ui.texteditor.xtext.embedded;version="[6.0.0,7.0.0)",
com._1c.g5.v8.bm.core;version="[8.0.0,9.0.0)",
com._1c.g5.v8.bm.core;version="[9.0.0,10.0.0)",
com._1c.g5.v8.dt.bsl.comment;version="[3.0.0,4.0.0)",
com._1c.g5.v8.dt.bsl.common;version="[6.0.0,7.0.0)",
com._1c.g5.v8.dt.bsl.documentation.comment;version="[4.0.0,5.0.0)",
com._1c.g5.v8.dt.bsl.common;version="[7.0.0,8.0.0)",
com._1c.g5.v8.dt.bsl.documentation.comment;version="[5.0.0,6.0.0)",
com._1c.g5.v8.dt.bsl.formatting;version="[3.0.0,4.0.0)",
com._1c.g5.v8.dt.bsl.model;version="[5.0.0,6.0.0)",
com._1c.g5.v8.dt.bsl.model.util;version="[4.7.0,5.0.0)",
com._1c.g5.v8.dt.bsl.resource.owner;version="[2.0.0,3.0.0)",
com._1c.g5.v8.dt.bsl.services;version="[7.0.0,8.0.0)",
com._1c.g5.v8.dt.bsl.ui;version="[9.0.0,10.0.0)",
com._1c.g5.v8.dt.bsl.ui.contentassist;version="[8.0.0,9.0.0)",
com._1c.g5.v8.dt.bsl.ui.editor;version="[9.0.0,10.0.0)",
com._1c.g5.v8.dt.bsl.ui.event;version="[5.0.0,6.0.0)",
com._1c.g5.v8.dt.bsl.ui.menu;version="[6.0.0,7.0.0)",
com._1c.g5.v8.dt.bsl.ui.contentassist;version="[9.0.0,10.0.0)",
com._1c.g5.v8.dt.bsl.ui.editor;version="[10.0.0,11.0.0)",
com._1c.g5.v8.dt.bsl.ui.event;version="[6.0.0,7.0.0)",
com._1c.g5.v8.dt.bsl.ui.menu;version="[7.0.0,8.0.0)",
com._1c.g5.v8.dt.bsl.ui.quickfix;version="[4.1.0,5.0.0)",
com._1c.g5.v8.dt.bsl.util;version="[8.0.0,9.0.0)",
com._1c.g5.v8.dt.common;version="[6.0.0,7.0.0)",
Expand All @@ -49,8 +49,8 @@ Import-Package: com._1c.g5.ides.ui.texteditor.xtext.embedded;version="[6.0.0,7.0
com._1c.g5.wiring;version="[2.2.0,3.0.0)",
com._1c.g5.wiring.binder;version="[1.1.0,2.0.0)",
com.e1c.g5.v8.dt.bsl.check.qfix;version="[3.0.0,4.0.0)",
com.e1c.g5.v8.dt.check.qfix;version="[2.0.0,3.0.0)",
com.e1c.g5.v8.dt.check.qfix;version="[3.0.0,4.0.0)",
com.e1c.g5.v8.dt.check.qfix.components;version="[1.0.0,2.0.0)",
com.e1c.g5.v8.dt.check.settings;version="[3.0.0,4.0.0)",
com.e1c.g5.v8.dt.check.settings;version="[4.0.0,5.0.0)",
com.e1c.v8codestyle.bsl;version="[0.7.0,0.8.0)",
com.e1c.v8codestyle.bsl.strict;version="[0.7.0,0.8.0)"
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private Triple<Integer, Integer, String> getFormatedDocComment(Module module, IT
int methodOffset = lines.get(0).getOffset();
int length = lines.get(lines.size() - 1).getEndOffset() - methodOffset;

String lineFormatter = proposalProvider.getLineFormatter(module, methodOffset, viewer.getDocument());
String lineFormatter = proposalProvider.getLineFormatter(module, viewer.getDocument(), methodOffset);
IV8Project project = v8projectManager.getProject(module);
boolean oldFormat = (project != null && project.getProject() != null)
? this.bslPreferences.getDocumentCommentProperties(project.getProject()).oldCommentFormat() : true;
Expand Down
Loading
Loading