-
Notifications
You must be signed in to change notification settings - Fork 15
Web vs code beta docs #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f6d1fb9
add intro
necoline f28ffa8
change details
necoline 2c4325f
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline 890bb4c
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline 87f505c
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline a41b12f
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline 3e94dfb
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline a918890
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline 6512de1
Update packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
necoline File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
packages/projects-docs/pages/learn/editors/web/vscode-web.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: VS Code Web | ||
description: Introduction to a customized version ofVS Code for the web | ||
--- | ||
|
||
import { Callout } from 'nextra-theme-docs' | ||
|
||
# VS Code for the web | ||
|
||
Productivity is key when working in an editor. For this reason, we have embedded our CodeSandbox features within the powerful and well loved VS Code. | ||
|
||
The web editor looks and functions as VS Code for the web, with a few built in CodeSandbox tools. | ||
necoline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
 | ||
|
||
The activity bar holds all the tools for managing your developer experience. The web editor will always contain the standard VS Code tools, namely the File explorer, Search, Source Control, Run and Debug and the Extension marketplace. | ||
|
||
The web editor also comes with a CodeSandbox Devtool extension which provides access to all the unique Code Sandbox features (more on that later). | ||
|
||
In the terminal panel, you can see all the running tasks, any private terminals as well as shared terminals (managed by CodeSandbox). | ||
necoline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
While the layout is entirely customizable, the standard layout opens previews, and support tools like documentation and setup tools in the right editor panel. | ||
|
||
# Things to know when switching over | ||
necoline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
All CodeSandbox DevTools, such as previews, tasks, and shared terminals, are now nested under the “CodeSandbox DevTools” panel on the left sidebar. From there, you can manage all these DevTools when needed, but most of these actions will still be performed automatically, just like before. For example, if your project has a task configured that runs the dev server on VM startup, it will automatically open the preview for you when you open the project. | ||
|
||
## Tasks, Terminals and Previews | ||
|
||
Preview ports, Tasks and shared terminals are controlled through the devtool extension in the sidebar. | ||
|
||
 | ||
|
||
**Tasks** | ||
|
||
Tasks set in the `tasks.json` file will be listed in the Devtool extension. Here you can see all the tasks, run, stop or restart the tasks. | ||
|
||
**Previews** | ||
|
||
Tasks that spin up previews will be accessible in a port listed under `Previews` | ||
|
||
You can also see the list of ports in the terminal panel under `Ports` | ||
|
||
 | ||
|
||
**Terminals** | ||
|
||
There are three types of terminals. The first | ||
necoline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
1. Native terminal: this is managed by VS Code when you open a terminal. This is a private terminal to you that others don’t see. | ||
necoline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
2. Tasks: tasks are run by Pitcher - an internal CodeSandbox service. The output of a task is streamed to a terminal window. These are displayed as a VS Code task so it is easily distinguishable from a terminal. | ||
necoline marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
 | ||
|
||
3. Shared terminal: In the sidebar, you can open a shared terminal. This terminal is managed by Pitcher, allowing others to see it. | ||
|
||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.18 MB
packages/projects-docs/pages/learn/images/vscode-web-shared-terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.