Skip to content

v3.2.0

Compare
Choose a tag to compare
@Gert-dev Gert-dev released this 01 Feb 19:05
· 387 commits to master since this release

Major Changes

  • Update to core 3.2.0
    • Among the changes is request prioritization, causing most operations such as autocompletion to already start working whilst the project is still indexing.
  • Improve responsiveness considerably by cancelling outdated requests in the core
  • Rewrite tooltips to use tooltips from atom-ide-ui
    • You can drag them around and scroll them properly.
  • Rewrite signature help (call tips) to datatips from atom-ide-ui
  • Support autocompletion via core
    • php-integrator-autocomplete-plus is now obsolete. It may still work, but it is advised to uninstall it, as it will no longer be maintained.
    • Autocompletion is now much more context-based and will do a better of job at only showing relevant suggestions at the cursor's location.
    • Considerably less data is exchanged than with the autocompletion package, which should in turn considerably improve responsiveness of autocompletion and delays after adding new classlikes.
    • Automatic use statements in files with multiple namespaces is now rudimentarily supported
    • Snippet autocompletions are no longer included
    • PHPUnit tag autocompletion was dropped
      • It was a bit too specific to a single tool. If anyone wants to reimplement them in a separate package, you can use this code as reference.
    • Disabling automatic use statements is no longer possible (the core does not support it)
      • Most PHP core classes are in the root namespace and use statements for non-compound names in the root namespace aren't added by the core, so users still writing code without namespaces should only minimally be affected.
    • Disabling additional newlines when inserting imports is no longer possible (the core does not support it)
      • This will likely have little effect on most users. Colleagues using PhpStorm will likely not complain since PhpStorm usually (?) collapses use statements visually. Tip: you can also sort your current imports using the php-integrator-base:sort-use-statements command to make them consistent once.

Other Improvements

  • Replace progress bar in status bar with integration with busy-signal from atom-ide-ui
  • Fix file changes performed during project index not being indexed after it completed (unless the file was changed again afterwards)
  • The exposed Atom service is now deprecated
    • It was useful in a time where most functionality existed in Atom packages. Only one unofficial package ever used it, php-integrator-symbol-viewer, and it has become apparant that moving all functionality to the core is the best way to move forward.
    • It will remain at least until all separate addon packages have been moved to the core. There may also be backwards compatibility breaks, although they will likely be minor, if they occur at all.

Bugs Fixed