In its current form, IntelliCode can detect and suggest a quick action for two initial scenarios: Generate Constructor and Add Parameter to Constructor. Scenarios supported will be expanded in future versions.
Try it now
In Visual Studio 2022 Preview 4, these new IntelliCode suggestions capabilities are enabled by default. Scenarios supported will be expanded in future versions – if there are quick actions you’d like to see supported, let us know in the comments or on social media!Â
Quick actions and IntelliCode
Visual Studio provides hints to help you maintain and modify your code in the form of code fixes and refactorings. These appear as lightbulbs and screwdrivers next to your code or in the margin. The hints can resolve warnings and errors as well as provide suggestions. While you are typing, IntelliCode examines your code changes as you type. Using PROSE technology, IntelliCode matches these changes against common ways in which developers manually perform automatable code changes. Upon an in-progress code fix or refactoring IntelliCode presents a suggestion to finish the code change for you from the completions list.
Let us know what you think!
IntelliCode has benefitted greatly from all the rich feedback we’ve received from you – thank you! We hope you’ll help us continue to improve by giving the newly enhanced suggestions a try and letting us know what you think. Please report any issues you see via Developer Community and file feature requests if you have them.Â
Auto arange code in regions: properties, constructors, private func, public, events handlers, private gui events/func...
Auto arange code in files and folders: class xxx to file xxx, enums, abstract, extensions, inherited, interfaces to folder/files proper trees.
detect groups of code and arrange code in separatw libraries /projects
Better graph code viewer: show solutions, projects, classes, functions and the connections between. Allow for drag drop code without breaking the code-self...
Thank you for your suggestions, we take them into consideration. We really appreciate that you take the time to tell your pain points.