cide icon indicating copy to clipboard operation
cide copied to clipboard

Where is this IDE actually store it settings?

Open ruanjiasing opened this issue 1 year ago • 4 comments

I tried to find in C:\ProgramData and everywhere possible in %AppData%. I even tried to delete the directory CIDE-2020-02-01 and re-extract from the archive (before that, I checked the directory very carefully but didn't see where the settings were stored). All of that doesn't help. I mistakenly set the Code parsing in Program settings to clang-cl.exe and only realize later I don't have MSVC installed, so the correct compiler should be clang.exe. I changed clang-cl.exe to clang.exe and the IDE confirmed this when I closed and restart it. The problem is, when creating a new project, clang-cl.exe is still being used (and of course will not work). I tried delete the project (from disk not from the IDE), choose to create the project in a different location,... doesn't work at all. Still clang-cl.exe being chosen.

p/s: I have cmake, ninja and full mingw with gcc and clang installed and setup correctly.

ruanjiasing avatar Aug 10 '22 14:08 ruanjiasing

There is only an empty directory called ocide-backup in %Temp%. I have searched everywhere. The only place left is the Registry. Are you really put the settings in the Registry or are you hardcoded it to clang-cl.exe?

ruanjiasing avatar Aug 10 '22 14:08 ruanjiasing

I realized what I'm using is an outdated binary from 2020 and he doesn't even bother to make a new release. He told me to build from source instead. The problem is I'm on Windows 7 and setting up Qt to build it is not worth for me. I will not waste my time with this anymore. Bye.

ruanjiasing avatar Aug 10 '22 14:08 ruanjiasing

Just to answer the question: CIDE uses QSettings to store its settings, which I think puts them into its platform-specific default location that is documented here: https://doc.qt.io/qt-6/qsettings.html#platform-specific-notes On Windows, that seems to be the registry indeed.

puzzlepaint avatar Aug 10 '22 14:08 puzzlepaint

Just to answer the question: CIDE uses QSettings to store its settings, which I think puts them into its platform-specific default location that is documented here: https://doc.qt.io/qt-6/qsettings.html#platform-specific-notes On Windows, that seems to be the registry indeed.

What about using ini files or other plain texts format like xml and json? BTW, the real bug is the IDE somehow can't update nor not update the value (to clang.exe) in the registry so it keeps using the old value (clang-cl.exe). This is a serious bug.

ruanjiasing avatar Aug 10 '22 20:08 ruanjiasing