Skip to content

Commit ddb9a46

Browse files
committed
Merge branch 'main' into feat/require-dart-2-12
2 parents e6c40b1 + 2a027e3 commit ddb9a46

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/presubmit.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,14 @@ jobs:
9393
run: |
9494
./gradlew :test --tests "com.jetbrains.dart.analysisServer.*"
9595
working-directory: third_party
96-
96+
- name: Upload build artifacts
97+
uses: actions/upload-artifact@v4
98+
if: always()
99+
with:
100+
name: build
101+
path: |
102+
**/build/reports/
103+
**/build/test-results/
97104
# Job 4: Verify Plugin
98105
verify-plugin:
99106
needs: build-plugin

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Dart IntelliJ Plugin
22

3+
[![presubmit](https://github.com/flutter/dart-intellij-third-party/actions/workflows/presubmit.yaml/badge.svg)](https://github.com/flutter/dart-intellij-third-party/actions/workflows/presubmit.yaml)
4+
35
## Development setup
46

57
1. Clone this repository with
@@ -99,4 +101,4 @@ Before the move to this repository, the project had 4 working and active branche
99101
- `252` - 2025.2
100102
- `master` - the current master for intellij-community, targeting the next version 2025.3
101103

102-
In its original location the project was built with Bazel; however, in github.com/flutter, the project is built using Gradle (see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html).
104+
In its original location the project was built with Bazel; however, in github.com/flutter, the project is built using Gradle (see https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html).

third_party/src/test/java/com/jetbrains/dart/analysisServer/DartServerHighlightingTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ public void testNavigationTargetOffsetUpdated() {
273273

274274
getEditor().getCaretModel().moveToOffset(0);
275275
myFixture.type("foo \b");
276+
myFixture.doHighlighting();
277+
276278
// Disable for pre-3.7.0 Dart SDK versions:
277279
if(StringUtil.compareVersionNumbers(service.getSdkVersion(), "3.7.0") >= 0) {
278280
checkRegions(regions, ContainerUtil.map2Array(ranges, TextRange.class, range -> range.shiftRight(3)));

0 commit comments

Comments
 (0)