Unlucky for some, but not us. Our 13th release, Pulsar 1.113.0, is available now!

DaeraxaJanuary 15, 2024
  • dev
  • release
About 3 min

Pulsar 1.113.0open in new window is available now!

Welcome to our first release of 2024! This is our 13th main release; let's just hope we aren't cursed by the number. This month we are enabling a feature by default that has been in the works for a long time and is a major step in moving Pulsar to current versions of Electron. We also have a significant update to our symbols-view package and a number of bug fixes as per usual.

First up is something we have been mentioning in the last few community update blog posts and otherwise hinting about for a while. Back in Pulsar 1.106.0, released in July last year, we added a new setting called Use Modern Tree-Sitter Implementation that would enable a brand new implementation of Tree-sitteropen in new window within Pulsar. If you want to know more about the history of this change, then have a look at our detailed blog postopen in new window on the topic as well as @savetheclocktoweropen in new window's fantastic blog post seriesopen in new window. A huge thank you to everyone who contributed to this feature by testing it out and submitting bug reports and pull requests, these contributions have led to this moment where we can finally activate it by default. The reason we have done this is in order to eventually move to modern versions of Electron, for which the old tree-sitter implementation is simply not compatible. We have had this as an option while we worked out the most egregious kinks in the system, but we are in a position where we feel it is strong enough to enable by default. If you encounter any significant issues with the new system, there is a new option Use Legacy Tree-sitter Implementation that will revert to the old system. It would be great if any problems with the new system could be brought to our attention via any of our social channelsopen in new window so we can look to fix any issues that have yet to be encountered by us.

We have a rather significant update to our symbols-view package. This package is used to display symbols within Pulsar (e.g. function definitions) and allows you to navigate your code via those symbols. This package has had a rather major overhaul and now follows the standard "provider/consumer" model as many other Pulsar packages do. In particular, this allows for packages to provide symbols to symbols-view, such as Tree-sitter grammars, via the new symbol-provider-tree-sitter package. The upshot of this, combined with the new Tree-sitter implementation, is that there will be a much richer and more accurate display of symbols in your project. More information can be found in the pull requestopen in new window for this change.

A new Tree-sitter PHP grammar has been added to Pulsar as part of ongoing Tree-sitter grammar upgrades and improvements, which includes some contributions from community member @claytonrcarteropen in new window who had a parser for PHPDoc allowing us to highlight documentation comments in PHP in a similar vein to JSDoc injection JS/TS files.

On to some bug fixes. We had an issue reported about the github package that showed a problem with the rendering of the diff view display. This seems to have been due to a code path in our TextEditor component that would sometimes try to perform measurements on things that weren't necessarily visible. The fix here, simple as it seems, was to defer those measurements until we could be sure the editor was visible.

Next, we have a fix to the find-and-replace package caused by an odd interaction between the package and the Preserve Case During Replace option, causing an error to appear when using empty strings as input (as an empty string cannot be capitalized).

And last, we have a change to the default behavior of rendering emojis in Markdown as part of the new UI API. This issue was discovered due to an unwelcome (but admittedly rather apt) 😡 emoji in the middle of an error message popup. While the erroropen in new window was rather hilarious, we did decide that it needed to be banished by default for the sake of one of our team members' sanity (and to reduce unnecessary obfuscation of errors, of course).

And that is all we have for you right now. We hope you enjoy this new release and here is to another 12 months of Pulsar!

Until next time, happy coding, and see you amongst the stars!

  • The Pulsar team

  • Enabled Modern Tree-sitter Grammars by default
  • Added a modern Tree-sitter grammar for PHP.
  • Fix a measurement issue that was causing visual glitches in the github package's diff views.
  • Enabled the core symbols-view package to accept symbols from a number of sources, including Tree-sitter grammars and IDE packages.
  • Switch default to false for converting ASCII emoticons to emoji when rendering Markdown.
  • Fix certain find-and-replace scenarios when the "Preserve Case During Replace" setting is enabled.
  • Fix an issue in symbols-view when returning from visiting a symbol declaration.