print('Hello, Visual Studio')
and notice how Visual Studio IntelliSense displays auto-completion options along the way. The outlined option in the drop-down list is the default completion that's used when you press the Tab key. Completions are most helpful when longer statements or identifiers are involved.print
function, typing (
after print
to indicate a function call displays full usage information for that function. The IntelliSense pop up also shows the current argument in boldface (value as shown here):print
from the argument 'Hello Visual Studio'
. Also, temporarily delete the last '
on the string and notice how Visual Studio shows a red underline for code that contains syntax errors. Then replace the '
to correct the code.import
and from
statements. These completions help you easily discover what modules are available in your environment and the members of those modules. In the editor, delete the print
line and start typing import
. A list of modules appears when you type the space:sys
.from
to again see a list of modules:math
, then continue typing with a space and import
, which displays the module members:sin
, cos
, and radians
members, noticing the auto-completions available for each. When you're done, your code should appear as follows: