VSCode All in One

Using vscode as complier, editor, writer

# Installation

Code: code

GitHub Login: install gnome-keyring, Ctrl+Shift+P: Preferences: Configure Runtime Arguments: "password-store":"gnome" or /usr/share/applications/code-oss.desktop: Exec=/usr/bin/code-oss --unity-launch --password-store="gnome" %F

Word Count: WordCounterMS

Vim: VimOOS

# Latex

LaTeX WorkshopOOS

  • Latex Compiler: There are two popular option for Linux compilers: TexLive texlivearch and MikTex miktexAUR.

    • TexLive: Already contains several popular packages for math, music, etc. paper writing, and it is maintained by a group. But it is huge which up to 2 GiB
    • MikTex: Only contains core packages, it is needed to install other package through a pop-up windows while it find some packages are using in the content. It is small but only maintained by one person.
  • pandoc-bin & vscode-pandocOOS

# C++

  1. Install debug tool gdb: $ sudo pacman -S gdb

  2. Install extension C/C++OOS, then create a file test.cpp:

    #include <cstdio>
    
    int main() {
        printf("Hello,\n");
        printf("world\n");
        return 0;
    }
    
  3. Terminal -> Config Default Build Task... -> C/C++: g++ build active file; then turn back to test.cpp, click the gear icon: "C/C++: g++ build and debug active file"

# Misc

Built with Hugo
Theme Stack designed by Jimmy