- Guy gets roasted for throwing razor in the toilet to protest Gillette Wednesday 9:23 PM
- Experts warn of uptick in ‘Ryuk’ ransomware after hackers net $3.7 million Wednesday 7:03 PM
- Video game composer boycotts Gillette after anti-toxic masculinity ad Wednesday 6:05 PM
- Steve Carell sitcom ‘Space Force’ heading to Netflix Wednesday 5:30 PM
- Ocasio-Cortez’s ‘run train’ phrase becomes conservative sex controversy Wednesday 5:25 PM
- ‘Into’ is a reminder that queer businesses can be hurt by straight leaders Wednesday 5:13 PM
- TSA agents are the latest tool in the government shutdown meme war Wednesday 4:22 PM
- YouTube still hosting bestiality images year after crackdown pledge Wednesday 4:13 PM
- YouTuber quits fight after Darth Vader fan film claimed by Disney Wednesday 3:26 PM
- Millions of Fortnite accounts exposed via Epic Games website exploit Wednesday 2:26 PM
- A man found a camera in his Airbnb and the company didn’t seem to care Wednesday 2:00 PM
- A redditor planted an Easter egg in Hulu’s Fyre Fest doc Wednesday 1:51 PM
- This new revelation about Woody from ‘Toy Story’ will blow your mind Wednesday 1:35 PM
- Dave Rubin fails to delete Patreon on livestream to delete Patreon Wednesday 1:14 PM
- The ‘some of y’all… and it shows’ meme is taking over Twitter Wednesday 12:24 PM
Microsoft Visual Studio’s AI-enhanced code completion does the hard work for you
The feature is only available for C# at launch.
Microsoft announced at Build 2018 yesterday its latest intelligent code completion feature designed to make developing easier than ever. The experimental development tool IntelliCode is an AI-enhanced version of the fan-favorite IntelliSense for Visual Studio.
IntelliSense made coding easier by guessing what a developer wanted to type next and suggesting the next line. You can think of it as an autofill feature for writing code with the goal of reducing errors and saving time. With IntelliCode, Microsoft is stepping it up a notch. It uses machine learning models trained by looking at vast databases of code to understand what a developer is trying to achieve, not just what they want to type next. By learning the context of the code, IntelliCode can make more accurate suggestions.
Instead of trying to finish a line of code a developer has already started typing, IntelliCode will look for patterns and use its knowledge of past code to make suggestions before you waste a single keystroke. For example, if you write “Offset” multiple times in your code, IntelliCode will start suggesting it before you start typing. Similarly, it will present you with the most common API based on the context of your code.
IntelliCode is currently only available for C# in Microsoft’s integrated developer environment (IDE) Visual Studio 2017. The company plans to expand the feature to other coding languages. Microsoft isn’t ready to release IntelliCode just yet, but you can download an experimental extension for the tool here.
Phillip Tracy is a former technology staff writer at the Daily Dot. He's an expert on smartphones, social media trends, and gadgets. He previously reported on IoT and telecom for RCR Wireless News and contributed to NewBay Media magazine. He now writes for Laptop magazine.