Home > Back-end >  message that pops up while writing python code on vscode
message that pops up while writing python code on vscode

Time:07-07

I am not sure what it is actually called. I am a beginner. I am learning python and using vs code as my code editor. But when I write codes the message in the red circle highlighted in the screenshot pops up. It's kind of annoying. Can someone please help me with it? I don't know what it is called and would like to turn it off. enter image description here

CodePudding user response:

That pop up just shows the structure of the function you are using. It includes parameter hints.

In the image it is showing the structure of print function. It's a useful feature to be honest.

Press esc to cancel out of an individual popup, or set"editor.parameterHints.enabled": false to disable it entirely.

CodePudding user response:

So, that box you have there is the documentation of the method you are calling. In this case, print(). It's actually quite useful. It'll give you a quick description of the parameters that you can pass into the function. For more confusing functions, the auto-documentation is a must have. But, of course, it is up to you.

You can disable it by setting "editor.parameterHints.enabled" to false in your .json

  • Related