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
|
1. python3 new build system
{
"cmd": ["C:/path/python.exe","-u","$file"],
"file_regex":"^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector":"source.python",
}
2. package control install sublimerepl
需要连接vpn
3. 设置快捷键
preferences->Key Binding-User,写入以下内容
[
{ "keys": ["f5"], "caption": "SublimeREPL:Python",
"command": "run_existing_window_command", "args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}
},
]
4. 快捷键
发现sublime真是好用啊。
ctrl+shift+/ 多行注释
选中多行,按下ctr+shift+L,可在多行行尾编辑,行首编辑需要按下右箭头 <--,行尾编辑按下-->
shift+右击上下拉
|