tidev / vscode-titanium

Titanium SDK development tools and UI package for Visual Studio Code.
Apache License 2.0
38 stars 19 forks source link

Provide functionality to check/update SDKs #48

Closed adamtarmstrong closed 5 years ago

adamtarmstrong commented 5 years ago

Having used Appcelerator Studio for 4 years now - not having a simple GUI is the biggest gap I see that causes friction when trying to migrate from Studio to VS Code. It was very convenient, within Studio, to simply Check and update the Titanium CLI and SDKs.

If you could provide that functionality, in some kind of GUI or pseudo-GUI, instead of using the CLI, I believe this would make the migration to VS Code a no-brainer and possibly put Appcelerator in a potion to seriously consider shutting down Studio and getting out of the business of managing your own IDE.

ewanharris commented 5 years ago

Hey @adamtarmstrong,

This is a really good feature request thanks for making it! I've spent some time this week speccing out how we can achieve this in VS Code. I'd love to get your feedback on this if you have some time.

We can't really emulate the Studio update dialog (a select view alongside release notes) here unfortunately as VS Code has some constraints in the types of UIs that can be built.

When opening a Titanium project in VS Code, once a day or so (timeframe not set in stone yet), we'll check in the background for updates. If there are new updates available then we'll display a dialog like in figure 1. It'll have "Update" and "View" buttons. It will probably also outline the available updates a little better.

Figure 1: Update notification Figure 1

Figure 2: Update view in activity pane Figure 2

Figure 3: Update dialog Figure 3

cc @longton95 , @Topener for feedback too

Topener commented 5 years ago

Looking nice!

adamtarmstrong commented 5 years ago

This looks awesome!

ewanharris commented 5 years ago

Hey @adamtarmstrong, just to let you know we just shipped this today in 0.4.0! Thanks for the feature request!