@codemirror/lang-python
Advanced tools
Changelog
6.1.6 (2024-04-29)
Improve the way indentation for the current body is preserved when inenting new lines.
Changelog
6.1.5 (2024-03-28)
Properly indent else:
when attached to a for
or while
statement.
Changelog
6.1.4 (2024-02-02)
Explicitly declare dependencies on @lezer/common and @codemirror/state
Changelog
6.1.3 (2023-06-12)
Fix a bug where blocks started after a wrapped argument list or similar construct were indented too far.
Changelog
6.1.0 (2022-11-18)
The globalCompletion
completion source (included in the language support returned from python()
) completes standard Python globals and keywords.
Export a localCompletionSource
function that completes locally defined variables. Included in the support extensions returned from python()
.