一个Android Studio的插件(IntelliJ IDEA),加速你的日常Flutter开发。 Flutter build_runner 助手,使执行build_runner命令更简单。
如果你觉得这个工具对你有用,随手给个 Star,让我知道它是对你有帮助的,我会继续更新和维护它。
Adds the following build_runner commands to Android Studio:
Action | Description |
---|---|
Kill Gradle | Kill Gradle if a current task is running |
Kill Flutter | Kill Flutter if a current task is running |
Analyze | flutter analyze |
Pub get | flutter pub get |
Build | flutter pub run build_runner build |
Rebuild | flutter pub run build_runner build --delete-conflicting-outputs |
Watch | flutter pub run build_runner watch |
Clean | flutter pub run build_runner clean |
There are two basic ways to invoke a command:
- Click the action button in the Toolbar.
- Open the dart entity class file, right-click the mouse, or just use the shortcut key:
Control+Enter
( Windows:Alt+Insert
), You can click the action options. - Use the shortcut key.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for " Flutter-Toolkit" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Copyright (c) 2022 苏晟
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Plugin based on the IntelliJ Platform Plugin Template.