Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .github/workflows/presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: build ${{ matrix.version }}
run: ./tool/github.sh
env:
Expand All @@ -38,6 +40,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Linux ${{ matrix.bot }}
run: ./tool/github.sh
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
persist-credentials: false
submodules: true

- name: "Run analysis"
uses: ossf/scorecard-action@483ef80eb98fb506c348f7d62e28055e49fe2398
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "resources/flutter"]
path = resources/flutter
url = https://github.com/flutter/tools_metadata
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.

## Getting started

1. Install Flutter SDK from [Flutter SDK download](https://flutter.dev/docs/get-started/install) or
1. Install Flutter SDK from [Flutter SDK download](https://docs.flutter.dev/get-started/install) or
[GitHub](https://github.com/flutter/flutter) and set it up according to its instructions.
2. Verify installation from the command line:
- Connect an android device with USB debugging.
Expand All @@ -47,7 +47,7 @@ name and contact info to the [AUTHORS](AUTHORS) file.
If you already have a fork, and are now installing a development environment on a new machine,
make sure you've updated your fork with the master branch
so that you don't use stale configuration options from long ago.
4. `git clone -c core.symlinks=true https://github.com/<your_name_here>/flutter-intellij`
4. `git clone -c core.symlinks=true https://github.com/<your_name_here>/flutter-intellij` --recursive
5. `cd flutter-intellij`
6. `git remote add upstream https://github.com/flutter/flutter-intellij`
The name `upsteram` can be whatever you want.
Expand Down Expand Up @@ -148,7 +148,7 @@ Check out if the directory is a symlink by open the link in IDEA, and it'll disp
Delete the file, then re-clone the repo using the below command:

```shell
git clone -c core.symlinks=true https://github.com/<your_name_here>/flutter-intellij
git clone -c core.symlinks=true https://github.com/<your_name_here>/flutter-intellij --recursive
```

**NOTE**: Avoid symlinks addition during development as possible as you can,
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ app SDK to help developers and designers build modern apps for iOS, Android and
## Documentation

- [flutter.dev](https://flutter.dev)
- [Installing Flutter](https://flutter.dev/docs/get-started/install)
- [Getting Started with IntelliJ](https://flutter.dev/docs/development/tools/ide)
- [Installing Flutter](https://docs.flutter.dev/get-started/install)
- [Getting Started with IntelliJ](https://docs.flutter.dev/development/tools/ide)

## Fast development

Expand All @@ -21,9 +21,9 @@ simulators, and hardware for iOS and Android.

## Quick-start

A brief summary of the [getting started guide](https://flutter.dev/docs/development/tools/ide):
A brief summary of the [getting started guide](https://docs.flutter.dev/development/tools/ide):

- install the [Flutter SDK](https://flutter.dev/docs/get-started/install)
- install the [Flutter SDK](https://docs.flutter.dev/get-started/install)
- run `flutter doctor` from the command line to verify your installation
- ensure you have a supported IntelliJ development environment; either:
- the latest stable version of [IntelliJ](https://www.jetbrains.com/idea/download), Community or Ultimate Edition (EAP versions are not always supported)
Expand Down
6 changes: 3 additions & 3 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Manual tests to execute before plugin releases.

## Setup

Pre-reqs: Run through the [flutter setup](https://flutter.dev/docs/get-started/install) and
[flutter getting started](https://flutter.dev/docs/development/tools/ide) guides.
Pre-reqs: Run through the [flutter setup](https://docs.flutter.dev/get-started/install) and
[flutter getting started](https://docs.flutter.dev/development/tools/ide) guides.

* Run `flutter upgrade` in a terminal to get the latest version prior to starting testing.

Expand Down Expand Up @@ -172,7 +172,7 @@ Verify installation and configuration in a fresh IDEA installation.

* Follow the instructions to
[simulate a fresh installation](https://github.com/flutter/flutter-intellij/wiki/Development#simulating-a-fresh-install).
* (If not running in a "runtime workbench", [install the plugins](https://flutter.dev/docs/development/packages-and-plugins/using-packages).)
* (If not running in a "runtime workbench", [install the plugins](https://docs.flutter.dev/development/packages-and-plugins/using-packages).)
* Open "Languages & Frameworks>Flutter" in Preferences and verify that there is
no Flutter SDK set.
* Set the Flutter SDK path to a valid SDK location.
Expand Down
8 changes: 4 additions & 4 deletions flutter-idea/src/io/flutter/FlutterBundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ flutter.initializer.module.converted.title=Flutter module type updated

flutter.reload.firstRun.title=Flutter supports hot reload!
flutter.reload.firstRun.content=Apply changes to your app in place, instantly.
flutter.reload.firstRun.url=https://flutter.dev/docs/development/tools/hot-reload
flutter.reload.firstRun.url=https://docs.flutter.dev/development/tools/hot-reload

flutter.io.gettingStarted.url=https://flutter.dev/docs/get-started/install
flutter.io.gettingStarted.IDE.url=https://flutter.dev/docs/development/tools/ide
flutter.io.runAndDebug.url=https://flutter.dev/docs/development/tools/ide/android-studio#running-and-debugging
flutter.io.gettingStarted.url=https://docs.flutter.dev/get-started/install
flutter.io.gettingStarted.IDE.url=https://docs.flutter.dev/development/tools/ide
flutter.io.runAndDebug.url=https://docs.flutter.dev/development/tools/ide/android-studio#running-and-debugging

devicelist.loading=Loading...

Expand Down
2 changes: 1 addition & 1 deletion flutter-idea/src/io/flutter/editor/FlutterColors.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public boolean isPrimary() {
colors = new Properties();

try {
colors.load(FlutterUtils.class.getResourceAsStream("/flutter/colors/material.properties"));
colors.load(FlutterUtils.class.getResourceAsStream("/flutter/resources/colors/material.properties"));
}
catch (IOException e) {
FlutterUtils.warn(LOG, e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class FlutterCupertinoColors {
colors = new Properties();

try {
colors.load(FlutterUtils.class.getResourceAsStream("/flutter/colors/cupertino.properties"));
colors.load(FlutterUtils.class.getResourceAsStream("/flutter/resources/colors/cupertino.properties"));
}
catch (IOException e) {
FlutterUtils.warn(LOG, e);
Expand Down
4 changes: 2 additions & 2 deletions flutter-idea/src/io/flutter/editor/FlutterCupertinoIcons.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class FlutterCupertinoIcons {
icons = new Properties();

try {
icons.load(FlutterCupertinoIcons.class.getResourceAsStream("/flutter/icons/cupertino.properties"));
icons.load(FlutterCupertinoIcons.class.getResourceAsStream("/flutter/resources/icons/cupertino.properties"));
}
catch (IOException e) {
FlutterUtils.warn(LOG, e);
Expand All @@ -46,6 +46,6 @@ private static Icon getIcon(String name) {
if (path == null) {
return null;
}
return IconLoader.findIcon("/flutter/icons/" + path, FlutterCupertinoIcons.class);
return IconLoader.findIcon("/flutter/resources/icons/" + path, FlutterCupertinoIcons.class);
}
}
4 changes: 2 additions & 2 deletions flutter-idea/src/io/flutter/editor/FlutterMaterialIcons.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class FlutterMaterialIcons {
icons = new Properties();

try {
icons.load(FlutterMaterialIcons.class.getResourceAsStream("/flutter/icons/material.properties"));
icons.load(FlutterMaterialIcons.class.getResourceAsStream("/flutter/resources/icons/material.properties"));
}
catch (IOException e) {
FlutterUtils.warn(LOG, e);
Expand All @@ -46,6 +46,6 @@ private static Icon getIcon(String name) {
if (path == null) {
return null;
}
return IconLoader.findIcon("/flutter/icons/" + path, FlutterMaterialIcons.class);
return IconLoader.findIcon("/flutter/resources/icons/" + path, FlutterMaterialIcons.class);
}
}
1 change: 1 addition & 0 deletions resources/flutter
Submodule flutter added at 236e03
4 changes: 0 additions & 4 deletions resources/flutter/README.md

This file was deleted.

Loading