Giter Club home page Giter Club logo

Comments (7)

sean-mcmanus avatar sean-mcmanus commented on September 28, 2024

@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.

chall1123 avatar chall1123 commented on September 28, 2024

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.

sean-mcmanus avatar sean-mcmanus commented on September 28, 2024

@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 avatar chall1123 commented on September 28, 2024

@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
image

from vscode-cpptools.

sean-mcmanus avatar sean-mcmanus commented on September 28, 2024

@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 avatar chall1123 commented on September 28, 2024

@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.

github-actions avatar github-actions commented on September 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.