Add Real-Time Error Indicators for JavaScript Code in Service Studio
15
Views
1
Comments
New
Service Studio

While learning and working with JavaScript inside OutSystems, I experienced a situation where an error in my JavaScript code was not indicated while I was writing it.

For example, I declared an array using const and later tried to assign a new value to the array variable. I was not aware that this was an error, and the JavaScript editor did not provide any indication while I was writing the code. I only encountered the error when I tried to publish the application.

As a developer who is learning JavaScript, it was difficult to identify the mistake without immediate feedback.

My suggestion: It would be very helpful if the JavaScript editor in Service Studio could detect common JavaScript errors while the code is being written and indicate them visually, for example with a red underline or error marker. Hovering over the marked code could also display a short explanation of the error.

This would allow developers to identify and correct JavaScript errors immediately instead of discovering them only during publishing.

I believe this would improve the development experience, particularly for developers who do not have extensive JavaScript experience.

Changed the category to
Service Studio