GothenburgBitFactory / GothenburgBitFactory/taskwarrior

Support low effort case sensitivity switching in filters

Open
#3,278 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
6.1k
Forks
423
Avg merge
1d 19h
Merged PRs (30d)
11

Description

#### Support low effort case sensitivity switching in filters

As a user, I would like to have case sensitivity only when I need it, through a syntax less cumbersome than an rc override (this is achievable today through `task rc.search.case.sensitive:yes filter command`). This could be implemented in many ways, but an existing pattern in Vim feels like good fit; Vim supports a case-sensitivity mode called ["smartcase"](https://vimdoc.sourceforge.net/htmldoc/options.html#'nosmartcase'). If the user sets their default case sensitivity mode to "smartcase", then, while searching, if a filter includes any upper case letters, the search is case sensitive; otherwise, it's case insensitive. In the context of taskwarrior, users could set default "smartcase" case sensitivity option and override it when necessary with the rc syntax above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.