thomfre.dev@home:~$

Yet another development, infosec and offensive security blog

Using VS Code for note taking

During my PWK (Penetration Testing with Kali Linux) course and lab time, I used VS Code extensively to write my own research notes. I used Joplin for enumeration and attack notes.

VS Code combined with Markdown and git (and GitHub, Gitlab etc) make up a very powerful note tool. Below you’ll see a list of all the extensions I’ve added, which make working with Markdown in VS Code even easier.

I recommend structuring your notes in folders that make sense to you. Well structured notes serve a dual purpose, the first is to make the knowledge stick better during the research phase, the second is to make it easier to find what you need when you have to use your notes later.

All of the extensions listed below can also be installed in VSCodium (which is installed by default in Parrot), or you can install VS Code via snap:

sudo snap install --classic code # or code-insiders

Fonts

I’m a developer, and a huge fan of the Fira Code font. If you, like me, want to run this on Linux, you can install the fonts I use with:

sudo apt install fonts-firacode fonts-noto-color-emoji

VS Code configuration

The following extensions should be installed when viewing/using this repository:

My VS Code settings.json

{
  "telemetry.enableTelemetry": false,
  "telemetry.enableCrashReporter": false,
  "editor.formatOnSave": true,
  "workbench.iconTheme": "vscode-icons",
  "editor.fontFamily": "Fira Code,Noto Color Emoji",
  "editor.fontSize": 14,
  "editor.fontLigatures": true,
  "markdown-pdf.executablePath": "/opt/google/chrome/chrome",
  "editor.codeActionsOnSave": {
    "source.fixAll.markdownlint": true
  }
}

GitHub markdown

I use GitHub flavored markdown: Writing on GitHub