Combining these takes a bit of tweaking.
CTRL-` starts the command line in a nice window, but I would like to use a different startup-folder.
How to change the default terminal directory in vscode?
Read from this link:
Navigate to File -> Preferences -> Settings.
Type cwd in search.
Choose Terminal > Integrated: Cwd settings.
Type the default path you want to set in the text block below (simply, no need for double hashes to escape)
No need for saving, It’s automatic.
Restart VS Code.
Next issue is trying to start cordova. It gives an error which can also be solved by setting the correct permissions for the Powershell. Read this link:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Have a nice day!
Read the full article here.
And don’t forget to read the official documentation as well.
MIGRATING TO THE CORDOVA CLI
With PhoneGap Build shutting down, many developers are now left trying to find options to continue building their Cordova-based applications. While several new services like Ionic’s Appflow and Monaca Cloud have entered the market as replacements. Their cost might be too much for the independent developer. One of the things that attracted many to use PhoneGap Build was it was included as part of your Creative Cloud subscription. There was even a free version for open-source projects. For those developers who are either resource constrained or want complete control over their build system, they should migrate to using the Cordova CLI and building locally.
There are four general steps we need to take to accomplish this:
Continue reading Phonegap Build died! Moving on to Cordova CLI…
- Install the Cordova CLI
- Install the native build environments
- Migrate our existing PhoneGap Build App to use Cordova
- Build and Test!