Sublime Text 4 Code Editor Update 4186 Boosts Performance

Sublime Text 4 Build 4186 delivers refined syntax highlighting, faster theming, improved file detection, stable Git scans, and enhanced cache compression.

Over four months after its previous 4180 release, Sublime Text, a versatile and popular source code editor among developers, quietly rolled out build 4186, presenting a raft of improvements designed to enhance performance and streamline workflows.

One of the most noticeable shifts is in syntax highlighting. Various subtle tweaks and adjustments have been made to ensure the code appears clearer, improving both readability and comprehension.

More impressively, Sublime Text engineers have improved their custom regex engine used for syntax highlighting, ultimately resulting in faster, more accurate parsing. This is further supported by reductions in syntax engine memory usage, a development sure to please those working on complex and memory-intensive projects.

Moreover, the development team has paid special attention to addressing several longstanding bugs.

For instance, they have resolved issues with file change detection not working for cloned views once the original file was closed, as well as fixed the recurring prompt to reload documents immediately after they had just been reloaded.

Sublime Text 4 Build 4186
Sublime Text 4 Build 4186

Another particularly interesting fix involves the Goto Definition feature, ensuring that symbols within the current file are now prioritized, making navigation quicker and more intuitive.

Performance upgrades, however, are not limited to the syntax engine alone. Cache compression has undergone a substantial improvement, while rendering speed has benefited from faster theming operations.

Scanning Git repositoriesโ€”an essential step for many version-controlled projectsโ€”has become noticeably more efficient. Additionally, developers will likely applaud the smoother rendering performance that helps keep their workspace snappy, even under heavy load.

Beyond pure performance and stability, the new Sublime Text 4 build introduces a handful of new capabilities. The newly added unselect_current command now assists with tab multi-selection, enhancing flexibility for managing multiple open files.

Minihtml now supports loading images directly from the internet, expanding the range of possible documentation and preview scenarios right inside the editor. Regarding testing and automation, syntax tests have received a complete overhaul to their error messages and can now test symbol transformations.

Meanwhile, users of the Sublime Text API should find a wealth of refinements. From on-the-fly performance boosts when handling large sets of completions to ensuring that View.find_all can be narrowed down to specified regions, the adjustments may sound technical, but they serve the practical needs of anyone who creates custom tools or integrates Sublime Text into a broader workflow.

The fact that CompletionList.set_completions is now thread-safe and will surely please plugin developers, who often juggle multiple execution threads in their projects.

Notably, this release also addresses some platform-specific concerns. On Windows, Sublime Text now gracefully sidesteps a crash triggered by certain antivirus programs invoking CreateRemoteThread.

Mac users get their own share of fixes, including more reliable updates to the find clipboard and functional click-throughs. Although these improvements may go unnoticed by some, they will undoubtedly be a welcome relief to those who have run into these issues.

Refer to the changelog for more information about all changes in the new version.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 69%