-
Notifications
You must be signed in to change notification settings - Fork 155
/
4.+Completions.snb
39 lines (39 loc) · 1.38 KB
/
4.+Completions.snb
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
{
"metadata":{
"name":"4. Completions",
"user_save_timestamp":"2015-02-07T17:16:05.795Z",
"auto_save_timestamp":"2015-02-07T17:15:53.510Z"
},
"worksheets":[{
"cells":[{
"cell_type":"markdown",
"source":"## Completions\n\nScala Notebook supports help auto-complete options to make writing code less painful."
},{
"cell_type":"code",
"input":"// Put caret at the end of the line and hit Tab. Should auto-complete to \"notebook\". Add a period and\n// hit tab again. A dropdown of possible completions will appeaar.\ncom.bwater.note",
"language":"scala",
"collapsed":true,
"outputs":[]
},{
"cell_type":"code",
"input":"// Type a left paren and wait. Method signature information will appear.\nsys.error",
"language":"scala",
"collapsed":true,
"outputs":[]
},{
"cell_type":"code",
"input":"// Type a left paren and wait. Method overloads will appear as well.\nConsole.println",
"language":"scala",
"collapsed":true,
"outputs":[]
},{
"cell_type":"code",
"input":"// SN can also complete String literals.\n// Hit tab -- a list of files and directory starting with the letter s in the current \n// working directory will appear.\nnew File(\"s",
"language":"scala",
"collapsed":true,
"outputs":[]
}]
}],
"autosaved":[],
"nbformat":3
}