Posts

Showing posts from June, 2019

VS Code Shortcuts

Shift+Alt +F -- Align the codes properly yay! " emmet.preferences " : { " format.forceIndentationForTags " : [ " body " " div " ] Edit in JSON. This automatically pushes the closing tab into a new line. Very convenient instead of pushing enter and even more so in nested Emmet abbreviations.

Currently my VS Code theme

Image
This the Material Theme Ocean High Contrast. I find it very pleasing to the eyes and probably makes me more productive. I like the terminal to be on the right side with lots of space vertically so I can enter lots of commands before needing to use clear at the same time I feel like the main editor space is just enough.

Git Pull Origin Master & other Git Overrides

git pull origin master I learned something today about editing local repo without first updating it. Good thing there was only a very minor change in the master branch. So I learned that I should update the local repo first before making a ton of changes to it. I do not yet know how just combine the two without creating creating problems in the code. I assume depends on the codes themselves and that it has to do with merging. Also: git push origin --force Just totally override the master branch with the local repo git reset --hard origin/master Just totally override the local repo with the master branch Emmet Review ul.main-nav>li*4>a result: <ul class="main-nav">     <li><a href=""></a></li>     <li><a href=""></a></li>     <li><a href=""></a></li>     <li><a href=""></a></li> </ul>