Skip to content

Commit 4dfc847

Browse files
author
Kartik Raj
authored
Merge pull request #6514 from microsoft/kartik/pythonapi
2 parents d4fea8e + 8c6def7 commit 4dfc847

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

api/advanced-topics/python-extension-template.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ ContentId: dd7207b0-cf8b-4ed6-8c75-941834179dca
33
DateApproved: 9/28/2022
44

55
# Summarize the whole topic in less than 300 characters for SEO purpose
6-
MetaDescription: Using the Python extension template to integrate linters, formatters, and language features into Visual Studio Code
6+
MetaDescription: Using the Python extension template and API to integrate linters, formatters, and language features into Visual Studio Code
77
---
8-
# Python Extension Template
9-
10-
The [Python extension template](https://github.com/microsoft/vscode-python-tools-extension-template) helps get you started building a Visual Studio Code extension for your favorite Python tool. It could be a linter, formatter, or code analysis, or all of those together. The template will give you the basic building blocks you need to build an extension that integrates your tool into VS Code.
8+
# Authoring Python Extensions
119

1210
>**Note**: If you are new to VS Code extension authoring, you may want to read the [Your First Extension](/api/get-started/your-first-extension) tutorial first and try creating a simple Hello World extension.
1311
12+
The [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) provides APIs for other extensions to work with Python environments available in the user's machine. Check out [`@vscode/python-extension`](https://www.npmjs.com/package/@vscode/python-extension) npm module which carries types and helper utilities to access this feature for your extension.
13+
14+
# Python Extension Template
15+
16+
The [Python extension template](https://github.com/microsoft/vscode-python-tools-extension-template) helps get you started building a Visual Studio Code extension for your favorite Python tool. It could be a linter, formatter, or code analysis, or all of those together. The template will give you the basic building blocks you need to build an extension that integrates your tool into VS Code, and it already has access to Python API feature mentioned above.
17+
1418
## Programming languages and frameworks
1519

1620
The extension template has two parts, the extension part and language server part. The extension part is written in TypeScript, and language server part is written in Python over the `pygls` (Python language server) library.

0 commit comments

Comments
 (0)