Comments (11)
@pq I was thinking that this is not blocking for fishfood
👍
That said, I got it mostly working yesterday so I should have a PR later this AM.
- To enable Dart support
- To have lib/main.dart open in an editor tab
- To expand the lib folder in the project list
- To create a config
- Name:
Flutter
- Dart file:
<project dir>/lib.main.dart
- Checked mode:
disabled
Hits all these high points. 😄
from flutter-intellij.
I'd really like to see this; it was confusing having to create this manually. Can we tag v0?
from flutter-intellij.
Questions on a few defaults:
- Config name. (Same as project?)
- Dart file? (
lib/main.dart
if found, or?) - Working dir? (Project root?)
from flutter-intellij.
Should we solve this by having flutter create
emit the right intellij metadata? So IntelliJ doesn't create the launch config when opening an existing flutter project, but flutter projects (created by flutter create
) just have all the bootstrapping info from the get go?
from flutter-intellij.
That is a good point Devon! We do that today with the .atom folder, and could just as well create a .idea folder with the config! CC @danrubel WDYT?
It looks like .idea folder is preferred over the .ipf file format:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206915235-IPR-vs-IDEA
from flutter-intellij.
As for config, I think we roughly need:
- To enable Dart support
- To have lib/main.dart open in an editor tab
- To expand the lib folder in the project list
- To create a config
- Name:
Flutter
- Dart file:
<project dir>/lib.main.dart
- Checked mode:
disabled
- Name:
from flutter-intellij.
I went through an experiment making the changes I described above, and between each change made a commit to git. The resulting commit log (read from the bottom and up) shows a pretty staggering set of changes :-|
from flutter-intellij.
@pq I was thinking that this is not blocking for fishfood (we can provide config instructions), but that it blocks the external alpha instead. WDYT?
from flutter-intellij.
Excellent!
from flutter-intellij.
Re-framing this issue back to being about run config generation. We can open another to track other template generation ideas.
from flutter-intellij.
PR #243:
🤘
from flutter-intellij.
Related Issues (20)
- No run button on individual testWidget on Android Studio HOT 2
- Bloc
- Not compatible with the version of your running IDE Build #IU-242.20224.300, built on August 7, 2024 HOT 33
- flutter plugin 80.0.2 can not viewer debug info HOT 1
- DevTools window makes AS freeze completely HOT 4
- Plugin 'Flutter' (version '81.0.2') is not compatible with the current version of the IDE, because it requires build 241.* or older but the current build is IU-242.20224.300 HOT 1
- "Open Android module in Android Studio" & "Open iOS module in Xcode" missing after upgrading 80.x
- custom_lint: IDE Quick actions and errors are not shown in GUI
- In Android Studio, "new package" is shown where it should be "new folder"
- Flutter 3.24 Breaks Extension Autocomplete HOT 1
- Process naming of Flutter device processes in Android Studio
- Flutter IntelliJ plugin incompatible with latest IntelliJ Idea release 2024.2 HOT 9
- Please add support for latest IntelliJ Idea 2024.2 HOT 3
- The Flutter Plugin 81.0.2 stopped working in IntelliJ IDEA 2024.2.0 HOT 1
- Exception on Flutter Test run configuration
- Unresolved reference: io , Unresolved reference:MethodCallHandler
- [FlutterTestRunner]: Missing nodeId: TestStartedEvent{name='', running=true}
- [FlutterTestRunner]: Parent node id should be defined: TestStartedEvent{name='', running=true}
- DTD workspace roots not getting set HOT 1
- Add an option to reload a tool window tab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-intellij.