解決方法十分簡單:
我們可以去 “File” -> “Preferences” -> “Settings”
的 “User Settings” 上把 “editor.minimap.enabled” 設定為 false 便可以了
"editor.minimap.enabled": false,
在這間公司工作..
我學會了很多command (多數是在 bash [git bash] 上使用的)
回家後可能是因為 screen 比較細的關係
所以很小會開git bash 來執行指令
會使用Visual Studio code instead
VS code 是使用Powershell的
所以當我嘗試執行
git fetch && git checkout develop
遇到以下的錯誤信息
”
At line:1 char:12
+ git fetch && git checkout develop
+ ~~
The token ‘&&’ is not a valid statement separator in this version.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : InvalidEndOfLine
”
解決方法
我們只需要把 “&&” 轉成 “;” 便可以了
git fetch ; git checkout develop
最近多數做Web Front End 相關的工作
所以 IDE 主要也是用Text Editor
暫時還沒有決定好那一個Text Editor 比較好用
Visual Studio Code 還是Atom
VS Code的好處是有Built-in的 Terminal , 十分好用
可以在同一個VS Code Instance 上執行多個powershell / command prompt
但是個的版面分割(split) 功能就只可以分 “上,下” 或 “左,右” 有點美中不足
有時候想上下左右一起分割..但是不能了
還有由於暫時還沒有找到一個比較好用的Code formatter plugin..所以轉用了Atom
Atom 可以任你分頁。。還有他的Atom-beautifier 也十分好用。。為一一個大問題是。。IDE 有時會not respond..
繼續講 Terminal plugin for Atom
在網上安裝了幾個 Terminal / Command Prompt的Atom Plugin都不如理想
安裝了 但是執行不到… 只有一個黑色的Terminal 畫面
最後終於找到了一個十分好用,可靠的plugin 了
他就是”platformio-ide-terminal”
https://atom.io/packages/platformio-ide-terminal