The Living Thing / Notebooks :

Visual Studio Code

Atom for finite time

A text editor.

VSCode is Microsoft’s competitor to Atom, with a similar technology stack, but somewhat cleaner and faster.

AFAICT it’s the editor component from Visual Studio. Or is that something else? Just some shared branding without any particular shared code? IDK, don’t care enough.

Anyway, VSCode is pretty good, it turns out.

Command line not working

You want it to work from the command line for fish?

set -U fish_user_paths "/Applications/Visual Studio Code.app/Contents/Resources/app/bin" $fish_user_paths

Needful extension

previewing markdown

It comes with a built-in markdown preview, but you want mathematics support, no?

You can augment native markdown preview with math support or replace the whole preview setup with the revamped Markdown Preview Enhanced, which is very luxurious but hangs sometimes and is a bit messier.. The native solution “feels” nicer, but I need math macro support, which needs Mathjax-based rendering, which need Markdown Preview Enhanced.

Config one needs

You config is in a JSON file, which is quaintly retro but does mean that 3rd party config is at least not purely abysmal. The path location is the following:

hover/tooltip/hint completions things are too intrusive

First, which is hover, which is hints etc?

The thing that appears when you mouse over a character is hover. It probably does something useful in statically-typed languages, but ends up just being annoying in, e.g. julia/python

You want

    "editor.hover.delay": 3000,

so it activates after 3 seconds.

Possibly also

    "editor.hover.sticky": false,

The hints are probably also being annoying, right? because instead of letting you finish a line it wants to to insert some wacky argument?

    "editor.acceptSuggestionOnEnter": false,

That can be toned down by language for e.g. markdown.

How about bracket closing? (brrrrr) You probably want, in your config

    "editor.autoClosingBrackets": false,

Aaaaahhhh that’s better.

Which language is that file?

Want to associate file types to certain languages?

    "files.associations": {
        "*.thor": "ruby",
        "*.jsx": "javascript"
    }

Privacy

Want to disable reporting your habits to Microsoft?

    "telemetry.enableTelemetry": false

spelling

Spellright seems to be the best one, in terms of being fast and well-integrated into the OS.

However, it’s too aggressive with spellchecking latex math in markdown documents. Here is a workaround.

    "spellright.ignoreRegExpsByClass": {
        "markdown": [
            "/\\\\[^\\\\ {]*/g"
        ]
    }