Product

Simplified navigation between development windows

When writing a new function or method, or when creating a form, the work is never linear. We usually need to:

  • access the explorer to find the form in its folder
  • access the explorer to write the documentation for the method
  • read the documentation of a command on the 4D documentation website
  • read the documentation of a component’s method

 

In this new version, we have added some menu items in the code editor and form editor to allow you to better navigate between the different elements of a project.

Tips blank

4D REST API + ReactJS

by Mourad Aouinat, Software Engineer at 4D Morocco

In a previous blog post, we saw how easy setting up a REST API using 4D. In this blog post, we will leverage the powerful 4D REST API in combination with React to build a To-Do app that includes features to open todos, create new ones, modify existing ones, and features for bulk modification and bulk deletion.

Product blank

Code Editor: Multiple themes, your choice!

The code editor’s feature set grows with every release, and 4Dv19 is no exception.

Every developer has their own special – and sometimes peculiar – taste when it comes to their code editor (font, font size, color of the elements, etc.). What looks great and boosts productivity for one developer can be an obstacle for another. That’s why 4D v19 introduces theme management.

If “creating my own theme” is on your bucket list, now is the right time to check it off! 4D v19 comes with basic themes that you can enrich and adapt to your own taste.

Product blank

Dark Mode support on macOS has arrived.

Dark Mode is awesome and creates an exciting user experience. That’s why, starting with 4D v19, 4D now supports Dark Mode, which activates automatically if Dark Mode is turned on at the macOS level.

This is just the beginning, and there is more to come in future versions such as Dark Mode support for all components (e.g. the 4D Write Pro widget) and Design Mode.

Want to see how Dark Mode transforms the look of 4D elements? Keep reading!

Product blank

More features in the 4D Write Pro interface widget

The 4D Write Pro toolbar and sidebar continue to grow with more functionalities to help you create documents even faster and easier.

With 4D v18 R6, you can :

  • increment or decrement text
  • copy/paste the ruler
  • change the background color of a paragraph
  • change the style of a word (uppercase, lowercase, etc.)
Product blank

More enhancements to the 4D debugger!

4D v18 R6 comes with new features in the code editor to make things easier for you when writing code.

The same goes for the debugger. We know debugging an application can be difficult, that’s why we never stop working to help make your experience better. This time, we’ve added some options and additional information that will make it easier to trace and analyze your code.

Keep reading to see what’s in store for you:

Product blank

Code editor: Write more code in less time!

With 4D 18 R4, we announced the availability of the suggested functions for classes (4D and data model). With 4D v18 R6, we’ve got more great news to simplify and facilitate the writing of code in the editor: The prototype of a function and a short description are displayed in the code editor!

Speed up your development process and avoid typos. Now, information about class functions is displayed in the code editor, helping you to write more in less time while making sure that you’re on the right track!

Let’s find out more!

Product blank

Type ahead made easy

If you’re interested in the user interface, you may have already used the On before keystroke and On after keystroke events. You’ll certainly be happy to know that the handling of these events has been greatly enhanced with 4D v18 R5. In addition, a new command has been created to determine if there is ongoing input when the On before keystroke event is generated. Let’s find out more!

Product blank

Preview your CSS directly in the form editor!

In 4D v18 R5, you can preview the final CSS rendering in the form editor WITHOUT running your dialog. Yes, you heard that right. Standardizing and reviving your forms has never been easier!

If you haven’t yet heard about CSS in 4D, now’s the perfect time to learn more! Introduced in 4D v18 for project applications, this concept includes enhanced and quick style sheets based on CSS. I recommend taking a look at this blog post.

Product blank

New declaration syntax for an intuitive autocompletion

Have you ever wondered about 4D’s autocompletion feature or asked yourself why 4D suggests all functions used in the code? Since an object is a very generic type, 4D only knows what it’s really storing at runtime. However, that doesn’t help much when you’re writing your code.

4D now offers a new, alternative syntax which will greatly enhance autocompletion when declaring your variables.