• Thomas Schöps's avatar
    Clang CodeCompletion: No auto-completion for numbers · e86c5a72
    Thomas Schöps authored
    Summary: When typing a number, code-completion is undesirable in my opinion, since most likely no completion item applies and it only distracts, obstructs the view, or is triggered accidentally. Thus, this patch prevents code completion from automatically getting triggered for numbers. It does not cover all cases (code completion will still show something for floating-point numbers that start with a dot, such as .1f) but should cover the most common cases. Manual completion with Ctrl+Space is still possible.
    
    Test Plan: Tested manually.
    
    Reviewers: #kdevelop, mwolff
    
    Reviewed By: #kdevelop, mwolff
    
    Subscribers: mwolff, brauch, kdevelop-devel
    
    Tags: #kdevelop
    
    Differential Revision: https://phabricator.kde.org/D17915
    e86c5a72
Name
Last commit
Last update
app Loading commit data...
app_templates Loading commit data...
appimage Loading commit data...
cmake/modules Loading commit data...
doc Loading commit data...
file_templates Loading commit data...
kdevplatform Loading commit data...
pics Loading commit data...
plugins Loading commit data...
release-scripts Loading commit data...
shortcuts Loading commit data...
.arcconfig Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.kateconfig Loading commit data...
.kateproject Loading commit data...
.krazy Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
COPYING.DOC Loading commit data...
COPYING.LIB Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake Loading commit data...
Doxyfile Loading commit data...
ExtraDesktop.sh Loading commit data...
INSTALL Loading commit data...
KDevelopConfig.cmake.in Loading commit data...
README.md Loading commit data...
config-kdevelop.h.cmake Loading commit data...
format.config.uncrustify Loading commit data...
format_sources Loading commit data...
kdevelop.kdev4 Loading commit data...
kdevelop_bash_completion Loading commit data...
org.kde.kdevelop.appdata.xml Loading commit data...