├── .gitignore
├── LICENSE
├── README.md
├── README_CN.md
├── release
├── build-runner-helper_1.0.jar
├── build-runner-helper_1.1.jar
├── build-runner-helper_1.2.jar
├── build-runner-helper_1.3.jar
├── build-runner-helper_1.4.jar
├── build-runner-helper_1.5.jar
├── build-runner-helper_1.6.jar
├── build-runner-helper_1.7.jar
├── build-runner-helper_1.8.jar
└── build-runner-helper_1.9.jar
├── resources
├── META-INF
│ ├── plugin.xml
│ └── pluginIcon.svg
└── icons
│ ├── ic_build.svg
│ ├── ic_clean.svg
│ ├── ic_excavator.svg
│ ├── ic_kill_flutter.svg
│ ├── ic_kill_gradle.svg
│ ├── ic_rebuild.svg
│ └── ic_watch.svg
└── src
└── cn
└── neday
└── excavator
├── action
├── BaseAction.kt
├── generation
│ ├── BaseGenerationAction.kt
│ ├── BuildAction.kt
│ ├── CleanAction.kt
│ ├── RebuildAction.kt
│ └── WatchAction.kt
└── kill
│ ├── BaseKillAction.kt
│ ├── KillFlutterAction.kt
│ └── KillGradleAction.kt
├── checker
├── ICheck.kt
└── ProjectChecker.kt
├── service
├── WatchService.kt
└── WatchServiceImpl.kt
├── setting
├── Setting.form
└── Setting.java
└── tool
├── ConsoleToolFactory.form
└── ConsoleToolFactory.java
/.gitignore:
--------------------------------------------------------------------------------
1 | /.idea
2 | /out
3 | /*.iml
4 | /*.jar
5 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 苏晟
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # [Flutter-Build-Runner-Helper](https://plugins.jetbrains.com/plugin/14442-flutter-build-runner-helper)
2 |
3 | ## [2.0.0] has migrated to [Flutter - Toolkit](https://github.com/nEdAy/Flutter-Toolkit)
4 | ## [2.0.0] 已经迁移到 [Flutter-Toolkit](https://github.com/nEdAy/Flutter-Toolkit)
5 |
6 | [](https://opensource.org/licenses/MIT)
7 |
8 | [Download Link - 下载地址](https://plugins.jetbrains.com/plugin/14442-flutter-build-runner-helper)
9 |
10 | ### [中文文档](https://github.com/nEdAy/Flutter-Build-Runner-Helper/blob/master/README_CN.md)
11 |
12 | A plugin for Android Studio(IntelliJ IDEA) that speeds up your day-to-day flutter development. Flutter Build Runner
13 | Helper, to make it easier to execute build_runner commands.
14 |
15 | ### Feature
16 |
17 | Adds the following build_runner commands to Android Studio(IntelliJ IDEA):
18 |
19 | - Build : flutter packages pub run build_runner build
20 | - Rebuild : flutter packages pub run build_runner build --delete-conflicting-outputs
21 | - Watch : flutter packages pub run build_runner watch
22 | - Clean : flutter packages pub run build_runner clean
23 |
24 | - Kill Gradle : Kill Gradle if a current task is running
25 | - Kill Flutter : Kill Flutter if a current task is running
26 |
27 | There are two basic ways to invoke a command:
28 |
29 | - Click the action button in the Toolbar.
30 | - Use the shortcut key.
31 |
32 | ### Instruction manual
33 |
34 | Option 0: Search the Plugins Marketplace for the 'Flutter Build Runner Helper' and install it.
35 |
36 | Option 1: Open this [link](https://plugins.jetbrains.com/plugin/14442-flutter-build-runner-helper) and install to IDE.(
37 | Compatible with IntelliJ IDEA, Android Studio, WebStorm)
38 |
39 | Option 2: Download the latest JAR package in the release folder and manually 'Install Plugin from Disk...'.
40 |
41 | ### MIT License
42 |
43 | Copyright (c) 2021 苏晟
44 |
45 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
46 | documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
47 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
48 | persons to whom the Software is furnished to do so, subject to the following conditions:
49 |
50 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
51 | Software.
52 |
53 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
54 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
55 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
56 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
57 |
--------------------------------------------------------------------------------
/README_CN.md:
--------------------------------------------------------------------------------
1 | # [Flutter-Build-Runner-Helper](https://plugins.jetbrains.com/plugin/14442-flutter-build-runner-helper)
2 |
3 | [](https://opensource.org/licenses/MIT)
4 |
5 | ### [English Document](https://github.com/nEdAy/Flutter-Build-Runner-Helper/blob/master/README.md)
6 |
7 | 一个Android Studio的插件(IntelliJ IDEA),加速你的日常Flutter开发。 Flutter build_runner 助手,使执行build_runner命令更简单。
8 |
9 | > **如果你觉得这个工具对你有用,随手给个 Star,让我知道它是对你有帮助的,我会继续更新和维护它。**
10 |
11 | ### 功能
12 |
13 | Adds the following build_runner commands to Android Studio:
14 |
15 | - Build : flutter packages pub run build_runner build
16 | - Rebuild : flutter packages pub run build_runner build --delete-conflicting-outputs
17 | - Watch : flutter packages pub run build_runner watch
18 | - Clean : flutter packages pub run build_runner clean
19 |
20 | - Kill Gradle : Kill Gradle if a current task is running
21 | - Kill Flutter : Kill Flutter if a current task is running
22 |
23 | There are two basic ways to invoke a command:
24 |
25 | - Click the action button in the Toolbar.
26 | - Use the shortcut key.
27 |
28 | ### 使用方法
29 |
30 | Option 0: Search the Plugins Marketplace for the 'Flutter Build Runner Helper' and install it.
31 |
32 | Option 1: Open this [link](https://plugins.jetbrains.com/plugin/14442-flutter-build-runner-helper) and install to IDE.(
33 | Compatible with IntelliJ IDEA, Android Studio, WebStorm)
34 |
35 | Option 2: Download the latest JAR package in the release folder and manually 'Install Plugin from Disk...'.
36 |
37 | ### MIT License
38 |
39 | Copyright (c) 2021 苏晟
40 |
41 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
42 | documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
43 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
44 | persons to whom the Software is furnished to do so, subject to the following conditions:
45 |
46 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
47 | Software.
48 |
49 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
50 | WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
51 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
52 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/release/build-runner-helper_1.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.0.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.1.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.2.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.3.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.4.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.5.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.5.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.6.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.6.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.7.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.7.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.8.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.8.jar
--------------------------------------------------------------------------------
/release/build-runner-helper_1.9.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nEdAy/Flutter-Build-Runner-Helper/7b9c0bd8b18b32764ff82bc1967bcdbebfcf383d/release/build-runner-helper_1.9.jar
--------------------------------------------------------------------------------
/resources/META-INF/plugin.xml:
--------------------------------------------------------------------------------
1 |
2 | cn.neday.excavator
3 | Flutter Build Runner Helper
4 | 1.9
5 | nEdAy
6 |
7 |
9 | Flutter Build Runner Helper, to make it easier to execute build_runner commands.
10 | Adds the following build_runner commands to Android Studio:
11 |
12 |
Build : flutter packages pub run build_runner build
13 |
Rebuild : flutter packages pub run build_runner build --delete-conflicting-outputs
14 |
Watch : flutter packages pub run build_runner watch
15 |
Clean : flutter packages pub run build_runner clean
16 |
17 |
Kill Gradle : Kill Gradle if a current task is running
18 |
Kill Flutter : Kill Flutter if a current task is running
19 |
20 |
21 | There are two basic ways to invoke a command:
22 |
23 |
Click the action button in the Toolbar.
24 |
Use the shortcut key.
25 |
26 | ]]>
27 |
28 | 1.9
30 |
31 |
Modify the Project SDK to Android Studio AI-193.6911.18.40.6514223.
32 |
33 | 1.8
34 |
35 |
Modify the Project SDK to IntelliJ IDEA IU-201.8743.12.
36 |
37 | 1.7
38 |
39 |
Add two new Actions: 'Kill Gradle' and 'Kill Flutter'.
40 |
41 | 1.6
42 |
43 |
Only can choose single file,can not choose folder when choose where is flutter path.
44 |
Fixed an exception when the flutter path was set in the preference.(The path was never set before)
45 |
46 | 1.5
47 |
48 |
Only Flutter Project show icons of actions.
49 |
Both output inputStream and errorStream.
50 |
51 | 1.4
52 |
53 |
Optimize UI/Hint.
54 |
The Logcat automatically follows to the bottom of the scroll.
55 |
56 | 1.3
57 |
58 |
Add Setting Configurable.
59 |
Add FileChooserDescriptor.withFileFilter.
60 |
61 | 1.2
62 |
63 |
Add log output to ToolWindow.
64 |
65 | 1.1
66 |
67 |
Update the action icon.
68 |
Add plugin icon.
69 |
Fixed the issue: flutter path not found in Mac OS.