ai-autocoder / vscode-todo

MIT License
2 stars 3 forks source link

Creation default options #3

Closed ilya-gs closed 3 months ago

ilya-gs commented 3 months ago

By default new todo is created at the top of the list and with markdown disabled. I just added 2 options to set default creation behavior: createMarkdownByDefault: boolean and createPosition: "top" | "bottom". Moreover some code improvements were added.

ai-autocoder commented 3 months ago

Hi @ilya-gs, thanks for contributing. The code looks okay, I have added a call to sort function to prevent new items to be placed after completed todos. I`ll merge the changes now.