Giter Club home page Giter Club logo

Comments (11)

pq avatar pq commented on July 17, 2024 1

@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.

  1. To enable Dart support
  2. To have lib/main.dart open in an editor tab
  3. To expand the lib folder in the project list
  4. To create a config
    • Name: Flutter
    • Dart file: <project dir>/lib.main.dart
    • Checked mode: disabled

Hits all these high points. 😄

from flutter-intellij.

mit-mit avatar mit-mit commented on July 17, 2024

I'd really like to see this; it was confusing having to create this manually. Can we tag v0?

from flutter-intellij.

pq avatar pq commented on July 17, 2024

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.

devoncarew avatar devoncarew commented on July 17, 2024

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.

mit-mit avatar mit-mit commented on July 17, 2024

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.

mit-mit avatar mit-mit commented on July 17, 2024

As for config, I think we roughly need:

  1. To enable Dart support
  2. To have lib/main.dart open in an editor tab
  3. To expand the lib folder in the project list
  4. To create a config
    • Name: Flutter
    • Dart file: <project dir>/lib.main.dart
    • Checked mode: disabled

from flutter-intellij.

mit-mit avatar mit-mit commented on July 17, 2024

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.

mit-mit avatar mit-mit commented on July 17, 2024

@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.

mit-mit avatar mit-mit commented on July 17, 2024

Excellent!

from flutter-intellij.

pq avatar pq commented on July 17, 2024

Re-framing this issue back to being about run config generation. We can open another to track other template generation ideas.

from flutter-intellij.

pq avatar pq commented on July 17, 2024

PR #243:

screen shot 2016-10-05 at 1 43 21 pm

🤘

from flutter-intellij.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.