I’ve recently updated my Mac to Big Sur 11.1 (I was on Mojave) and to the latest versione of Xcode (12.3). I have made a fresh install of the OS, and then I’ve downloaded the latest JUCE version from the website (I was using the latest version also before the update to Big Sur). I am currently working on an audio application and a plugin, so I have downloaded my projects from my repos to work on them.
The audio application did not compile, due to the “11_0” problem, but I found on the JUCE develop branch the fix and now compiles without problems.
Then I moved on to the audio plugin and it compiled without issues.
The problem otherwise is the fact that now autocomplete works only in PluginEditor/PluginProcessor .cpp files, while in all the other .h files no. The other .h files are component classes, created with the Projucer (Add new component class etc…). The same happens in the audio application, where only in the MainComponent file the autocomplete works. I’ve always used it everywhere in my projects, why now is not working anymore? For example if I have a TextButton called startButton, when I write startButton.setB nothing happens, while it should suggest the function “setBounds”. If I do the same thing in the PluginEditor.cpp it works perfectly.
The settings inside the Projucer are exactly the same that I had before the upgrade to Big Sur, and I have the “use namespace Juce” enabled, as I always had.
I’ve tried to create a new audio plugin from scratch with the Projucer, but again the autocomplete worked only in processor and editor.
Autocomplete is essential for me to work, is there a way to fix this issue?