Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to close the parameter type of the return value is always displayed in the code #7026

Closed
youngx123 opened this issue Mar 9, 2025 · 1 comment
Assignees

Comments

@youngx123
Copy link

youngx123 commented Mar 9, 2025

When I install pylance for debugging Python code in the process, it always shows the return value as shown in the following figure, which brings a bad experience to my debugging.
Image

Image

I tried to use the setting like "python.analysis.inlayHints.functionReturnTypes": false, but it didn't work at all.

After uninstalling Pylance, everything returned to normal。

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Mar 9, 2025
@debonte
Copy link
Contributor

debonte commented Mar 10, 2025

@youngx123, you can disable this feature for all languages by setting "debug.inlineValues": "off". Looks like you can't disable it for specific languages (ex. Python) at the moment.

@debonte debonte removed the needs repro Issue has not been reproduced yet label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants