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)
- Android Studio exception
- Error on Android Studio
- opciones para solucionar el error, Por favor
- Error getting Flutter sdk information. HOT 3
- Frozen files followed by crash after abruptly closing debugger
- [New Feature] Click on the widget to jump to the corresponding line of code in the IDE
- IDE error HOT 1
- NullPointerException when getting Flutter SDK information HOT 3
- Flutter Plugin Exception HOT 2
- Exception in Plugin Flutter HOT 1
- Error while opening AndroidManifest.xml HOT 2
- NullPointerException in Flutter plugin on Android Studio Jellyfish | 2023.3.1 Patch 1 HOT 3
- Run test gutter icons no longer showing HOT 2
- Error while Open for Editing in Android Studio HOT 1
- Released EditorImpl held by lambda in FlutterReloadManager
- After update, it does not show any properties in flutter outline
- open android module in android studio not showing flutter HOT 1
- Error getting Flutter sdk information. HOT 1
- After last update sometimes editor automatically scrolls to a random line.
- internal error occurred while analyzing this expression android studio HOT 1
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.