On the settings page, you can set your editor preference so that any newly created codespaces are opened automatically in either {% data variables.product.prodname_vscode %} for Web or the {% data variables.product.prodname_vscode %} desktop application.
{% data reusables.user-settings.access_settings %}
{% data reusables.user-settings.codespaces-tab %}
Under "Editor preference", select the option you want.
If you choose {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_github_codespaces %} will automatically open in the desktop application when you next create a codespace. You may need to allow access to both your browser and {% data variables.product.prodname_vscode %} for it to open successfully.