texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.77k stars 343 forks source link

Case insensitive autocomplete #3586

Open nicoj13 opened 5 months ago

nicoj13 commented 5 months ago

Describe the feature and the current behavior/state

Is there a way to enable a Case Insensitive autocomplete? This is, make the autocomplete be able to find commands and environments formatted in different casing. This was a buggy feature in 2014 and was removed (see https://sourceforge.net/p/texstudio/bugs/1189/ )

Who will benefit with this feature?

Anyone who uses mixed casing in their custom commands and environments.

Any Other info

Moreover, if I wanted to try and code this feature, where should I look?

sunderme commented 5 months ago

the lists are presorted to speed up search. Reordering them for case insensitive search is possible, but (computationally) expensive. You can look at latexcompleter.cpp.

nicoj13 commented 5 months ago

@sunderme Thanks, I'll look into it