Qt Extension 1.6.0 for VS Code released

We’re happy to announce the official release of version 1.6.0 of the Qt Extension for Visual Studio Code! After spending some time as pre-release 1.5.0 in the Marketplace, it’s now graduated to a full release. Let's have a look at what's new!

QML Debugging

This is the headline feature of the 1.6.0 release: You can now fully debug Qt Quick projects directly within VS Code. With this update, you can:

  • Set breakpoints in your QML files
  • Inspect the QML call stack and jump to call sites
  • View the content of JavaScript variables and QML properties
  • Step through your code interactively

Basically: everything you'd expect from a debugger.

Other Noteworthy Improvements

This release also includes several smaller enhancements and bug fixes across the extension suite.

As before, the Qt extension is a bundle of smaller extensions packaged together. Here are the highlights since the last release:


Changes in the qt-core extension:

  • Fixed the Cannot find qtcli executable error due to the missing permissions
  • Added "cmake.useCMakePresets": "never" to the recommended settings

The qtcli command line tool is used to create new projects or Qt-specific files. It has seen the following improvements.

  • Added support for C++ class generation
  • Added functionality to show all presets with the preset ls command
  • Added missing CMAKE_CXX_STANDARD setting to QtQuick
  • Modernized project and file templates

The qt-qml extension has seen the following changes.

  • Introduced the qt-qml.qmlls.useNoCMakeCalls configuration variable to disable CMake calls for QML Language Server
  • Introduced the qt-qml.qmlls.customArgs setting to allow users to pass custom arguments to QML Language Server
  • Introduced qt-qml.qmlls.customDocsPath. This setting overrides the default in either the selected kit or qtpaths

More details can be found in the changelogs on the marketplace:

If you encounter any bugs or have feedback on usability, please report them via our bug tracker. If there’s a feature you’d like to see, feel free to submit a suggestion there as well.

 


Blog Topics:

Comments