Better Error Handling and Type Inference for 4D Developers
When you’re coding in 4D or VS Code, clear and precise feedback from the editor makes all the difference. It helps you understand what’s happening in your code, fix issues faster, and keep your focus on building great features.
Starting with 4D v21 R2, we’ve improved the check syntax of the code editor to make error detection and type inference more accurate and consistent in both 4D and VS Code.
Warnings on Deprecated Language Elements
With the release of 4D 20 R9, deprecated language elements now generate warnings, helping you keep your code as modern and efficient as possible. Let’s dive into the details.
Empower Your Development Process with your forms
During the development phase, early detection of syntax errors is important for producing quality code. Real-time code checking is a valuable aid to developers. Not only does it improve efficiency, it also enhances quality and boosts productivity. By correcting errors immediately, you can concentrate on the functional development of your application, rather than on annoying bugs that crop up during compilation.
With 4D 20 R8, we’re delighted to introduce two new features that will transform the way you work.
- The first is the ability to associate a class with a form, enabling syntax checking with expressions such as Form.myProperty.
- The second is a real-time check of expressions in the property list, with a description of the error or warning displayed.
Customize Global Warnings Generation
Warnings are a valuable aid for alerting 4D developers to potential code mistakes. With the release of 4D 20 R6, it is now possible to globally define which warnings are generated, enhancing the overall development experience.
Explore GitHub Codespaces Possibilities with 4D
GitHub offers powerful tools for developers. One of them is Codepaces, which lets you develop code stored in a GitHub repo online from anywhere using an integrated instance of Visual Studio Code.
This is also the case with 4D projects!
Let’s discover this powerful tool and see a new way of coding!
Auto Tool4D Download in 4D-Analyzer Extension for VS Code
We’re pleased to announce a useful new simplification in the 4D-Analyzer extension for Visual Studio Code!
This feature is aimed at streamlining the process of getting started and enhancing development with VS Code for 4D.
Until now, the 4D-Analyzer extension for VS Code required a 4D application (4D, 4D Server, or tool4d) running in the background. This setup enabled the extension to communicate with the 4D LSP (Language Server Protocol) server.
However, this requirement has been eliminated with the release of version 0.2.0 of the extension.
Workspace Syntax Checking in VS Code editor
4D 20 R5 brings a new capability to the Visual Studio Code editor through the 4D-Analyzer extension: Say hello to Workspace Syntax Checking, designed to significantly reduce developer errors and streamline coding precision.
Introducing Code Live Checker: Elevating Code Quality in 4D Development
4D v20 R4 introduces the Code Live Checker, an algorithm used during Compilation, Syntax Checking, and code typing in the Code Editor. In this blog post, we’ll explore the unique aspects that make this feature useful for 4D developers.
VS Code Extension: Show 4D Documentation
4D v20 R3 comes with a new Visual Studio Code editor feature thanks to the 4D-Analyzer extension — the “Show 4D Documentation” feature!
Format your 4D Code in Visual Studio Code
A new feature of the VS Code extension arrives with 4D V20 R2: code formatting!
In this blog post, we will delve into the details of this new functionality, exploring how it simplifies your programming experience.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy
