forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add new getting started page #16709
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
Add new getting started page #16709
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
f6ed01a
Add walkthrough page
luabud 42f08bb
Add resource files for walkthrough
luabud 821fc05
Move walkthrough key to the right place
luabud 2d337ad
Add news entry
luabud 7879803
resize learn more gif
luabud 57f7805
Remove large gifs and replace them with pngs
luabud 3f8837b
Change interactive window png to light theme
luabud 7359d29
Change is'Platform' to workspacePlatform == 'Platform'
luabud a1d1ae3
Remove when == false from walkthrough
luabud abe9ecf
Fix 'explore features' section for Python walktrhough
luabud b492696
Fix 'explore features' section for Python Data Science walktrhough
luabud aa70652
Rename data sience walkthrough
luabud e5ac31a
Fix mailing list links
luabud 57d0ede
Revert "Remove when == false from walkthrough"
luabud dace3e8
Update install instructions for Linux
luabud f7d892e
Add aka.ms link for Python on windows store link
luabud 3d9bf50
Merge branch 'newgettingstartedpage2' of https://github.com/luabud/vs…
luabud d956d74
Get package.json from main
luabud 1136e09
Add walkthrough back
luabud 2726d22
Get package.json from main
luabud 858050f
Merge remote-tracking branch 'upstream/main' into newgettingstartedpage2
luabud 8cbd0e1
Fixing conflicts, thanks team!
luabud 7581608
Delete blank line
luabud 4b7ba1b
Include instructions for Fedora distros
luabud 14171a4
Capitalize "homebrew"
luabud ef61b4f
Capitalize Homebrew
luabud ddba9af
Fix typo
luabud daf2d8c
Fix typo
luabud 07348bf
Fix typo
luabud be4ce63
Fix terminal command
luabud 039ecab
Merge branch 'newgettingstartedpage2' of https://github.com/luabud/vs…
luabud f43c17a
Fix Ctrl -> Cmd for macOS instructions
luabud 6447537
Add how to open terminal in VS Code to linux instructions
luabud e0c614d
Add when:false to data science walkthrough
luabud e59c4ac
Replace ctrl + r with reload command
luabud e6e2514
Replace Python 3.9 link with aka.ms link
luabud ca22446
Fix escaping of commands and typo with sign up
luabud 84f7cce
Fix location of when:false
luabud 3c3d509
Fix data science learn more image
luabud 1897a2f
Fix duplicated ids and improve message for interpreter selection
luabud 1af9f10
Fix typo
luabud de3997a
Fix command to open file on macOS
luabud a9f9c7a
Remove tip to reload window after installing Python from windows store
luabud 2f8d552
Fix completion events for data science walkthrough
luabud 08c86d9
Add one last onCommand
luabud 69009c1
Fix shortcut
kimadeline 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add new getting started page using VS Code's API |
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
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.
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.
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,22 @@ | ||
# Install Python on Linux | ||
|
||
To install the latest version of Python on [Debian-based Linux distributions](https://www.debian.org/), you can create a new terminal (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>`</kbd>) and run the following commands: | ||
|
||
|
||
``` | ||
sudo apt-get update | ||
sudo apt-get install python3 python3-venv python3-pip | ||
``` | ||
|
||
For [Fedora-based Linux distributions](https://getfedora.org/), you can run the following: | ||
|
||
``` | ||
luabud marked this conversation as resolved.
Show resolved
Hide resolved
|
||
sudo dnf install python3 | ||
``` | ||
|
||
To verify if Python was successfully installed, run the following command in the terminal: | ||
|
||
|
||
``` | ||
python3 --version | ||
``` |
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,15 @@ | ||
# Install Python on macOS | ||
|
||
If you have [Homebrew](https://brew.sh/) installed, you can install Python by running the following command in the terminal (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>`</kbd>): | ||
|
||
``` | ||
brew install python | ||
``` | ||
|
||
If you don't have Homebrew, you can download a Python installer for macOS from [python.org](https://www.python.org/downloads/mac-osx/). | ||
|
||
To verify if Python was successfully installed, run the following command in the terminal: | ||
|
||
``` | ||
python3 --version | ||
``` |
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,14 @@ | ||
## Install Python on Windows | ||
|
||
If you don't have Python installed on your Windows machine, you can install it from the [Microsoft Store](https://aka.ms/AAd9rms). | ||
|
||
To verify it's installed, create a new terminal (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>`</kbd>) and try running the following command: | ||
|
||
``` | ||
python --version | ||
``` | ||
|
||
You should see something similar to the following: | ||
``` | ||
Python 3.9.5 | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,4 @@ | ||
|
||
- [Signup](https://aka.ms/AAAbopxr) for tips and tutorials through our mailing list. | ||
- Explore more features in our [Tutorials](https://aka.ms/AA8dqti) or check [Documentation](https://aka.ms/AA8dxwy) for tips and troubleshooting. | ||
- Take a look at our [Release Notes](https://aka.ms/AA8dxtb) to learn more about the latest features. |
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.
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,11 @@ | ||
# Run and debug your Python file | ||
|
||
To run and debug your Python file, you can follow the steps below: | ||
|
||
1. [Open](command:workbench.action.files.openFileFolder) your Python file (<kbd>Cmd</kbd> + <kbd>O</kbd>) in Visual Studio Code. | ||
|
||
2. To run your file using the Python interpreter, you can click on the play button on the top right of the editor. | ||
|
||
<img src="play-button-dark.png" scale=0.5> | ||
|
||
3. To debug your file, press <kbd>F5</kbd> and select 'Python File'. You can also open the Run and Debug view (<kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd>) and click on the `Run and Debug` button. |
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,11 @@ | ||
# Run and debug your Python file | ||
|
||
To run and debug your Python file, you can follow the steps below: | ||
|
||
1. [Open](command:workbench.action.files.openFile) your Python file (<kbd>Ctrl</kbd> + <kbd>O</kbd>) in Visual Studio Code. | ||
luabud marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
2. To run your file using the Python interpreter, you can click on the play button on the top right of the editor. | ||
|
||
<img src="play-button-dark.png" scale=0.5> | ||
|
||
3. To debug your file, press <kbd>F5</kbd> and select 'Python File'. You can also open the Run and Debug view (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd>) and click on the `Run and Debug` button. | ||
luabud marked this conversation as resolved.
Show resolved
Hide resolved
|
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.