question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove newlines around TODO checkboxes in the editor

See original GitHub issue

On https://github.com/sindresorhus/refined-github/issues/new, there is an “Add a task list” button. There is no autocomplete on Enter and I often use a button again to add a new item but Github adds 2 newlines around the TODO item with checkbox and in 90% of cases, that’s not what I want (I tend to have headers for each task list, so I need to add newlines anyway). I would like to have a feature that can be toggled in the settings of the extension, e.g. disable-task-list-newlines that would make the “Add a task list button” simply add a new checkbox item on the next line (1 newline that is). This is the default behaviour of Gitlab if I recall correctly.

I am almost embarrased to ask for this as I cannot imagine I am the only one stuggling with constant loop of pressing the “Add a task list” and removing two extra lines (unless I get tired and copy an empty task list item with a following newline and paste a dozen). I did thoroughly check https://github.com/Mottie/GitHub-userscripts and the issue tracker.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
fregantecommented, Dec 16, 2020

I’m super glad we don’t have to deal with this 😌

Read more comments on GitHub >

github_iconTop Results From Across the Web

Render check boxes / checklist / todo [$50 awarded] #117
Couldn't we start a list with [ ] or [x] at the beginning of a new line and replace it with a checkbox...
Read more >
Removing whitespace between HTML elements when using ...
Another solution would be to use unconventional line breaks in places of spaces. This is similar to the first couple answers ...
Read more >
Todo Tree - Visual Studio Marketplace
This extension quickly searches (using ripgrep) your workspace for comment tags like TODO and FIXME, and displays them in a tree view in...
Read more >
GoLand - Search and replace a target within a project
From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively,...
Read more >
How to build a Todo List App with JavaScript - freshman.tech
Next, we select the text input and trim its value to remove whitespace from the beginning and end of the string, and then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found