IntelliSense

Course Home | Official VS Code Docs on IntelliSense

It’s awesome! It means you don’t need to remember all the methods on an object. It makes exploring new frameworks very easy. It also means you don’t have to press all.the.keys().

Code Completion

VSCode will try to guess what it thinks you’re about to type. So if you go to a new file, and type ‘fun’, VSCode will offer you ‘function’, and you can just press tab and it will complete ‘fun’ to ‘function’.

Code completion demo

Functions On An Object

When we are playing with a new framework, or perhaps another member of the team has created an Object for us, we want to explore what properties we have. IntelliSense makes this very easy. We create a new instance of the object, and simply press ‘.’ and VSCode will present us with all the functions as demonstrated in this handy gif from the Official VS Code Docs on IntelliSense

IntelliSense Demo

Course Home ➔

Mark Winteringham's photo
Author

Mark Winteringham

@2bittester

Mark Winteringham is a tester, toolsmith and the Ministry of Testing DojoBoss with over 10 years experience providing testing expertise on award-winning projects across a wide range of technology sectors including BBC, Barclays, UK Government and Thomson Reuters. He is an advocate for modern risk-based testing practices and trains teams in Automation in Testing, Behaviour Driven Development and Exploratory testing techniques. He is also the co-founder of Software Testing Clinic a community raising awareness of careers in testing and improving testing education. You can find him on Twitter @2bittester.

Comments