BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News AWS Lambda Introduces a Visual Studio Code-Based Editor with Advanced Features and AI Integration

AWS Lambda Introduces a Visual Studio Code-Based Editor with Advanced Features and AI Integration

This item in japanese

AWS Lambda has launched a new code editing experience within its console, featuring an integration based on the Visual Studio Code Open Source (Code-OSS) editor.

The Code-OSS integration delivers a coding environment like a local setup, with the ability to install preferred extensions and customize settings. Developers can now view function packages up to 50 MB directly within the console, addressing a limitation of previous Lambda editors. Although a 3 MB per file size limit remains, this change allows users to better handle functions with extensive dependencies.

Furthermore, the editor offers a split-screen layout, letting users view test events, function code, and outputs simultaneously. With real-time CloudWatch Logs Live Tail integration, developers can track logs instantly as code executes, allowing immediate troubleshooting and faster iteration.

A respondent in a Reddit thread commented:

It can be very helpful for quick debugging/testing; thanks for the improvement!

In addition, AWS has focused on making the new editor more accessible by including screen reader support, high-contrast themes, and keyboard-only navigation, creating a more inclusive experience for all developers.

(Source: AWS Compute blog post)

Julian Wood, a Serverless developer advocate at AWS, tweeted:

Lambda's console is all new and shiny! Now, using the VS Code OSS editor. So, it feels similar to your IDE. Now, view larger package sizes! Test invokes are much simpler; view your results side-by-side with your code for quick iteration.

And finally, the console now features Amazon Q Developer, an AI-driven coding assistant that provides real-time suggestions, code completions, and troubleshooting insights. This integration enables Lambda developers to build, understand, and debug functions more efficiently, streamlining the development process by reducing context-switching. Amazon Q’s contextual suggestions benefit repetitive or complex tasks, such as configuring permissions or handling event-specific data structures.

In an AWS DevOps and Developer Productivity blog post, Brian Breach writes:

Q Developer can provide you with code recommendations in real-time. As you write code, Q Developer automatically generates suggestions based on your existing code and comments. 

Yet, Alan Blockley, a self-proclaimed AWS Evangelist, commented in a LinkedIn post by Luc van Donkersgoed:

I'm conflicted by this release. While I like that it modernizes the creation of Lambda functions and introduces the potential of AI-driven development using Amazon Q and the like, I've never liked coding in the console as it discourages other best practices like IaC and change control.

And Marcin Kazula commented:

It is great for experimentation, quick and dirty fixes, validating deployed code, and more. The fact that it deals with large lambda packages is an extra bonus.

Lastly, the new code editor is available in all AWS regions where Lambda is available.

About the Author

Rate this Article

Adoption
Style

BT