Skip to content

Lambda New Console Code Editor Language Syntax Check Missing

0

I code Node.js and in the existing/old console lambda editor it checks my syntax and shows an immediate icon in the left gutter next to offending line number, that's a great feature. However in the latest update to VSCode style editor, that is missing! wondering if it has been removed or a setting I need to enable?

1 Answer
0

Thank you for your question about the syntax checking feature in the new AWS Lambda console code editor. The new code editor in the AWS Lambda console, which is based on Code-OSS (Visual Studio Code - Open Source), was indeed recently introduced to provide a more intuitive coding environment for building serverless applications.

While the new editor brings many features similar to the desktop version of Visual Studio Code, including the command palette, quick search, and the ability to apply preferred themes and personalize settings, it appears that some differences exist compared to the previous Lambda console editor.

The immediate syntax checking with icons in the left gutter that you were accustomed to in the old editor is not explicitly mentioned as a feature in the new Code-OSS based editor. This could mean that the feature is either not currently available or may be implemented differently in the new environment.

However, it's worth noting that the new editor does offer enhanced capabilities, such as the ability to view function code and test results simultaneously, which can aid in debugging. Additionally, it includes integration with Amazon Q Developer, an AI-powered assistant that provides real-time code suggestions and insights, which may help identify potential syntax issues as you code.

If this syntax checking feature is crucial for your workflow, you might want to explore the editor's settings to see if there's an option to enable it. Alternatively, you could provide feedback to AWS about this feature, as they continually work to improve their services based on user input.

For now, you may need to adapt your workflow to use the new features provided by the Code-OSS based editor, such as the Amazon Q Developer extension, to help identify and resolve syntax issues in your Node.js code.
Sources
AWS Lambda console now features a new code editor based on Code-OSS (VS Code - Open Source) - AWS
Introducing an enhanced in-console editing experience for AWS Lambda | AWS Compute Blog
Introducing the new Amazon Q Developer experience in AWS Lambda | AWS DevOps & Developer Productivity Blog

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.