Skip to content

Commit 7fda319

Browse files
authored
Clarify that "proposed APIs" are available to all extensions (#66)
Positron enables so-called "proposed APIs" for all extensions by default, which is a major piece of good news for some extension authors. This commit ensures we mention this prominently in the documentation. Addresses posit-dev/positron#7306. Signed-off-by: Aaron Jacobs <aaron.jacobs@posit.co>
1 parent c246d08 commit 7fda319

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

extension-development.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ When defining your extension's manifest, you can use the `isPositron` context ke
2121

2222
This allows your extension to enable commands, keybindings, menu items, and any other contribution points only for Positron.
2323

24-
## Positron API
24+
## Extension APIs
2525

26-
Positron provides [all the normal contribution points and the VS Code API](https://code.visualstudio.com/api/extension-capabilities/overview) to extensions, but also additionally new APIs to use. We plan to make the extension development experience better (for example, [safely wrapping](https://github.com/posit-dev/positron/issues/458) and [providing typing for](https://github.com/posit-dev/positron/issues/809) the Positron API), but in the meantime, we recommend you [take a look at the Positron API details directly](https://github.com/posit-dev/positron/tree/main/src/positron-dts).
26+
Positron provides [all the normal contribution points and the VS Code API](https://code.visualstudio.com/api/extension-capabilities/overview) to extensions. Unlike VS Code, however, so-called [proposed APIs](https://code.visualstudio.com/api/advanced-topics/using-proposed-api) are available to all extension authors by default, and don't require special configuration on the part of users to enable.
27+
28+
Positron-native extensions can also make use of its own API. We plan to make the extension development experience better (for example, [safely wrapping](https://github.com/posit-dev/positron/issues/458) and [providing typing for](https://github.com/posit-dev/positron/issues/809) the Positron API), but in the meantime, we recommend you [take a look at the Positron API details directly](https://github.com/posit-dev/positron/tree/main/src/positron-dts).

0 commit comments

Comments
 (0)