Skip to content

Commit 2e675f8

Browse files
committed
Fails on indentation discovery for codeeditor.py
1 parent 6d758ff commit 2e675f8

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
<no-train>
22
```CEDARScript
3+
4+
-- Try CST-based indentation discovery
5+
-- Move the `__get_brackets` method from the `CodeEditor` class, placing it at the top level, just before the line where its class starts
6+
UPDATE CLASS "CodeEditor"
7+
FROM FILE "codeeditor.py"
8+
MOVE METHOD "__get_brackets"
9+
INSERT BEFORE CLASS "CodeEditor"
10+
RELATIVE INDENTATION 0;
11+
```
12+
313
-- 1. Move the method to become a top-level function.
414
UPDATE CLASS "AutosaveForPlugin"
515
FROM FILE "autosave.py"
@@ -14,14 +24,4 @@ MOVE METHOD "adapt_method_mode"
1424
INSERT BEFORE CLASS "BaseHandler"
1525
RELATIVE INDENTATION 0;
1626

17-
```
18-
# TODO Skipped. Must fix.
19-
# Try CST-based indentation discovery
20-
-- Move the `__get_brackets` method from the `CodeEditor` class, placing it at the top level, just before the line where its class starts
21-
UPDATE CLASS "CodeEditor"
22-
FROM FILE "codeeditor.py"
23-
MOVE METHOD "__get_brackets"
24-
INSERT BEFORE CLASS "CodeEditor"
25-
RELATIVE INDENTATION 0;
26-
2727
</no-train>

0 commit comments

Comments
 (0)