Using "ToDo Tree" extension in VS Code with VoltScript

ToDo Tree is an excellent extension for managing ToDos in VS Code. However, out-of-the-box it does not correctly identify ToDos etc in BASIC languages (Visual Basic, LotusScript, VoltScript) etc.

However, the settings allow you to easily modify the regex it uses, so it will automatically pick up ToDos etc.

  1. Go to Preferences / Settings and search for “regex”
  2. The first prefix match by default is //. Change this so it also matches on a single quote by adding '| - “single quote or”.
  3. You can now match on TODO, FIXME etc. You can optionally enter a space after the comment delimiter.

This is what the settings should now look like:

If you have GitHub or JIRA linked, the “Show Code Actions” lightbulb will also allow you to create a GitHub issue or JIRA ticket for the task.