дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-03 16:51:16 +02:00
fix(python): indent @property inside the class body in the color scheme sample (#7460)
The Python sample in Editor > Color Scheme > Python showed @property at column 0 while the def alias it decorates was indented inside class Foo. The decorator line now has the same four-space indent. Co-authored-by: muutot <[email protected]>
Цей коміт міститься в:
1 джерело
607e4e095d
коміт
c287ce0ee3
1 file changed
+1
-1
@@ -630,7 +630,7 @@ const SAMPLES: Record<string, CodeSample> = {
|
||||
[")", "pyParentheses"],
|
||||
],
|
||||
[],
|
||||
[["@property", "pyDecorator"]],
|
||||
[[" @property", "pyDecorator"]],
|
||||
[
|
||||
[" def ", "pyKeyword"],
|
||||
["alias", "pyProperty"],
|
||||
|
||||
Reference in new issue
Заблокувати користувача