Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Code completion
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Example == Assume a C++ application being edited in Visual Studio has a class {{mono|Foo}} with some member functions: <syntaxhighlight lang="cpp"> class Foo { public: void bar(); void foo_bar(char c, int n); }; </syntaxhighlight> When the developer references this class in source code, e.g.: <syntaxhighlight lang="cpp"> Foo foo; foo. </syntaxhighlight> as soon as the user types the period after ''<code>foo</code>'', IntelliSense automatically lists all the available member functions (i.e. <code>bar()</code> and <code>foo_bar()</code>) and all the available member attributes (private and protected members can be identified by a padlock picture beside their names). The user can then select one by using the arrow keys and hitting a completion character when the correct member function is highlighted. When available, IntelliSense displays a short description of the member function as given in the source code documentation. IntelliSense goes further by indicating the required parameters in another pop-up window as the user fills in the parameters. As the user types a variable name, the feature also makes suggestions to complete the variable as they are typed. IntelliSense continues to show parameters, highlighting the pertinent one, as the user types. The user can "force" IntelliSense to show its pop-up list without context by using {{keypress|Ctrl|J}} or {{keypress|Ctrl|Space}}. In [[Visual Studio]] this displays the entire application domain object model available to the developer.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)