Questions tagged [todo]

TODO is often used in code comments to indicate a task that needs to be done. IDEs often highlight them. Please do not use this for questions about creating todo list applications.

TODOs are source-code comments, stating that something still needs to be done in that particular section of the program.

Different syntaxes are used for different languages. A typical C-style example would be:

// TODO: Fix this

It has been debated whether todo comments are to be considered good or bad practice.

Most IDEs have the facility of highlighting TODOs and/or displaying them in a separate view.

224 questions
0
votes
1 answer

How can I add a task to my HTML/CSS/JavaScript to-do list app after pressing the Enter key?

I am currently working on a to-do list application using HTML, CSS, and JavaScript. I have a text input field where users can enter their tasks, and a "Add Task" button to add the task to the list. However, I would like to improve the user…
0
votes
0 answers

to-do list template clone ...Trying to add a click event to the templates clone delete button but not sure what direction to take

I am learning template cloning in html/javascript and I am not sure what are the next steps to take to have it remove the span or the 'to do' item from the list after adding a to do item to the list...Trying to figure out how template clones work…
0
votes
1 answer

Cannot assign to property: 'quest' is a 'let' constant

I want to make a ToDo-App. So I made a List that takes the data from an Array. The Array works with a struct and consists of a title (String) and a Boolean which checks if the "quest" is done or not. In the ContentView you can see the List with the…
0
votes
1 answer

Not getting value on console in react

Its a simple Todo react app. I want to fetch the user input on the console. but i am not getting any as i type in the input box. Its a simple Todo react app. I want to fetch the user input on the console. but i am not getting any as i type in the…
me boros
  • 49
  • 6
0
votes
1 answer

When I click on the checkbox, the task should move to the completed section and be saved there even if the page is reloaded. But is not working

When I click on the checkbox, the task should move to the completed section and be saved there even if the page is reloaded. But is not working. import { useState,useEffect } from "react"; import Completed from "../completed/Completed"; import…
Denis Dev
  • 15
  • 2
0
votes
0 answers

TODOs in files which names start with a dot are not displayed in the Tasks view in Eclipse

Why are the TODOs in files which names start with a dot (e.g. ".content.xml") not displayed in the Tasks view in Eclipse? I already know other tricks for fixing the problems that some TODOs are not displayed in the Tasks view (e.g. cleaning and…
krm
  • 2,074
  • 2
  • 18
  • 21
0
votes
2 answers

Why the my todo list is visible localStorage and not on the screen?

I made a todo list in javascript. Everything works. When a todo is added, it is visible in the local storage, and when it is deleted, it is deleted from Local Storage. But i have to refresh the page to see this result on screen. I have to use…
Pasha
  • 166
  • 8
0
votes
0 answers

How to run Update function by using index to Update data in todo app

im run a mini todo app, it uses react, saga. the Add and Delete is running well but Update is not. this is TodoList.js file to show the content after add, Todolist.js Todolist.js and this is reducer.js file to handle logic for buttons : deducer.js ,…
0
votes
0 answers

How to show task data by date

i study flutter now i make todo app using flutter, hive(DB Library) i want show data(task) by date user click date -> showing what to do for the day so now i success add data to list and show All data list look at my code this code is model of…
최수형
  • 11
  • 2
0
votes
2 answers

Search function is Not filtering back to original data

if we search for any text in the search bar …we get filtered search results... but the issue is that all other To-dos are gone .. I cant get back to all other Todos .. search function code List todList =[]; searchTodo(String…
faiz
  • 13
  • 3
0
votes
0 answers

Last item of list view remains even after deleting it in Flutter

I'm building a todo app in which CRUD operations can be carried out. With the help of Sqlflite todo items will be stored/retrieved from the database. When i try to delete todos, it works just as fine except the last item in the list view remains…
Trouble Maker
  • 99
  • 1
  • 5
0
votes
0 answers

Toggle line-through in jsx

Trying to toggle a line-through in jsx when clicking on an item in an app I'm building. The line appears when clicked but I want to remove the line when clicked a second time. Here's my code so far import { useState } from "react"; function ToDo()…
0
votes
1 answer

Sphinx `todo` ignoring `todo`s in Python docstrings

I'm using Sphinx's todo extension but the todo shown in my code below is being ignored - any ideas why? It does "see" todos placed into the index.rst file so the todo processing is enabled. Thanks for all suggestions because I'm out of…
Paul D Smith
  • 639
  • 5
  • 16
0
votes
0 answers

Todo-Tree: Invalid regular expression: /???/: Nothing to repeat - Visual Studio Code TODO-Tree Extension

In VS Code, I keep getting this error pop-up: Todo-Tree: Invalid regular expression: /???/: Nothing to repeat Here is the TODO-Tree section of my settings: "todo-tree.regex.regex": "((//|--|#|