Visual Studio IntelliCode Insiders
The Visual Studio IntelliCode team is focused on iterating rapidly, trying out new ideas, and listening to our customers as we build AI-assisted developer tools for you. This Insiders extension offers Visual Studio Code developers a chance to try out new and experimental features first, and give their valuable feedback.
You can use the extension with no special signup, but if you're willing we'd love to have you sign up on the form here - just make sure you select the "AI-assisted Development" checkbox - and help us shape the future of AI-assisted developer tools. We encourage you to leave us feedback and suggestions on the issues page - it will help us make these features even better for you.
✨New to Insiders✨
Nobody loves writing date/time format strings. It requires you to poke around in documentation and juggle arcane tokens, all in hopes of getting the exact format you want. Bleh! What if instead, you could simply type an example of the date/time you want (
If you're using either Moment.js or Day.js (more libraries coming soon!), then IntelliCode will provide their
If you expand the completion list's detail pane, you can see a description of the format string tokens that are being suggested, which can help make it easier to understand the suggestion, without needing to refer to documentation. Additionally, once you've accepted a suggestion, you can hover over the date/time format string and see an example of how it would look, using the current date/time. We hope this E2E authoring experience makes it easy to not only author date/time formats, but also to edit and maintain them in the future.
To get started with date/time formatting by example, check out this sample project, which will walk you through how to use it with both Moment.js and Day.js.