Comments (7)
@chall1123 I don't understand why there's text code/lib
in your query if that doesn't appear to match the symbol you intend to find.
Does the issue repro with a smaller workspace? There could be too many matches (that are being filtered out) being returned from our database query. You could try increasing C_Cpp.maxSymbolSearchResults to 10000.
from vscode-cpptools.
C_Cpp.maxSymbolSearchResults
@sean-mcmanus I added a setting of 10000 for "C Cpp. maxSymbolSearchResults", but my function still cannot be searched. When I uninstalled the Python extension, my function can be searched normally, so there may be some conflict between these two extensions
from vscode-cpptools.
@chall1123 Which Python extension? It seems like it would be a bug with that extension? But from the docs on registerWorkspaceSymbolProvider at https://code.visualstudio.com/api/references/vscode-api, it says "Multiple providers can be registered. In that case providers are asked in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause a failure of the whole operation."...so from that it doesn't sound like it's expected for the Python extension to be blocking our symbol results. It's possible it could be some bug with VS Code itself?
from vscode-cpptools.
@chall1123 Which Python extension? It seems like it would be a bug with that extension? But from the docs on registerWorkspaceSymbolProvider at https://code.visualstudio.com/api/references/vscode-api, it says "Multiple providers can be registered. In that case providers are asked in parallel and the results are merged. A failing provider (rejected promise or exception) will not cause a failure of the whole operation."...so from that it doesn't sound like it's expected for the Python extension to be blocking our symbol results. It's possible it could be some bug with VS Code itself?
@sean-mcmanus python v2023.9.10, if this is vscode bug, I can only install one of the two extensions to use
from vscode-cpptools.
@chall1123 Are you able to create a sample repro that demonstrates the bug? Or are able to find the necessary configuration settings to repro it? i.e. I don't know how to repro the issue. If you file a Pylance or VS Code bug, they also might need more repro info.
from vscode-cpptools.
@chall1123 Are you able to create a sample repro that demonstrates the bug? Or are able to find the necessary configuration settings to repro it? i.e. I don't know how to repro the issue. If you file a Pylance or VS Code bug, they also might need more repro info.
@sean-mcmanus thanks,My project contains a large amount of Python and C code.There are no other operations,I just need to install and uninstall Python extensions simply. , and the problem can be solved and reproduced. I will use it alone for now. Thank you very much
from vscode-cpptools.
Hey @sean-mcmanus, this issue might need further attention.
@chall1123, you can help us out by closing this issue if the problem no longer exists, or adding more information.
from vscode-cpptools.
Related Issues (20)
- mingw error HOT 2
- `cppvsdbg` opens a source file relative to `AppData\Local\Programs\Microsoft VS Code` HOT 1
- cpptools-srv too many zombie processes causing laptop to crash HOT 9
- "Go to definition" feature doesn't exist HOT 2
- [Regression] No ipch folder for mac version generated after opening cpp file HOT 2
- problems while parsing boost-library headers HOT 2
- No reload window message is shown after the C_Cpp.caseSensitiveFileSupport is changed (on Windows)
- Type and function hover hint: display literal declaration and not formatted one
- an issue with the tracking header file HOT 3
- Bug: Command `C/C++: Select IntelliSense Configuration... -> Use g**` HOT 2
- Suppress "Unable to resolve configuration with compilerPath" warning in CMake+Swift projects HOT 12
- Extract to function incorrectly marks refactoring as unavailable when using for loop with a lambda.
- Extract to function still extracts when canceled HOT 4
- Extract to member function doesn't undo all workspace edits HOT 1
- CMake+MinGW+Clang not start cppdbg debugger HOT 1
- Inaccurate Go-to-Implementation for Functions with the Same Name in C++ HOT 1
- clang-tidy and `"editor.formatOnSave": true,` not updating properly on save HOT 6
- Improve error output/hover popup info HOT 4
- Correct clang-tidy and clang-format binaries not used from env HOT 8
- User-defined literal operators are not accepted when using Espressif’s xtensa-esp32-elf-gcc version 13.2.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-cpptools.