-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial project system #44
Conversation
My Opinions (I may be able to help in the future but currently I am very busy): Project Templates:
File Templates:
|
5791917
to
e243372
Compare
e243372
to
23f9923
Compare
23f9923
to
f15e6ee
Compare
@jrote1 I created a template for each of the items you mention. If you have any questions about their behavior or suggestions to change the default content, please don't hesitate to add comments. I'm not a Dart programmer so I just threw them together. |
Starting to look good! Some feedback... Much of which you're probably aware of and is just incomplete; I'm just dumping everything I see that I think we should do/discuss for completion. Happy to do some of these myself if you want; but don't want to step on your toes and create lots of conflicts right now! General
Solution explorer
Project Properties
|
General
Fixed in 35f4900
💡 Uncheck "Create directory for solution" when creating the project. Avoiding the use of a solution file and/or a project file is not a realistic goal for the upcoming release.
Fixed in 6729271
Supporting this is mostly straightforward.
❗ Cannot reproduce.
Fixed in aaac8c2 |
Generally, we should show the filesystem as-is. Since there's no "build" when executing, the concept of "included" and "excluded" files wouldn't mean anything. All tooling just behaves on the files. There is one possible exception to this relating to the "References" node which I thnk can replace all of the
Also cannot repro now. Will raise this as a new issue if it comes up again! |
Solution Explorer
Copy to Output Directory removed in 9a4e145. I prefer to defer the custom tool issue.
Fixed in 74ef0d4
Injected by the NuGet extension, generally outside the control of this extension.
❗ Needs to be a .ico file to use for this. Currently I only see a .png.
❓ Can you provide a list of specific items that you want to see addressed? |
Is this done by name? For now, I think we should hide
I've converted this; should be in repo now.
I think most of those Isaw where actually on the Solution; so we probably can't change them. On the project I think we should hide Build, Rebuild, Clean though (and ideally NuGet, but sounds like that might not be trivial). |
Project Properties
This is a bit complicated. I recommend leaving the current behavior in place right now and addressing this as an independent issue after the initial project system is merged.
❓ Could output type could be relevant if the build produces redistributable packages of some form (e.g. "bundles"), or a dart2js output? What about using target virtual machine as and indicator of Dartium or some other runtime?
I recommend leaving the current behavior in place right now and addressing this as an independent issue after the initial project system is merged.
The .dartproj.user file is the place to store this information. We can address this as a separate issue after the initial project system is merged, and I can outline the specific manner in which items are read from / written to this file.
Platform is relevant at least for console applications, since Dart is available in both x86 and x64 flavors. Could also be used to switch between specific browsers (e.g. "Chrome" could be considered a platform). Need to compare this use case to other project types.
Disabled debug commands in 70f4637.
I recommend leaving the UI in place until we know for sure what the Build command does.
See above.
Fixed in 306c30b. |
Applied to project templates in 8ee45bf |
I've added #57 to look at this later.
Using Dartium/Chrome/etc. doesn't really feel right in "target machine", as it's not really a target, nothing changes; it's just the browser to launch. In normal ASP.NET web apps, there's a browser-selector; which would be ideal to use for this; but I don't know if it's reusable. If not, we do need browser selection, though I don't think it should be named "target".
Yeah, this should be dealt with as part of #17.
Yeah, this should also be part of #17.
This will be handled by the users choice of SDK; it's not really a "target". When executing, we can either use |
My comment was actually about the options on the Debug tab rather than the commands! :) |
Fixes #9
Remaining work
Need to disable the scanning, and only enable Dart analysis for non-.dartproj projects if/when a Dart file which is in that project gets opened(Cannot scan projects using DTE #38)