沧海一粟

  • Home
  • Archives
  • Table of Contents
  • Overview

Wisely Zou

52 posts
12 categories
24 tags
GitHub
Links
  • 半醉浮生 PT
  • Allen Hua 的网络博客
  • 天雨的博客
  • 苍穹の下

Open current directory with VS Code on Mac

Posted on 2018-11-12 Edited on 2026-01-29 In Uncategorized Views:
vim ~/.bash_profile
export PATH=/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$PATH
# Save a exit
source ~/.bash_profile
code . # Current directory is opened.

Saw a colleague use it before, looked it up, much more convenient.

Mac下用code .使用vscode打开当前目录
CentOS 7 防火墙,端口开启
© 2023 – 2026 Wisely Zou
Powered by Hexo & NexT.Pisces
0%