How to fix "The parser is still parsing files" popup in codeblocks - c++

So I have not changed any settings in my code blocks editor and yet this appears I am new to the code blocks editor and if anyone could explain how this could popup so I can fix it and I have heard people will disable code completion to fix this but I never had the problem with it on so
I have tried disabling code completion this did fix the problem but it normally wouldn't do this with code completion on and I don't want it off

Open Code Blocks settings screen
Click "Editor..."
On the left, choose "Code compliation"
Choose "C/C++ Parser"
Make sure the checkmark on "Use one parser for the whole workspace" is checked
Then after saving the changes restart your Code Blocks IDE and make project save it. After that your issue is resolved.

None of the solutions mentioned above helped me!
I found myself solution, try whether it works for you not!
settings -> Editor -> scroll down (left options) -> Code Completion -> C/C++ parser -> Use one parser per project Check this option -> Maximum allowed parsers keep it less mine worked when i keep it to 2

It seems that rebooting the program has fixed this problem... Also I uninstalled the Library finder which I had opened once by accident then closed the program not saving and changes to anything which then restored library finder and apparently fixed the issue...

This worked for me:
Create two C/C++ files. Build and run them. Go to the C/C++ file you've built first and try to write something. Now, your issue should be fixed.
There's a youtube video explaining this trick. You can watch this if you face any difficulty: https://www.youtube.com/watch?v=sduqmX_VXB8

It's very simple. Save the file declaring which type it is. If C++, save it as whatever.cpp and it's gonna work.

Your file name should start with lower case alphabet.

We have to simply do one thing i.e. stop the code completion.
Goto "Settings" menu --> "Editor" --> "General Settings" (Left Pallet) --> "Editor settings" tab --> uncheck the "Code completion" checkbox..
Save the setting and you are good to go.. now u will never get that pop-up again..

Related

CodeLite - unable to handle compilation, expected exactly one compiler job in ''

I'm just starting out in C++, writing my first few programs in CodeLite. I keep getting this red arrow & warning message (shown below). I managed to fix it so that my code runs and works fine (had to open some of my files as an administrator?), but the message won't go away - would like to know if anyone else has had this issue and if you managed to fix it! (and how, please & thankyou)
Select 'Plugins'->'Language Server'->'Settings' and uncheck the box that says 'Display Diagnostics' at the bottom of the page then click OK ( Drag down Setting Dialog to See it ). That should take care of those red arrows.
source:
https://www.udemy.com/course/beginning-c-plus-plus-programming/learn/lecture/18801890#questions/15870611

Enable a stack-based editor tab switch in a Jetbrains IDE, using the KeyMap setting

How can I enable a stack-based tab switch in a JetBrains IDE? I'm looking for something similar to what Eclipse uses as its default tab switcher where each tab that is accessed is placed on a stack, and we can cycle through the stack using a keybinding like Ctrl+Tab. For example, if I am in foo.txt and I switch to bar.txt, I want the next tab cycle to be foo.txt, regardless of how many tabs I have open. Is this possible?
I have explored the settings under Editor Tabs and Keymap, but I have not found any relevant settings.
I am open to general suggestions as well, as I'm a bit new to the JetBrains IDE's.
Also, I am trying this on WebStorm and PyCharm with an IDEAVim plug-in, and a customized keymap, running Ubuntu 14.04, if that matters.
Got it! This problem stemmed from an imported keymap that I was using. The imported keymap broke the default stack-based tab switcher, as described in the comments above.
To re-enable the stack-based tab switcher, there is a setting called switcher under Keymaps. I bound it to Ctrl+Tab and Ctrl+Shift+Tab, and everything works as expected. I had imported my emacs-based key-bindings, which bound switcher to Ctrl+x+b by default.

Turn off outlining permanently for VS2010 ( C/C++ )

For some reason I can't turn it off permanently. When I stop it manually from Edit->Outlining->Stop Outlining it's OK but once I close the file and open it again and it's on again. Disabled it in option->text editor->c/c++->formatting and nothing.
Tried editing the .vssettings file (or I'm editing wrong file? C:\Users\%current user%\Documents\Visual Studio 2010\Settings) but something is modifying it back again. I'm out of ideas :(.
Thanks in advance
Choose Tools menu > Options menu item.
Expand Text Editor then C/C++ and click on Formatting, set Enable Outlining to false
Note: you may need to reopen the file. The option is technically to enable outlining on file open.
In VS2013 it's not under Formatting. It's here:
Go to:
Tools/Options/Text Editor/C#/Advanced
And then just uncheck "Enter outlining mode when files open" checkbox.
And that's it. ;)
In VS2015 for C/C++ files it's here:
Options->Text Editor->C/C++->View->Enable Outlining

ID mode problem in MFC

Problem:
I am using Visual studio 2010 MFC c++..
facing this problem
I need actual menus that i naked, but i am in edit ID mode by mistake how can i leave edit mode.. and when i click on any edit ID mode menu.. i received the message provided in the above link
and when i run the project.. it shows no error but even then MFC is not running and displaying the result.Any one can help me to get rid of from thim problem
Expecting a good response..
Thanks
I have no idea what you're trying to ask but...
maybe edit the resource file as text would help?
Apparently you are in ID edit mode and want to leave it. Right click somewhere on empty space and uncheck 'Edit IDs' in the context menu by clicking on it.

need help using 2 mfc projects in one solution

ive created the first project as mfc application and i have tried to enter the solution another project which created as mfc dll. when i running program the gui from the first solution(demodlg) is shows up. and i want that in a prss of a button in the gui the second gui(CAnalyzerDialog) will show up. i've tried a lot of options and i cant get it done right.
the last option ive tried is this code :
CAnalyzerDialog dlg;
dlg.Create(CAnalyzerDialog::IDD);
please help. thank you for your time
I think the problem is that the program and DLL both have their own resource files, but MFC is only accessing the program resources and ignoring the DLL ones. Look into AFX_MANAGE_STATE and see if that helps.
Have you tried to set CAnalyzerDialog as primary project?
On solution explorer, right click on the CAnalyzerDialog, tick "Set as startup project".
Probably you are trying to elaborate that:
demodlg - EXE
CAnalyzerDialog - DLL
Check the way you link both project(static or dynamic-runtime/compile time).