Helpful tips that can make writing Nota extensions easier and more pleasant (sorted by significance):
- Use Nota's command line interface inside your scripts to open files and workspaces inside Nota.
- Have you tried using google/zx for writing scripts. It's an easy and powerful experience.
- You can write an extension in any programming language you are familiar with. For example, name your custom command
- Each script working directory (CWD) points to the workspace root. For example, you can directly run
git push, without the need to execute
- Have you considered adopting already existing scripts by just adding the
@parameterssyntax to them?
- If you writing Bash scripts, use SpellCheck to check your scripts. There are also extensions for VSCode and JetBrains. We also use Devhints.io bash scripting cheatsheet to remind us of Bash peculiar syntax.