Skip to content

Commit 6a73b25

Browse files
author
Kraig Brockschmidt
authored
Merge pull request #1309 from MicrosoftDocs/kraigb-python
Python and RTVS SEO work
2 parents 41e04d8 + f30c411 commit 6a73b25

File tree

71 files changed

+558
-362
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

+558
-362
lines changed

.openpublishing.redirection.json

Lines changed: 206 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1375,11 +1375,66 @@
13751375
"redirect_url": "/visualstudio/profiling/profiling-feature-tour",
13761376
"redirect_document_id": false
13771377
},
1378+
{
1379+
"source_path": "docs/python/code-editing.md",
1380+
"redirect_url": "/visualstudio/python/editing-python-code-in-visual-studio",
1381+
"redirect_document_id": false
1382+
},
1383+
{
1384+
"source_path": "docs/python/code-formatting.md",
1385+
"redirect_url": "/visualstudio/python/formatting-python-code",
1386+
"redirect_document_id": false
1387+
},
1388+
{
1389+
"source_path": "docs/python/code-pylint.md",
1390+
"redirect_url": "/visualstudio/python/linting-python-code",
1391+
"redirect_document_id": false
1392+
},
1393+
{
1394+
"source_path": "docs/python/code-refactoring.md",
1395+
"redirect_url": "/visualstudio/python/refactoring-python-code",
1396+
"redirect_document_id": false
1397+
},
1398+
{
1399+
"source_path": "docs/python/cookiecutter.md",
1400+
"redirect_url": "/visualstudio/python/using-python-cookiecutter-templates",
1401+
"redirect_document_id": false
1402+
},
13781403
{
13791404
"source_path": "docs/python/cpp-and-python.md",
13801405
"redirect_url": "/visualstudio/python/working-with-c-cpp-python-in-visual-studio",
13811406
"redirect_document_id": false
13821407
},
1408+
{
1409+
"source_path": "docs/python/debugging.md",
1410+
"redirect_url": "/visualstudio/python/debugging-python-in-visual-studio",
1411+
"redirect_document_id": false
1412+
},
1413+
{
1414+
"source_path": "docs/python/debugging-azure-remote.md",
1415+
"redirect_url": "/visualstudio/python/debugging-remote-python-code-on-azure",
1416+
"redirect_document_id": false
1417+
},
1418+
{
1419+
"source_path": "docs/python/debugging-azure-remote-troubleshooting.md",
1420+
"redirect_url": "/visualstudio/python/debugging-remote-python-code-on-azure-troubleshooting",
1421+
"redirect_document_id": false
1422+
},
1423+
{
1424+
"source_path": "docs/python/debugging-cross-platform-remote.md",
1425+
"redirect_url": "/visualstudio/python/debugging-python-code-on-remote-linux-machines",
1426+
"redirect_document_id": false
1427+
},
1428+
{
1429+
"source_path": "docs/python/debugging-mixed-mode.md",
1430+
"redirect_url": "/visualstudio/python/debugging-mixed-mode-c-cpp-python-in-visual-studio",
1431+
"redirect_document_id": false
1432+
},
1433+
{
1434+
"source_path": "docs/python/debugging-symbols-for-mixed-mode.md",
1435+
"redirect_url": "/visualstudio/python/debugging-symbols-for-mixed-mode-c-cpp-python",
1436+
"redirect_document_id": false
1437+
},
13831438
{
13841439
"source_path": "docs/python/getting-started-with-ptvs-building-a-website-in-azure.md",
13851440
"redirect_url": "/visualstudio/python/publishing-to-azure",
@@ -1430,6 +1485,26 @@
14301485
"redirect_url": "/visualstudio/python/installing-python-support-in-visual-studio",
14311486
"redirect_document_id": false
14321487
},
1488+
{
1489+
"source_path": "docs/python/interactive-repl.md",
1490+
"redirect_url": "/visualstudio/python/python-interactive-repl-in-visual-studio",
1491+
"redirect_document_id": false
1492+
},
1493+
{
1494+
"source_path": "docs/python/options.md",
1495+
"redirect_url": "/visualstudio/python/python-support-options-and-settings-in-visual-studio",
1496+
"redirect_document_id": false
1497+
},
1498+
{
1499+
"source_path": "docs/python/profiling.md",
1500+
"redirect_url": "/visualstudio/python/profiling-python-code-in-visual-studio",
1501+
"redirect_document_id": false
1502+
},
1503+
{
1504+
"source_path": "docs/python/publishing-to-azure.md",
1505+
"redirect_url": "/visualstudio/python/publishing-python-web-applications-to-azure-from-visual-studio",
1506+
"redirect_document_id": false
1507+
},
14331508
{
14341509
"source_path": "docs/python/python-environments.md",
14351510
"redirect_url": "/visualstudio/python/managing-python-environments-in-visual-studio",
@@ -1445,6 +1520,46 @@
14451520
"redirect_url": "/visualstudio/python/managing-python-projects-in-visual-studio",
14461521
"redirect_document_id": false
14471522
},
1523+
{
1524+
"source_path": "docs/python/quickstart-01-project-from-existing.md",
1525+
"redirect_url": "/visualstudio/python/quickstart-01-python-in-visual-studio-project-from-existing-code",
1526+
"redirect_document_id": false
1527+
},
1528+
{
1529+
"source_path": "docs/python/quickstart-02-project-from-template.md",
1530+
"redirect_url": "/visualstudio/python/quickstart-02-python-in-visual-studio-project-from-template",
1531+
"redirect_document_id": false
1532+
},
1533+
{
1534+
"source_path": "docs/python/quickstart-03-project-from-repository.md",
1535+
"redirect_url": "/visualstudio/python/quickstart-03-python-in-visual-studio-project-from-repository",
1536+
"redirect_document_id": false
1537+
},
1538+
{
1539+
"source_path": "docs/python/quickstart-04-project-from-cookiecutter.md",
1540+
"redirect_url": "/visualstudio/python/quickstart-04-python-in-visual-studio-project-from-cookiecutter",
1541+
"redirect_document_id": false
1542+
},
1543+
{
1544+
"source_path": "docs/python/template-azure-cloud-service.md",
1545+
"redirect_url": "/visualstudio/python/project-template-python-azure-cloud-service",
1546+
"redirect_document_id": false
1547+
},
1548+
{
1549+
"source_path": "docs/python/template-django.md",
1550+
"redirect_url": "/visualstudio/python/python-django-web-application-project-template",
1551+
"redirect_document_id": false
1552+
},
1553+
{
1554+
"source_path": "docs/python/template-web.md",
1555+
"redirect_url": "/visualstudio/python/python-web-application-project-templates",
1556+
"redirect_document_id": false
1557+
},
1558+
{
1559+
"source_path": "docs/python/unit-testing.md",
1560+
"redirect_url": "/visualstudio/python/unit-testing-python-in-visual-studio",
1561+
"redirect_document_id": false
1562+
},
14481563
{
14491564
"source_path": "docs/python/vs-tutorial-01-00.md",
14501565
"redirect_url": "/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-00-installation",
@@ -1479,7 +1594,97 @@
14791594
"source_path": "docs/python/vs-tutorial-01-06.md",
14801595
"redirect_url": "/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-06-working-with-git",
14811596
"redirect_document_id": false
1482-
},
1597+
},
1598+
{
1599+
"source_path": "docs/rtvs/code-editing.md",
1600+
"redirect_url": "/visualstudio/rtvs/editing-r-code-in-visual-studio",
1601+
"redirect_document_id": false
1602+
},
1603+
{
1604+
"source_path": "docs/rtvs/code-intellisense.md",
1605+
"redirect_url": "/visualstudio/rtvs/r-intellisense",
1606+
"redirect_document_id": false
1607+
},
1608+
{
1609+
"source_path": "docs/rtvs/code-linting.md",
1610+
"redirect_url": "/visualstudio/rtvs/linting-r-code",
1611+
"redirect_document_id": false
1612+
},
1613+
{
1614+
"source_path": "docs/rtvs/code-snippets.md",
1615+
"redirect_url": "/visualstudio/rtvs/code-snippets-for-r",
1616+
"redirect_document_id": false
1617+
},
1618+
{
1619+
"source_path": "docs/rtvs/data-science-workload.md",
1620+
"redirect_url": "/visualstudio/rtvs/data-science-and-analytical-applications-workload",
1621+
"redirect_document_id": false
1622+
},
1623+
{
1624+
"source_path": "docs/rtvs/debugging.md",
1625+
"redirect_url": "/visualstudio/rtvs/debugging-r-in-visual-studio",
1626+
"redirect_document_id": false
1627+
},
1628+
{
1629+
"source_path": "docs/rtvs/installation.md",
1630+
"redirect_url": "/visualstudio/rtvs/installing-r-tools-for-visual-studio",
1631+
"redirect_document_id": false
1632+
},
1633+
{
1634+
"source_path": "docs/rtvs/interactive-repl.md",
1635+
"redirect_url": "/visualstudio/rtvs/interactive-repl-for-r-in-visual-studio",
1636+
"redirect_document_id": false
1637+
},
1638+
{
1639+
"source_path": "docs/rtvs/options.md",
1640+
"redirect_url": "/visualstudio/rtvs/options-for-r-tools-in-visual-studio",
1641+
"redirect_document_id": false
1642+
},
1643+
{
1644+
"source_path": "docs/rtvs/package-manager.md",
1645+
"redirect_url": "/visualstudio/rtvs/r-package-manager-in-visual-studio",
1646+
"redirect_document_id": false
1647+
},
1648+
{
1649+
"source_path": "docs/rtvs/projects.md",
1650+
"redirect_url": "/visualstudio/rtvs/r-projects-in-visual-studio",
1651+
"redirect_document_id": false
1652+
},
1653+
{
1654+
"source_path": "docs/rtvs/rmarkdown.md",
1655+
"redirect_url": "/visualstudio/rtvs/rmarkdown-with-r-in-visual-studio",
1656+
"redirect_document_id": false
1657+
},
1658+
{
1659+
"source_path": "docs/rtvs/sql-server.md",
1660+
"redirect_url": "/visualstudio/rtvs/integrating-sql-server-with-r",
1661+
"redirect_document_id": false
1662+
},
1663+
{
1664+
"source_path": "docs/rtvs/visualizing-data.md",
1665+
"redirect_url": "/visualstudio/rtvs/visualizing-data-with-r-in-visual-studio",
1666+
"redirect_document_id": false
1667+
},
1668+
{
1669+
"source_path": "docs/rtvs/workspaces.md",
1670+
"redirect_url": "/visualstudio/rtvs/r-workspaces-in-visual-studio",
1671+
"redirect_document_id": false
1672+
},
1673+
{
1674+
"source_path": "docs/rtvs/workspaces-remote-setup.md",
1675+
"redirect_url": "/visualstudio/rtvs/setting-up-remote-r-workspaces",
1676+
"redirect_document_id": false
1677+
},
1678+
{
1679+
"source_path": "docs/rtvs/workspaces-remote-r-service-for-linux.md",
1680+
"redirect_url": "/visualstudio/rtvs/setting-up-remote-r-service-on-linux",
1681+
"redirect_document_id": false
1682+
},
1683+
{
1684+
"source_path": "docs/rtvs/workspaces-using-docker-containers.md",
1685+
"redirect_url": "/visualstudio/rtvs/using-docker-containers-with-r",
1686+
"redirect_document_id": false
1687+
},
14831688
{
14841689
"source_path": "docs/sharepoint/index.md",
14851690
"redirect_url": "/visualstudio/sharepoint/create-sharepoint-solutions",

docs/_breadcrumb/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
topicHref: /visualstudio/profiling/index
6363
- name: Python
6464
tocHref: /visualstudio/python/
65-
topicHref: /visualstudio/python/getting-started-with-python
65+
topicHref: /visualstudio/overview-of-python-tools-for-visual-studio
6666
- name: R
6767
tocHref: /visualstudio/rtvs/
6868
topicHref: /visualstudio/rtvs/index

docs/ai/create-project-existing.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Create an AI project from existing code
22

3-
Once you've [installed Visual Studio Tools for AI](installation.md), it's easy to bring existing Python code into a Visual Studio project.
3+
Once you've [installed Visual Studio Tools for AI](installation.md), it's easy to bring existing Python code into a Visual Studio project.
44

55
> [!Important]
66
>
@@ -10,22 +10,21 @@ Once you've [installed Visual Studio Tools for AI](installation.md), it's easy t
1010

1111
1. In the **New Project** dialog, search for "**AI Tools**", select the "**From Existing Python code**" template, give the project a name and location, and select **OK**.
1212

13-
![New Project from Existing Code, step 1](media\create-project-existing\new-ai-project.png)
13+
![New Project from Existing Code, step 1](media\create-project-existing\new-ai-project.png)
1414

1515
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 **OK**. If you don't know what search paths are, leave that field blank.
1616

17-
1817
![New Project from Existing Code, step 2](media\create-project-existing\azurebatch-newproject.png)
1918

2019
> If your existing code is part of an Azure Machine Learning project, check the "**Is Azure Machine Learning folder**" to ensure successful conversion of important Azure Machine Learning configuration details like which Experimentation account, which Workspace, the compute contexts to use and more.
2120
2221
1. To set a startup file, locate the file in Solution Explorer, right-click, and select **Set as Startup File**.
2322

24-
8. If desired, run the program by pressing Ctrl+F5 or selecting **Debug > Start Without Debugging**.
23+
1. If desired, run the program by pressing Ctrl+F5 or selecting **Debug > Start Without Debugging**.
2524

2625
> [!div class="nextstepaction"]
2726
> [Tutorial: Working with Python in Visual Studio](../python/tutorial-working-with-python-in-visual-studio-step-00-installation.md)
2827
2928
## See Also
3029

31-
- [Creating an environment for an existing Python interpreter](https://docs.microsoft.com/visualstudio/python/python-environments#creating-an-environment-for-an-existing-interpreter)
30+
- [Creating an environment for an existing Python interpreter](../python/managing-python-environments-in-visual-studio.md#creating-an-environment-for-an-existing-interpreter)

docs/ai/create-project-repo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Once you've [installed Visual Studio Tools for AI](installation.md), you can eas
3434

3535
![First output from the Python MNIST program](media\create-project-repo\tensorflow-mnist-running.png)
3636

37-
> If you are using Anaconda and get an error about missing numpy, you may need to change your python environment you may need to [change your python environment to use Anaconda](https://docs.microsoft.com/visualstudio/python/python-environments)
37+
> If you are using Anaconda and get an error about missing numpy, you may need to change your python environment you may need to [change your python environment to use Anaconda](../python/managing-python-environments-in-visual-studio.md)
3838
3939
11. You can visualize the progress with TensorBoard. Right click your project and click **Run TensorBoard** then select the directory of your output TensorBoard logs.
4040

docs/ai/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Then, we need to verify whether Python 3.5 is installed correctly, and upgrade p
113113
### Python on Visual Studio
114114
115115
Python is fully supported in Visual Studio through extensions.
116-
Learn more about install [Python for Visual Studio Tools](https://docs.microsoft.com/visualstudio/python/installation) for more details.
116+
Learn more about install [Python for Visual Studio Tools](../python/installing-python-support-in-visual-studio.md) for more details.
117117
118118
### NumPy and SciPy
119119

docs/debugger/debugger-windows.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,34 @@ ms.workload:
1818
---
1919
# Learn about Debugger Windows in Visual Studio
2020
You can open most debugger windows while you are debugging your program. To see a list of debugger windows, set a breakpoint and start debugging. When you hit the breakpoint and execution stops, click **Debug > Windows**.
21-
22-
||||
23-
|-|-|-|
24-
|**Window**|**Hotkey**|**See Topic**|
25-
|Breakpoints|CTRL+ALT+B|[Use Breakpoints](../debugger/using-breakpoints.md)|
26-
|Exception Settings|CTRL+ALT+E|[Manage Exceptions with the Debugger](../debugger/managing-exceptions-with-the-debugger.md)|
27-
|Output|CTRL+ALT+O|[Output Window](../ide/reference/output-window.md)|
28-
|Watch|CTRL+ALT+W, (1, 2, 3, 4)|[Watch and QuickWatch Windows](../debugger/watch-and-quickwatch-windows.md)|
29-
|QuickWatch|SHIFT+F9|[Watch and QuickWatch Windows](../debugger/watch-and-quickwatch-windows.md)|
30-
|Autos|CTRL+ALT+V, A|[Autos and Locals Windows](../debugger/autos-and-locals-windows.md)|
31-
|Locals|CTRL+ALT+V, L|[Autos and Locals Windows](../debugger/autos-and-locals-windows.md)|
21+
22+
||||
23+
|-|-|-|
24+
|**Window**|**Hotkey**|**See Topic**|
25+
|Breakpoints|CTRL+ALT+B|[Use Breakpoints](../debugger/using-breakpoints.md)|
26+
|Exception Settings|CTRL+ALT+E|[Manage Exceptions with the Debugger](../debugger/managing-exceptions-with-the-debugger.md)|
27+
|Output|CTRL+ALT+O|[Output Window](../ide/reference/output-window.md)|
28+
|Watch|CTRL+ALT+W, (1, 2, 3, 4)|[Watch and QuickWatch Windows](../debugger/watch-and-quickwatch-windows.md)|
29+
|QuickWatch|SHIFT+F9|[Watch and QuickWatch Windows](../debugger/watch-and-quickwatch-windows.md)|
30+
|Autos|CTRL+ALT+V, A|[Autos and Locals Windows](../debugger/autos-and-locals-windows.md)|
31+
|Locals|CTRL+ALT+V, L|[Autos and Locals Windows](../debugger/autos-and-locals-windows.md)|
3232
|Call Stacks|CTRL+ALT+C|[How to: Use the Call Stack Window](../debugger/how-to-use-the-call-stack-window.md)|
33-
|Immediate|CTRL+ALT+I|[Immediate Window](../ide/reference/immediate-window.md)|
34-
|Parallel Stacks|CTR:+SHIFT+D, S|[Using the Parallel Stacks Window](../debugger/using-the-parallel-stacks-window.md)|
33+
|Immediate|CTRL+ALT+I|[Immediate Window](../ide/reference/immediate-window.md)|
34+
|Parallel Stacks|CTR:+SHIFT+D, S|[Using the Parallel Stacks Window](../debugger/using-the-parallel-stacks-window.md)|
3535
|Parallel Watch|CTR:+SHIFT+D, (1, 2, 3, 4)|[Get started Debugging Multithreaded Applications](../debugger/get-started-debugging-multithreaded-apps.md)|
36-
|Threads|CTRL+ALT+H|[Debug using the Threads Window](../debugger/how-to-use-the-threads-window.md)|
36+
|Threads|CTRL+ALT+H|[Debug using the Threads Window](../debugger/how-to-use-the-threads-window.md)|
3737
|Modules|CTRL+ALT+U|[How to: Use the Modules Window](../debugger/how-to-use-the-modules-window.md)|
38-
|GPU Threads|-|[How to: Use the GPU Threads Window](../debugger/how-to-use-the-gpu-threads-window.md)|
38+
|GPU Threads|-|[How to: Use the GPU Threads Window](../debugger/how-to-use-the-gpu-threads-window.md)|
3939
|Tasks|CTR:+SHIFT+D, K|[Using the Tasks Window](../debugger/using-the-tasks-window.md)|
40-
|Python Debug Interactive|SHIFT+ALT+I|[Getting Started with PTVS: Interactive Python](../python/getting-started-with-ptvs-interactive-python.md)|
41-
|JavaScript Console|CTRL+ALT+V, C|[QuickStart: Debug JavaScript](../debugger/quickstart-debug-javascript-using-the-console.md)|
42-
|DOM Explorer|CTRL+ALT+V, D|[Debug layout using DOM Explorer](../debugger/debug-layout-using-dom-explorer.md)|
43-
|Live Visual Tree|-|[Inspect XAML properties while debugging](../debugger/inspect-xaml-properties-while-debugging.md)|
44-
|Live Property Explorer|-|[Inspect XAML properties while debugging](../debugger/inspect-xaml-properties-while-debugging.md)|
45-
|Processes|CTRL+ALT+Z|[Debug Threads and Processes](../debugger/debug-threads-and-processes.md)|
46-
|Memory|CTRL+ALT+M, (1, 2, 3, 4)|[Memory Windows](../debugger/memory-windows.md)|
47-
|Disassembly|CTRL+ALT+D|[How to: Use the Disassembly Window](../debugger/how-to-use-the-disassembly-window.md)|
48-
|Registers|CTRL+ALT+G|[How to: Use the Registers Window](../debugger/how-to-use-the-registers-window.md)|
49-
40+
|Python Debug Interactive|SHIFT+ALT+I|[Getting Started with PTVS: Interactive Python](../python/python-interactive-repl-in-visual-studio.md)
41+
|JavaScript Console|CTRL+ALT+V, C|[QuickStart: Debug JavaScript](../debugger/quickstart-debug-javascript-using-the-console.md)|
42+
|DOM Explorer|CTRL+ALT+V, D|[Debug layout using DOM Explorer](../debugger/debug-layout-using-dom-explorer.md)|
43+
|Live Visual Tree|-|[Inspect XAML properties while debugging](../debugger/inspect-xaml-properties-while-debugging.md)|
44+
|Live Property Explorer|-|[Inspect XAML properties while debugging](../debugger/inspect-xaml-properties-while-debugging.md)|
45+
|Processes|CTRL+ALT+Z|[Debug Threads and Processes](../debugger/debug-threads-and-processes.md)|
46+
|Memory|CTRL+ALT+M, (1, 2, 3, 4)|[Memory Windows](../debugger/memory-windows.md)|
47+
|Disassembly|CTRL+ALT+D|[How to: Use the Disassembly Window](../debugger/how-to-use-the-disassembly-window.md)|
48+
|Registers|CTRL+ALT+G|[How to: Use the Registers Window](../debugger/how-to-use-the-registers-window.md)|
49+
5050
## See Also
5151
[Debugger Basics](../debugger/debugger-basics.md)

0 commit comments

Comments
 (0)