Jetbrains the Application Is Currently in Read-only Mode. Please Try Again Later.

Early Access Program News

CLion Starts 2019.3 EAP: Functioning Improvements, Clangd-based Code Completion & Remote Debug via gdbserver

Howdy,

Today we are launching the Early Admission Program (EAP) for CLion 2019.3. Nosotros programme to release it by the end of this fall and, every bit yous may call back, it was announced to be a special Quality-targeted Release.

As usual, the EAP builds are gratis to employ and no license is required. The chief goal is to test them in all kinds of not-standard or unusual environments you may have ready, and collect and fix as many bug and regressions as possible. So go ahead and grab a fresh build to try it at present!

DOWNLOAD CLION 2019.3 EAP

Build 193.3519.24 is bachelor from our site, via the Toolbox App, or as a snap packet (if you are using Ubuntu).

CLion 2019.3 EAP

Central highlights:

  • Clangd-based lawmaking completion.
  • Optimizing Building/Updating symbols footstep and fixing UI freezes.
  • Search but for lawmaking usages when doing a Rename refactoring.
  • Launching remote targets automatically under gdbserver.
  • Microsoft code style, spell checker in CMake and Doxygen comments, and enhancements from the IntelliJ Platform.

Clangd-based code completion

To eliminate performance issues and lags, we continue integrating with the Clangd-based engine in the areas where it provides an advantage. This time it's code completion.

CLion has several providers for lawmaking completion, which now include Clangd. The results are shown to you as soon as they arrive, and then normally the beginning results come from the fastest provider. Clangd however produces the results in batches by 100 options. So in the functioning metrics shown below, nosotros've measured the fourth dimension (in ms) to become the first 100 results (or fewer, if there are less than 100 results in total). The measurements were taken on a Core i7-8750H PC with 32 GB of RAM running 64-chip Windows 10.

On regular heart-sized projects, the results turned out to be quite like for Clangd and CLion. However, on projects with known performance issues and lags due to CLion's code completion, the results are very encouraging.

Outset comes LLVM (natural choice as we tend to dogfood CLion for Clangd development in the team!):
Code completion: LLVM
For the Eigen library, the dispatch is even more heady!
Code completion: Eigen

A similar (or even ameliorate!) boost can be observed for Boost. For example, for boost::multi_index, virtually any completion for the multi_index_container is manner faster (125 ms on Clangd vs 25,000 ms on CLion'due south own engine).

For the Qt library, we observed a reasonable boost likewise:
Code completion: Qt
You may ask, "Why do you proceed the existing CLion code completion engine at all?" The main reason is that it offers additional results that are not yet possible to achieve with Clangd-based lawmaking completion. These include, for example, showing not-yet-included symbols, providing some reasonable hints for dependent code in templates, and then on.

And then now, it's upwards to you to bank check Clangd-based lawmaking completion on your project and see what kinds of speedups yous get. Let us know how it goes!

Optimizing Edifice/Updating symbols stride and fixing UI freezes

Every bit nosotros've already shared with you, in June our team ran an internal performance calendar week / hackathon (along with the IntelliJ Platform team), playing with several fresh and brave ideas to improve the IDE's performance. We focused mainly on optimizing the Edifice/Updating symbols step. The successful experiments have made their way into this 2019.3 EAP build.

Depending on the project and system characteristics, the boost is ten% to 50%, co-ordinate to our measurements. This is covered by such tickets every bit CPP-16552, CPP-16991, CPP-16992, and some others. Note that these results are heavily dependent on the specific project, CPU, and environment you're using, so delight let the states know whether you lot notice any improvements in your setup.

In addition, several UI freezes have been fixed:

  • On Safe Delete (CPP-14068)
  • With breadcrumbs (CPP-14176)
  • While renaming an #include directive (CPP-16882)
  • While going to annunciation (CPP-17071)
  • While Usage View is opened (CPP-17097)

We will proceed coming upwards with various performance improvements and eliminating freezes, so stay tuned!

Search only for code usages when doing a Rename refactoring

Previously, when you called upwardly the Rename refactoring for a variable, CLion first searched for all usages of the variable, including non-code usages such as cord literals and comments. Then information technology suggested choosing between "Rename All Usages" and "Rename Only Lawmaking Usages". This could be very time-consuming and not fifty-fifty needed, if you really just wanted to rename just code usages.

Starting at present, the Rename refactoring can ask you to make this conclusion before the actual search. To switch to such beliefs, go to Settings/Preferences | Editor | General | Refactorings and turn off the setting 'Enable in-place mode' (it's on by default). And then, when you press Shift+F6 / ⇧F6, CLion will first advise the Rename dialog. Articulate the checkboxes in this dialog ("Search in comments and strings" and "Search for text occurrences") so that CLion searches for code usages only:
rename dialog

Launching remote targets automatically under gdbserver

Until at present, if you lot did not utilise the Total Remote Manner in CLion, merely built locally and just wanted to debug an executable running on a remote machine nether gdbserver, you had to launch your program under gdbserver manually. Now, the hassle is gone – CLion will do the job for you!

To become information technology working, create a Remote GDB Server configuration instead of using the GDB Remote Debug configuration. Fill in the credentials of your remote automobile and wait for the connection to exist established:
Remote GDB debug

At present, if you lot select this Run/Debug configuration, yous can debug on a remote machine via the remote gdbserver.

Other changes

Amidst other changes you lot will find:

  • Microsoft'south predefined formatting and naming way was added to the list of predefined styles in CLion:

MS style

  • To prevent situations when virtual functions accesses the resources that are not however initialized or accept already been destroyed, CLion gets a new inspection that detects virtual functions called from constructors or destructors. (Note! The inspection works only when Clangd is enabled.)
  • CMake 3.15 is now bundled.
  • Spell Checker now works in CMake and Doxygen comments.
  • CLion now bundles the Markdown plugin. Note, that if you have a Markdown Navigator plugin installed, this might cause a known issue. As a workaround, remove the Markdown Navigator from the plugin directory and restart CLion.
  • There are lots of improvements coming from the IntelliJ Platform, like polish mouse scrolling, a timeline for GitHub pull requests, reworked Clone dialog, and many fixes to the JetBrains Runtime. Read about these changes in the IntelliJ Idea blog.

That'south information technology for at present! Give this build a try and stay tuned for further fixes and improvements!

DOWNLOAD CLION 2019.iii EAP

Your CLion Team

JetBrains
The Drive to Develop

beyeatigninge.blogspot.com

Source: https://blog.jetbrains.com/clion/2019/09/clion-starts-2019-3-eap/

0 Response to "Jetbrains the Application Is Currently in Read-only Mode. Please Try Again Later."

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel