You may find that some minor adjustments to your coding setup can have a huge impact on the effectiveness and enjoyability of your experience. Here are a few things you might try customising to suit your own needs. While they are largely sourced from resources focusing on dyslexia, anyone can benefit from them.
Further accessibility features, such as keyboard navigation, screenreader compatibility, and audio cues are described in the VS Code docs.
Additionally, if you need hands-free coding, read Josh W. Comeau's description of how he does this.
- Colours (themes and contrast)
- This one was designed by a dyslexic coder for their own use
- For fine-grained control, you can modify the colours of specific "tokens" such as numbers or words like "const" and "return". Here's an article on how to do this
- Typefaces
- This one was specifically designed for dyslexic readers and comes in a "monospace" font, which is what is typically used in code editors
- Font size, letter spacing, line spacing (general guidance)
- The editor is highly customisable within VS Code, and so is the integrated terminal. For example, using
"terminal.integrated.fontSize": 16
in your settings.json for VS Code. The markdown preview can also be customized with"markdown.preview.lineHeight"
,"markdown.preview.fontSize"
, and"markdown.preview.fontFamily"
.
- The editor is highly customisable within VS Code, and so is the integrated terminal. For example, using
- Magnification of entire interfaces (i.e. zooming in/out)
"window.zoomLevel": 1.5
(or whatever value you choose) in your settings.json for VS Code
- Icons for different file types
- Hiding whitespace characters
-
in your settings.json for VS Code
"editor.renderWhitespace": "none", "editor.renderControlCharacters": false
-
- Find "TODO" items in your code and build a list in the sidebar with Todo Tree
- Hiding the minimap
"editor.minimap.enabled": false
in your settings.json for VS Code
- Colours to highlight (or de-emphasise) certain panels, applications, or work spaces
- Spellchecker for code
- Code snippets
- Auto-completion & auto-closing of tags
- Closure highlighting
These articles are primarily geared towards dyslexia, but include suggestions that may also be useful for people who are neurodivergent.