17 GUI software
17.1 VSCode shortcut
当时花了我不少功夫,虽然后来好多都没用上,但在 code editing 方面 VScode 简直是不要太爽。
- contact me for
keybindings.json Selectmeans Quick and Simple Text Selection extension,press twice to select outer.
17.1.1 Ctrl
1 Split Editor |
2 Select in Tag |
3 Select () |
4 |
5 |
6 |
7 |
q Select Quote |
w close Window |
e Select [] |
r Open Recent |
t Test |
y Redo |
u |
a Choose All |
s Save |
d Select {} |
f Find |
g Quick Open |
h Replace |
j Join Line |
z Undo |
x Cut |
c Copy |
v Paste |
b Build |
n New file |
m |
ctrl+c/v/xact the whole line when you haven’t selected anything- In
Quick Open, you can pressrightto open a file in the background. Except opening files, you to can do many things (just type?).
17.1.2 ctrl+shift
1 Editor Layout |
2 |
3 |
4 |
5 |
6 |
q Select ` |
w |
e |
r R terminal |
t |
y |
a |
s Save all |
d |
f Format all |
g Go to Line |
h |
z Zen |
x |
c Comment Line |
v Preview .md |
b Comment Block |
n New Window |
17.1.3 alt
1 Group 1 |
2 Group 2 |
3 Group 3 |
4 |
5 |
6 |
7 |
8 |
9 |
q Switch Quote |
w |
e |
r |
t |
y |
u |
i |
o Open Folder |
a |
s |
d |
f |
g |
h |
j Panel |
k |
l Language |
z Wrap |
x |
c |
v |
b Side Bar |
n |
m |
, |
. |
17.2 fcitx in Qt
最初是 RStudio 不支持搜狗拼音,后来发现 Spyder 也不行。
On Linux, RStudio uses a bundled version of Qt 5 that does not include support for Fctix by default. To resolve the problem, you can add Fctix’s Qt 5 plugin from your system’s Qt 5 installation to RStudio’s platform input plugin folder.
- Support Sogou Pinyin
sudo apt -y install fcitx-frontend-qt5
# RStudio
sudo cp -t /usr/lib/rstudio/plugins/platforminputcontexts /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so
# Spyder by pip
cp -t /path/to/site-packages/PyQt5/Qt/plugins/platforminputcontexts /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so17.3 Windows web server
控制面板=>程序和功能=>启用或关闭Windows功能=>Internet Information Servicesjust click once, system will automatically needed sub-service
IIS=> right click网站=>添加网站=>网站名称+物理路径+端口(such as 81 21)类型: use the default value,http, sincehttpsrequires a SSL certificateIP 地址:全部未分配means http://localhost:*, other optional IPs are also okay. But customed IP won’t work.主机名: don’t specify that
(optional) install
Internet Information Services/万维网服务/安全性/IP安全and setIP 地址和域限制to disable public access.
I don’t use 80 since others can access you. Although it’s okay for public site, bandwidth is money in Nankai LAN↩︎