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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

editing the input value in todo list adds a new task

the edit list button works, the problem is that when you edit the input and press enter a new task is added. how can I render the task let todos1 = JSON.parse(localStorage.getItem("todos")) |...
Luciano000's user avatar
2 votes
3 answers
71 views

Splice within for loop not removing selected indexes

If page reloaded, splice method returned [0]{'C'} instead of 0:{'B'} todos = [0:{"title":"A"}, 1:{"title":"B"}, 2:{"title":"C"}] //store ...
FAHAD's user avatar
  • 33
0 votes
1 answer
40 views

git statistics on commit based level

I would like to get a custom statistics on git repository on commit based level on specific branch. For instance, I'm interested to find how the TODOs comments evolve during the time since the first ...
αλεχολυτ's user avatar
0 votes
0 answers
7 views

set ptoperties of null

const todos = []; // selecting : const todoInput = document.querySelector(".todo-input"); const todoForm = document.querySelector(".todo-form"); const todoList = document....
mohamad solat's user avatar
0 votes
0 answers
19 views

I am Unable to toggle my completed todo on the backend as well as on the frontend

I am unable to toggle my completed todo on the backend as well as on the frontend, If once completed set to true is not returning back to false import { useContext, useEffect, useState } from "...
Zulqarnain Ansari's user avatar
-3 votes
1 answer
73 views

I am having problems when trying to make a to-do list [closed]

I am trying to create a javascript to-do list, but I am having a problem: const inputEl = document.querySelector('form'); const buttonEl = document.querySelector('.todo-button'); const todoUl =...
Gad Ashell's user avatar
-2 votes
1 answer
48 views

Several todo lists on one page, how to get multiple submissions on the same page

I have a weekly planner that is essentially several todo lists on one page. I have one that functions, but I do not know how to make it so each one responds to each individual input field and ...
breanne1209's user avatar
0 votes
1 answer
27 views

Javascript todo list edit function

In the code below the function replaces the text content of all elements with the class "todos" with the value entered in the input field with the id "myinput". I want it to ...
Jaya Prasthika Prabhuram's user avatar
0 votes
1 answer
162 views

ToDo List Swift

I am making an application in Swift language with UIKIT the application is as follows ToDo List in which I need to output tasks as follows 1 there should be only two sections completed with the button ...
Desalutar's user avatar
0 votes
1 answer
29 views

SyntaxError: Unexpected token 'catch' in C:\Users\KIIT\Desktop\ML course\Web Projects\TO LIST\views\list.ejs while compiling ejs

<!DOCTYPE html> <html> <head> <title>ToDo List</title> <link rel="stylesheet" href="css/style.css" /> <meta charset="utf-8&...
Vasav Chaudhary's user avatar
1 vote
0 answers
35 views

How can I show an edited innerHTML element in my todo list?

I have coded for a task-todo list that can be either deleted or edited for modifications in the input text field. However once edited in the input text field for modification I can not get the new ...
Mehdi's user avatar
  • 71
0 votes
1 answer
274 views

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 ...
Manuel Dinis Júnior's user avatar
-1 votes
1 answer
27 views

How to get selected value from drop downlist in ReactJs?

i am not able to get the value from drop list the value that i am getting are wrong, they are reverse if i click complete it will show incomplete in console and vice verse const [status, setStatus] = ...
Mohit Rakh's user avatar
0 votes
0 answers
26 views

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......
Jeramiah Burke's user avatar
0 votes
1 answer
112 views

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 ...
c0ntrol3F_'s user avatar
1 vote
0 answers
63 views

How to remove include file TODO's from VS itself from the task list?

Suddenly I get like 10 TODO's in my task list in Visual Studio 2022, which are inside the folder C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\... I'm doing a C++ Console project. The ...
Michel Keijzers's user avatar
0 votes
1 answer
45 views

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 ...
me boros's user avatar
1 vote
1 answer
54 views

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"; ...
Denis Dev's user avatar
1 vote
1 answer
58 views

How to copy the message of the previous commit into the new commit to edit it

I write my commits in the following way, namely I try to document what has been done and what remains to be done (todo list): Done: - task1 done Todo: - task2 -- implement feature1 -- implement ...
ecjb's user avatar
  • 5,243
0 votes
0 answers
39 views

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 ...
krm's user avatar
  • 2,084
0 votes
2 answers
68 views

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 ...
Pasha 's user avatar
  • 166
0 votes
0 answers
61 views

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....
Anh Tú Trần's user avatar
0 votes
0 answers
63 views

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 ...
최수형's user avatar
0 votes
2 answers
36 views

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&...
faiz's user avatar
  • 13
0 votes
0 answers
102 views

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 ...
Trouble Maker's user avatar
0 votes
0 answers
46 views

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 ...
Jaymie Redman's user avatar
0 votes
1 answer
282 views

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. ...
Paul D Smith's user avatar
6 votes
2 answers
616 views

Why does gofmt remove indented TODO formatting?

It seems gofmt in go1.19 changed its behavior to not allowing indenting based on some heuristics (from go docs: https://tip.golang.org/doc/comment). But this breaks the TODO comment formatting. This ...
Noel Moldvai's user avatar
0 votes
0 answers
160 views

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": "...
perry_the_python's user avatar
0 votes
0 answers
49 views

TODO markers disappeared in Visual Studio 2019 Enterprise

I used to see markers on the left column(not sure about the name, it is the area where the debug breakpoints are marked with red dots) for the lines containing // TODO. Somehow this has disappeared. ...
Vectorizer's user avatar
  • 1,126
-1 votes
2 answers
500 views

Eclipse: How to remove all TODO tagged comments?

In Eclipse, is there any way, e.g., built-in functionality or short cuts of Eclipse, to REMOVE ALL comments tagged with TODO? So far I can click and open each file via the matched TODO items as shown ...
ThomasIsCoding's user avatar
6 votes
1 answer
801 views

How to move TODO Tree (Visual Studio Code) Extension from the Activity Bar to the Explorer Bar?

It is very distracting and unproductive to me, to go through the following everytime I create a TODO Tree note: create note and save leave Explorer bar enter Activity bar click on TODO Tree just to ...
kristynagel72's user avatar
1 vote
0 answers
234 views

JetBrain's "TODO" highlighting not working [duplicate]

I recently decided to reinstall some of my IDEs as i wanted to get a clear installations. I re-downloaded Pycharm and IntelliJ (community version) and found out that the "TODO" and "...
ChocolateBear's user avatar
0 votes
0 answers
45 views

How to fetch all FIXMEs within JUnit test?

I am locking for a simple way to fetch all FIXMEs inside my source code within a JUnit test. If this list contains entries the test shell fail and print out all collected FIXMEs. The source code is ...
Szdnez's user avatar
  • 59
0 votes
0 answers
53 views

Is it possible to output ONLY global TODO list in doxygen?

Is there an option to avoid outputting the TODO list in each class, so that the class documentation is not cluttered with these items. At the same time, I would like to preserve the global TODO list.
NameRakes's user avatar
  • 463
0 votes
1 answer
566 views

Regex for TODO keyword when passing through a list of directories to get a list of files with TODO keyword (eg. //TODO) but not as variable / string

I'm trying to write an application that looks through a directory and flag out all files (be it in directory or subdirectories) that has the TODO keyword (the one that flashes/highlights in color ...
isachan's user avatar
  • 11
2 votes
2 answers
471 views

Don't generate TODO eclipse when i create new content

I want Eclipse not to automatically generate some //TODO stuffs like this for example : @Override public String getPassword() { // TODO Auto-generated method stub return null; } I want to ...
jozinho22's user avatar
  • 499
0 votes
1 answer
100 views

PhpStorm ToDo's not working on Mac OSX 10.15

I cannot get PhpStorm 2020 to see the todo's. I even tried changing the regex but that did not work. Does anyone know how to to fix this? I am using a mac with OSX 10.15.
Jamie Ross's user avatar
0 votes
1 answer
244 views

Keymap option missing Next TODO

I'm trying to add a keybinding for Next TODO I see this option in two places: Alt6 TODO section / down arrow on the left CtrlShiftA actions menu (search "next todo") What I'm trying to do is to add ...
T04435's user avatar
  • 12.9k
9 votes
5 answers
3k views

Why is Pycharm not highlighting TODO's?

In my settings, I have the TODO bound to highlight in yellow, yet in the actual code it does not highlight. Here is a screenshot of my settings: Editor -> TODO Does anyone know how to fix this? EDIT:...
nernac's user avatar
  • 185
0 votes
1 answer
91 views

Exclude TODO from specific files in Netbeans

Is there a way to filter out or ignore the TODOs coming from specific files? My todo list is overrun with todos coming from libraries rather than my own code. Since the libraries are included in my ...
Sylverdrag's user avatar
  • 8,918
1 vote
1 answer
727 views

org-mode changing parent todo state based on subtask todo state

I'd like to change automatically the todo state of the parent heading based on the TODO state of the child heading. Is there any function/setting to get this done? E.g. * TODO project 1 ** TODO ...
Sebastian's user avatar
  • 396
1 vote
0 answers
288 views

Is there a way to highlight TODO's on the QtCreator IDE?

I am "refactoring" and improving some lines of code in a forked GitHub project (a Qt calculator), using the Qt-Creator IDE; Therefore, I need a "TO-DO plugin" (to highlight some comments, those I am ...
Antonio's user avatar
  • 11
3 votes
1 answer
2k views

How to change body of function TODO() generated on Kotlin?

I need leave something to do later on my code and TODO() auto generated produces a very long comment like follow TODO("not implemented") //To change body of created functions use File | Settings | ...
Abner Escócio's user avatar
1 vote
1 answer
410 views

Android - (Android Studio) - Create similar to TODO, but different COLOR AND NAME?

I found one post that seemed similar, but didn't fully address my question. As the title suggests: In Android Studio, how can I create a word/rule (similar to the way TODO works), which when typed, ...
Studio2bDesigns's user avatar
1 vote
2 answers
2k views

Searching 'TODO' is not working in PyCharm

TODO is not working in PyCharm. When I comment out and use TODO, there is no any highlight and PyCharm also found 0 TODO items. And I also create a new project but the result is same. Here is what I ...
R.igo 's user avatar
  • 75
5 votes
2 answers
371 views

TODO Tool window in Emacs?

I'm looking for a functionality like: the TODO tool window of IntelliJ IDEA (see https://www.jetbrains.com/help/idea/todo-example.html) or the Tasks list of Eclipse (see https://dzone.com/articles/to-...
user3341592's user avatar
  • 1,459
5 votes
2 answers
9k views

Is it a good habit to write TODO to commit message? [closed]

I just realized that I prefer writing TODO notes directly in to the latest commit instead of issue tracker, for example: TODO: - Remove console.log - Check that XY works - ... For example if I have ...
bimlas's user avatar
  • 2,397
1 vote
1 answer
194 views

How to count todo list in doxygen ?

I'm going to display the count of todo lists on MainPage. Is there any special command for getting information of todo list ? /*! \mainpage My Personal Index Page * * ToDo List = 100 * Bug List =...
Changju.rhee's user avatar
0 votes
1 answer
157 views

How to fail Maven build if code contains any TODOs [duplicate]

We add TODOs to our code whenever there is a dependency from another team member. Then we slowly resolve all TODOs until our code works. How can I make our build fail when there are any unresolved ...
Jed Cua's user avatar
  • 241

1
2 3 4 5