Closed mobad closed 6 years ago
I use https://marketplace.visualstudio.com/items?itemName=ryzngard.vscode-header-source for this which is fast; some of the other extensions are slow for this since they query the project.
Re recommended settings, I'm not sure, as I don't use vscode-cpptools.
I am struggling with this also. I want to use CQuery for all editing activities, because it does so much more, and better - but I want the cpptools for the debugger support. Out of the box, with both installed, naturally you get duplicate autocomplete results, etc.
@mobad with the 3 settings you mentioned defined, plus the extension that @jacobdufault suggested does this effectively work?
I'll have another stab at it when time permits - first time round I didn't know about the "C_Cpp.intelliSenseEngine": "Disabled"
option.
@jacobdufault do you use an extension for debugger integration?
@bdeeming With the suggested extension and "Disabled", Alt+O works. You will also need to remove the Alt+O shortcut from vscode-cpptools or it will override this one.
@jacobdufault Recommended settings for debugging with vscode-cpptools would be useful to put in the wiki as I think this would be a very common setup.
@jacobdufault do you use an extension for debugger integration?
Not much, I've often have painful experiences with debuggers on Chrome; they are too slow or unreliable (chrome's test runner also runs a separate process for each test, etc, which makes it more difficult to integrate tooling with). I tried https://github.com/WebFreak001/code-debug for a bit but I was unable to get it working well enough; I've been meaning to try the microsoft cpp tools since others have told me it works pretty well.
@jacobdufault Recommended settings for debugging with vscode-cpptools would be useful to put in the wiki as I think this would be a very common setup.
I'd greatly appreciate it if you're willing to edit the wiki :)
You get an error now:
The command is disabled because "C_Cpp.intelliSenseEngine" is set to "Disabled".
Now that we can fully disable intellisense in vscode-cpptools, are there plans to plans to duplicate some of these keyboard shortcuts in the cquery extension?
What are the recommended settings for vscode-cpptools now for people who want debugging from vscode-cpptools? I've currently got: "C_Cpp.autocomplete": "Disabled", "C_Cpp.errorSquiggles": "Disabled", "C_Cpp.intelliSenseEngine": "Disabled",