Comments (8)
Presumably you need to pass arguments/filenames to some of these - how does Atom handle that? Does it give you a file selector or something?
Do you think it'd make sense to automatically run pub get
on a change/save to pubspec.yaml
?
from dart-code.
Do you mean pub get
? I think it would be nice. IIRC the Atom plugin shows an alert when pubspec.yaml
changes asking if you want to run pub get.
I'm not really sure how the atom plugin handles these commands, I would assume most of them just to need to be told which directory to run on, the current directory. But I believe you can only run them when you are in the editor view.
from dart-code.
Whoops, I did mean pub get
(commented edited for clarity).
I'm not all that familiar with Dart but I figured if you have two files in ./bin
and wanted to run, you'd need to say which one?
I should review the APIs for tasks and commands in Code and see what the options are.
from dart-code.
Yeah, I think with pub run
, pub global run
, and pub global activate
I think you do need to pass in the file you want.
from dart-code.
pub get
and pub upgrade
are now exposed -
from dart-code.
I think pub run
might sit well with (or after) #56.
The other two seem to me more like things you're want to just run in a shell (Code has an integrated shell, though I've not use it much yet) rather than relate to the project you're editing - is that correct? If not, could you add some more info on the use cases?
from dart-code.
I don't think adding the remaining commands here would be all that useful - Code has a builtin terminal where you can run whatever you want and I think that would be a better user experience than us having to prompt the user with some file picker (and figure out how to filter it).
I also think in most cases for running your app you'd be better doing it via the launch.json
stuff and hitting F5
to run?
Let me know if anyone thinks there's still value in what's left here and how they think it should work; otherwise I may close this.
from dart-code.
See above comment - closing this due to no input. I don't think there's value in the remaining commands (get/upgrade are already done).
from dart-code.
Related Issues (20)
- Improve discoverability of additional args for testing HOT 8
- Switch to the DTD sidebar when using a new enough SDK HOT 5
- DevTools Performance page fails to load + other issues on Flutter master when 'version' file is missing HOT 4
- Flutter testing args not considered for analysis before execution HOT 6
- Facilitate Exception handling by exposing all Exception that could be thrown or bubble up when calling a fucntion HOT 1
- DevTools is blank when several tools are open HOT 4
- Connection to server got closed. Server will not be restarted. HOT 10
- Switch to parsing the new Flutter version file `bin/cache/flutter.version.json` instead of the legacy one `version` and remove workaround
- In a monorepo, when you select the debug session and select "Dart & Flutter...", all projects are shown, but all with the root folder name instead of the project name. HOT 2
- Property flavors is not allowed.yaml-schema: pubspec.yaml HOT 5
- Dart language server crashes on startup HOT 3
- "Performing refactor..." toast for "Move class to file"
- Issue on website (Modifying Files Outside Workspace) HOT 1
- Evaluation not working HOT 8
- Bug report: Auto complete doesn't add import to show clause HOT 4
- Add an option to always show libraries against completions even if they're already in-scope and won't add an import HOT 10
- Feature request: import show hints HOT 1
- Feature request: automatic imports HOT 1
- Prefixed identifiers shouldn't be hidden from completion by the same identifier with no/different prefixes HOT 7
- Issue on website (Launch Configuration) 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 dart-code.