Auto add list dashes
Is there a way to have the dash on the next line of a yaml file get auto-added
for example, currently this happens
example: list: - "cool entry" # 4 spaces, rest blank
but im wondering if i can make n++ auto add the dash for that next line
Sorry. That feature doesn’t exist in Notepad++. For language-specific things like that, the developer usually relies on someone creating a plugin that handles language-specific tasks (like the abundance of plugins that add features for XML, HTML, JSON, and the like). But I don’t know of any plugin directed at adding features for YAML.
If you had one of the scripting plugins (like PythonScript, but there are other scripting plugins also available), you could register a function that watches for keystrokes, and does something like “if the RETURN key is hit, and the current line starts with spaces then
-, then make the new line start with the same indentation and