Skip to main content

Visual Studio Code

快捷键说明
Ctrl+-后退编辑位置
Shift+Ctrl+-前进编辑位置

插件

Remote Development

# macOS 可通过容器来提供端口进行控制
docker run -d -p 2222:22 -v $HOME:/host --name sshd wener/app
docker exec sshd sh -c 'echo admin:admin | chpasswd'

docker exec sshd apk add musl libgcc libstdc++
# 测试本地登录
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -p 2222

# glibc

# 远程打开
# code --remote [email protected] <your-directory>

code-server

setting

{
"files.associations": {
"*.md": "mdx"
}
}