-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_ide_features.txt
More file actions
70 lines (56 loc) · 1.17 KB
/
test_ide_features.txt
File metadata and controls
70 lines (56 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Test Macro for IDE Features
# This demonstrates syntax highlighting, auto-completion, and code folding
# Variables (should be teal)
$counter = 0
$message = "Hello World"
# System variables (should be orange/bold)
$mouse_x
$mouse_y
$screen_width
# Settings (should be brown/red)
@speed = 1.5
@iterations = 10
# Comments should be green/italic
# Loop block (foldable)
loop,5
# Keywords should be blue/bold
press,a
wait,100
# Nested loop (foldable)
loop,3
click,100,200,left
wait,50
endloop
# Numbers should be green
wait,250
endloop
# Conditional block (foldable)
if,$counter < 10
echo,Counter is less than 10
type,Test message
elseif,$counter == 10
echo,Counter equals 10
else
echo,Counter is greater than 10
endif
# Function definition (foldable)
function,my_function
press,ctrl+c
wait,100
press,ctrl+v
echo,Function executed
endfunction
# Function call
my_function()
# Mouse commands
mousemove,500,300
lmc
rmc
# String literals (should be red)
type,"This is a test"
echo,'Another string'
# Operators (should be black)
$result = 5 + 10 * 2
$compare = $result > 50
# Breakpoint for debugging
breakpoint