Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Quiss on September 01, 2018, 10:22:10 am

Title: Disabling code completion for files other than c/c++
Post by: Quiss on September 01, 2018, 10:22:10 am
Hi,

I have a c++ project and there are some .txt files in it. Is it possible to disable CC for files other than c/c++ files? I've looked around a bit but there are only options for file extensions which should be parsing.
Title: Re: Disabling code completion for files other than c/c++
Post by: oBFusCATed on September 01, 2018, 10:30:45 am
What is the real problem?
Why do you want it disabled?
Title: Re: Disabling code completion for files other than c/c++
Post by: Quiss on September 01, 2018, 10:57:37 am
Correct me if I'm wrong but CC only works for c/c++ right? The CC popup is really annoying and unnecessary when editing a .txt (or other) file. For example, I'm writing the word "date", and CC popup shows and selects some kind of macro like "DATE_ASDASD". If I press enter to go to the next line -which is literally my intention in a text file-, I select CC popup and the word date changes to "DATE_ASDASD" obviously.
Title: Re: Disabling code completion for files other than c/c++
Post by: oBFusCATed on September 01, 2018, 11:55:37 am
OK, now I understand. Yeah it is not good to show the CC popups in txt files.