Skip to content

Commit ad34b33

Browse files
authored
Merge branch 'master' into gewarren-bugfixes
2 parents 133a8b1 + 13414fd commit ad34b33

File tree

71 files changed

+1049
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1049
-105
lines changed

.openpublishing.publish.config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,22 @@
6060
},
6161
"build_entry_point": "docs",
6262
"template_folder": "_themes"
63+
},
64+
{
65+
"docset_name": "vsdata",
66+
"build_source_folder": "vsdata",
67+
"build_output_subfolder": "vsdata",
68+
"locale": "en-us",
69+
"monikers": [],
70+
"moniker_ranges": [],
71+
"open_to_public_contributors": false,
72+
"type_mapping": {
73+
"Conceptual": "Content",
74+
"ManagedReference": "Content",
75+
"RestApi": "Content"
76+
},
77+
"build_entry_point": "docs",
78+
"template_folder": "_themes"
6379
}
6480
],
6581
"notification_subscribers": [],

docs/data-tools/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Learn how to use data tools in Visual Studio to develop and test data solutions
3030
</a>
3131
</li>
3232
<li>
33-
<a href="https://msdn.microsoft.com/library/hh272686\(v=vs.103\).aspx">
33+
<a href="https://msdn.microsoft.com/library/hh272686(v=vs.103).aspx">
3434
<div class="cardSize">
3535
<div class="cardPadding">
3636
<div class="card">
@@ -48,7 +48,7 @@ Learn how to use data tools in Visual Studio to develop and test data solutions
4848
</a>
4949
</li>
5050
<li>
51-
<a href="/azure-docs/data-lake-analytics/data-lake-analytics-data-lake-tools-get-started.md">
51+
<a href="/azure/data-lake-analytics/data-lake-analytics-data-lake-tools-get-started">
5252
<div class="cardSize">
5353
<div class="cardPadding">
5454
<div class="card">
@@ -66,7 +66,7 @@ Learn how to use data tools in Visual Studio to develop and test data solutions
6666
</a>
6767
</li>
6868
<li>
69-
<a href="/azure-docs/hdinsight/hdinsight-hadoop-visual-studio-tools-get-st.md">
69+
<a href="/azure/hdinsight/hdinsight-hadoop-visual-studio-tools-get-started">
7070
<div class="cardSize">
7171
<div class="cardPadding">
7272
<div class="card">
@@ -84,7 +84,7 @@ Learn how to use data tools in Visual Studio to develop and test data solutions
8484
</a>
8585
</li>
8686
<li>
87-
<a href="/azure-docs/stream-analytics/stream-analytics-tools-for-visual-studio.md">
87+
<a href="/azure/stream-analytics/stream-analytics-tools-for-visual-studio">
8888
<div class="cardSize">
8989
<div class="cardPadding">
9090
<div class="card">

docs/python/TOC.md

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,45 @@
1-
# [Python in Visual Studio](python-in-visual-studio.md)
2-
## [Installation](installation.md)
3-
### [Python Environments](python-environments.md)
4-
### [Managing Python on Azure App Service](managing-python-on-azure-app-service.md)
5-
### [Azure SDK for Python](azure-sdk-for-python.md)
6-
## [Getting Started with Python](getting-started.md)
7-
### [Publishing to Azure](publishing-to-azure.md)
8-
### [Creating a C++ Extension for Python](cpp-and-python.md)
1+
# [Overview](python-in-visual-studio.md)
2+
# [Installation](installation.md)
3+
# Quickstarts
4+
## [Create a project from existing code](quickstart-01-project-from-existing.md)
5+
## [Create a project from a template](quickstart-02-project-from-template.md)
6+
## [Create a project from a repository](quickstart-03-project-from-repository.md)
7+
## [Create a project from a Cookiecutter template](quickstart-04-project-from-cookiecutter.md)
8+
# Tutorials
9+
## [0 - Install Python support](vs-tutorial-01-00.md)
10+
## [1 - Create a new Python project](vs-tutorial-01-01.md)
11+
## [2 - Writing and running code](vs-tutorial-01-02.md)
12+
## [3 - Using the interactive REPL window](vs-tutorial-01-03.md)
13+
## [4 - Running code in the debugger](vs-tutorial-01-04.md)
14+
## [5 - Installing packages and managing Python environments](vs-tutorial-01-05.md)
15+
## [6 - Working with Git](vs-tutorial-01-06.md)
16+
# Concepts
17+
## [Python Environments](python-environments.md)
918
## [Python Projects](python-projects.md)
1019
### [Web Project Templates](template-web.md)
1120
### [Django Web Project Template](template-django.md)
1221
### [Azure Cloud Service Template](template-azure-cloud-service.md)
22+
## [Managing Python on Azure App Service](managing-python-on-azure-app-service.md)
23+
## [Azure SDK for Python](azure-sdk-for-python.md)
24+
# How To
1325
## [Editing Code](code-editing.md)
1426
### [Formatting Code](code-formatting.md)
1527
### [Refactoring Code](code-refactoring.md)
1628
### [Using PyLint](code-pylint.md)
1729
## [Interactive Python (REPL)](interactive-repl.md)
1830
### [Using IPython REPL](interactive-repl-ipython.md)
1931
## [Debugging](debugging.md)
32+
### [Cross-platform Remote Debugging](debugging-cross-platform-remote.md)
33+
## [Publishing to Azure App Service](publishing-to-azure.md)
2034
### [Azure Remote Debugging](debugging-azure-remote.md)
2135
### [Troubleshooting Azure Remote Debugging](debugging-azure-remote-troubleshooting.md)
22-
### [Cross-platform Remote Debugging](debugging-cross-platform-remote.md)
36+
## Interacting with C++
37+
### [Creating a C++ Extension for Python](cpp-and-python.md)
2338
### [Python/C++ Mixed-Mode Debugging](debugging-mixed-mode.md)
2439
### [Symbols for Mixed-Mode Debugging](debugging-symbols-for-mixed-mode.md)
25-
## [Options](options.md)
2640
## [Profiling](profiling.md)
2741
## [Unit Testing](unit-testing.md)
28-
## [Using the Cookiecutter Extension](cookiecutter.md)
42+
## [Using the Cookiecutter Extension](cookiecutter.md)
43+
## [Installation for Visual Studio 2015 and earlier](installation.md)
44+
# Reference
45+
## [Options](options.md)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
1. To connect to GitHub repositories, run the Visual Studio installer, select **Modify**, and select the **Individual components** tab. Scroll down to the **Code tools** section, select **GitHub extension for Visual Studio**, and select **Modify**.
2+
3+
![Selecting the GitHub extension in the Visual Studio installer](../media/installation-github-extension.png)
4+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
1. Launch Visual Studio and select **File > New > Project**.
2+
3+
1. In the **New Project** dialog, search for "Python", select the "From Existing Python code" template, give the project a name and location, and select **OK**.
4+
5+
1. In the wizard that appears, set the path to your existing code, set a filter for file types, and specify any search paths that your project requires, then select **Next**. If you don't know what search paths are, leave that field blank.
6+
7+
![New Project from Existing Code, step 1](../media/projects-from-existing-1.png)
8+
9+
1. In the next dialog, select the startup file for your project and select **Next**. (If desired, select an environment; otherwise accept the defaults.) Note that the dialog shows only files in the root folder; if the file you want is in a subfolder, leave the startup file blank and set it later in Solution Explorer (described below).
10+
11+
![New Project from Existing Code, step 2](../media/projects-from-existing-2.png)
12+
13+
1. Select the location in which to save the project file (a `.pyproj` file on disk). If applicable, you can also include auto-detection of virtual environments and customize the project for different web frameworks. If you're unsure of these options, leave them set to the defaults.
14+
15+
![New Project from Existing Code, step 3](../media/projects-from-existing-3.png)
16+
17+
1. Select **Finish** and Visual Studio creates the project and opens it in Solution Explorer. If you want to move the `.pyproj` file elsewhere, select it in Solution Explorer and choose **File > Save As**. This action updates file references in the project but does not move any code files.
18+
19+
1. To set a different startup file, locate the file in Solution Explorer, right-click, and select **Set as Startup File**.

docs/python/installation.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Installation for Python in Visual Studio | Microsoft Docs
33
ms.custom: ""
4-
ms.date: 7/13/2017
4+
ms.date: 9/22/2017
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology:
@@ -20,7 +20,7 @@ manager: "ghogen"
2020

2121
To install Python support for Visual Studio, follow the instructions in the section that matches your version of Visual Studio:
2222

23-
- [Visual Studio 2017](#visual-studio-2017)
23+
- [Visual Studio 2017](vs-tutorial-01-00.md)
2424
- [Visual Studio 2015](#visual-studio-2015)
2525
- [Visual Studio 2013 and earlier](#visual-studio-2013-and-earlier)
2626

@@ -36,20 +36,8 @@ To quickly test Python support after following the installation steps, Open the
3636
3737
## Visual Studio 2017
3838

39-
1. Install the Visual Studio 2017 from [https://www.visualstudio.com/vs/](https://www.visualstudio.com/vs/).
39+
Refer to [Tutorial Step 0: install Python support in Visual Studio 2017](vs-tutorial-01-00.md).
4040

41-
1. In the Visual Studio installer, select the **Web & Cloud > Python Development** workload.
42-
43-
![Python development workload in the Visual Studio installer](media/installation-python-workload.png)
44-
45-
> [!Note]
46-
> Python is also included in the **Data science and analytical applications** workload.
47-
48-
1. On the right side of the installer, select the Python interpreters and other related tools you want to include. For example, if you plan on developing C++ extensions for Python, include the **Python native development tools** option.
49-
50-
![Python development options in the Visual Studio installer](media/installation-python-options.png)
51-
52-
1. If you already have interpreters installed on your computer, see [Creating an environment for an existing interpreter](python-environments.md#creating-an-environment-for-an-existing-interpreter).
5341

5442
## Visual Studio 2015
5543

0 commit comments

Comments
 (0)