76 captures
12 Aug 2021 - 25 Dec 2024
Jan FEB Mar
12
2021 2022 2023
success
fail

About this capture

COLLECTED BY

Organization: Internet Archive

Focused crawls are collections of frequently-updated webcrawl data from narrow (as opposed to broad or wide) web crawls, often focused on a single domain or subdomain.

Collection: github.com

TIMESTAMPS

The Wayback Machine - http://web.archive.org/web/20220212073233/https://docs.github.com/ja/codespaces/developing-in-codespaces/using-codespaces-in-visual-studio-code
 
Skip to main content
GitHub Docs

All products
GitHub Codespaces


Codespaces 使

Quickstart for Codespaces
Deep dive into Codespaces

Setting up your repository for Codespaces

Introduction to dev containers
Add a dev container to your repository
Setting a minimum machine spec

Customizing your codespace

Personalize your codespaces
Change the machine type
Set the default editor
Set the default region
Set the timeout
Prebuild Codespaces

codespace 

Codespaces lifecycle
Create a codespace
Develop in a codespace


Delete a codespace


Connecting to a private network
Visual Studio Code
GitHub CLI

Codespaces 


Repository access
Security logs
GPG 

Managing your organization

Enable Codespaces
Manage billing

Repository access

Machine type access



Understanding billing

Copilot in Codespaces
VS Code Command Palette
Security in Codespaces
Disaster recovery



Codespace 
Exporting changes
Creation and deletion

Dotfiles
Port forwarding
Codespaces clients
Working with support
Web-based editor




GitHub Codespaces/
codespace /
Visual Studio Code
Free, Pro, & Team
Free, Pro, & Team
Enterprise Cloud

English
 (Simplified Chinese)
 (Japanese)
Español (Spanish)
Português do Brasil (Portuguese)

 
GitHub Docs

GitHub Codespaces/
codespace /
Visual Studio Code

GitHub Codespaces

Get started
Account and profile
Authentication
Repositories
GitHub
Enterprise administrators
Billing and payments
Organizations
Code security
Pull requests
GitHub Issues
GitHub Actions
GitHub Codespaces
GitHub Packages
Search on GitHub
Developers
REST API
GraphQL API
GitHub CLI
GitHub Discussions
GitHub Sponsors
Building communities
GitHub Pages
Education
GitHub Desktop
GitHub Support
Atom
Electron
CodeQL
npm


Free, Pro, & Team

Free, Pro, & Team
Enterprise Cloud




English
 (Simplified Chinese)
 (Japanese)
Español (Spanish)
Português do Brasil (Portuguese)

 


Using Codespaces in Visual Studio Code

:

About Codespaces in Visual Studio Code
Prerequisites
Creating a codespace in Visual Studio Code
Opening a codespace in Visual Studio Code
Changing the machine type in Visual Studio Code
Deleting a codespace in Visual Studio Code
Switching to the Insiders build of Visual Studio Code
You can develop in your codespace directly in Visual Studio Code by connecting the GitHub Codespaces extension with your account on GitHub.



Codespaces is available for organizations using GitHub Team or GitHub Enterprise Cloud. GitHub

About Codespaces in Visual Studio Code


You can use your local install of Visual Studio Code to create, manage, work in, and delete codespaces. To use Codespaces in Visual Studio Code, you need to install the GitHub Codespaces extension. For more information on setting up Codespaces in Visual Studio Code, see "Prerequisites."

By default, if you create a new codespace on GitHub.com, it will open in the browser. If you would prefer to open any new codespaces in Visual Studio Code automatically, you can set your default editor to be Visual Studio Code. For more information, see "Setting your default editor for Codespaces."

If you prefer to work in the browser, but want to continue using your existing Visual Studio Code extensions, themes, and shortcuts, you can turn on Settings Sync. For more information, see "Personalizing Codespaces for your account."

Prerequisites


To develop in a codespace directly in Visual Studio Code, you must install and sign into the GitHub Codespaces extension with your GitHub credentials. The GitHub Codespaces extension requires Visual Studio Code October 2020 Release 1.51 or later.

Use the Visual Studio Marketplace to install the GitHub Codespaces extension. For more information, see Extension Marketplace in the Visual Studio Code documentation.




Visual Studio Code Remote Explorer Visual Studio CodeのRemote Explorerアイコン


Click Sign in to view GitHub....

Signing in to view Codespaces


To authorize Visual Studio Code to access your account on GitHub, click Allow.



Sign in to GitHub to approve the extension.







Visual Studio Code Remote Explorer Visual Studio CodeのRemote Explorerアイコン


Use the "REMOTE EXPLORER" drop-down, then click GitHub Codespaces.

The Codespaces header


Click Sign in to view Codespaces....

Signing in to view Codespaces


To authorize Visual Studio Code to access your account on GitHub, click Allow.



Sign in to GitHub to approve the extension.



Creating a codespace in Visual Studio Code


After you connect your account on GitHub.com to the GitHub Codespaces extension, you can create a new codespace.



Visual Studio Code Remote Explorer Visual Studio CodeのRemote Explorerアイコン


[Add] [Create New Codespace] 

Codespaces の [Create New Codespace] オプション




新しい Codespaces を作成するためのリポジトリを検索する




新しい Codespaces を作成するためのブランチを検索する




新しい Codespaces のインスタンスタイプ

Note: Your choice of available machine types may be limited by a policy configured for your organization, or by a minimum machine type specification for your repository. For more information, see "Restricting access to machine types" and "Setting a minimum specification for codespace machines."



Opening a codespace in Visual Studio Code




Visual Studio Code Remote Explorer Visual Studio CodeのRemote Explorerアイコン


Under "Codespaces", click the codespace you want to develop in.



Click the Connect to Codespace icon.

The Connect to Codespace icon in Visual Studio Code

Changing the machine type in Visual Studio Code


You can run your codespace on a choice of remote machine, from 2 cores to 32 cores.  For information, see "About billing for Codespaces."

You can change the machine type of your codespace at any time.



In Visual Studio Code, open the Command Palette (shift command P / shift control P).



Search for and select "Codespaces: Change Machine Type."

Searching for a branch to create a new Codespaces


Click the codespace that you want to change.

Searching for a branch to create a new Codespaces


Choose the machine type you want to use. 


Note: Your choice of available machine types may be limited by a policy configured for your organization, or by a minimum machine type specification for your repository. For more information, see "Restricting access to machine types" and "Setting a minimum specification for codespace machines."




If the codespace is currently running, a message is displayed asking if you would like to restart and reconnect to your codespace now.

Click Yes if you want to change the machine type used for this codespace immediately.

If you click No, or if the codespace is not currently running, the change will take effect the next time the codespace restarts.


Deleting a codespace in Visual Studio Code




Visual Studio Code Remote Explorer Visual Studio CodeのRemote Explorerアイコン


[Codespaces] 



[Delete Codespace] 

GitHub で Codespaces を削除する

Switching to the Insiders build of Visual Studio Code


You can use the Insiders Build of Visual Studio Code within Codespaces.



In bottom left of your Codespaces window, select Settings.



From the list, select "Switch to Insiders Version".

Clicking on "Insiders Build" in Codespaces


Once selected, Codespaces will continue to open in Insiders Version.



このドキュメントは役立ちましたか?

プライバシーポリシー

GitHubPull Request

OR, 

Provide GitHub Feedback


© 2022 GitHub, Inc.





GitHub

 API


GitHub