I have created a new custom theme using the Yoeman theme generated and now when I pressed on F5 to open a new Host Extension window of the custom theme it is actually showing me to select environment?
I have managed to open a new Extension development window by the following step which is not the ideal way to do it but helped me to run it.
I have selected the chrome (preview) option which will create a .vscode folder in your workspace and will have one file launch.json
.
In your project directory, you will also have a .vscode folder and launch.json
file inside it. So, I have copied the content of launch.json
and pasted it in the workspace launch.json
file.
I don't know the reason how it is get solved with that but happily, I managed to open the new Extension Development Host window.
The reason for not showing up the Extension Development Host
window by pressing F5 in the first place is because my VS code workspace is not inside the project directory. The project directory contains the setup for launching the Extension Development Host
window in launch.json
. So, If I want to suggest then I would say that VS code workspace needs to be inside the project folder directory
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With