HvyIndustries Crane Versions Save

PHP Intellisense/code-completion for VS Code

v0.3.8

6 years ago

Fixes and updates for this release:

  • Fix issue with including file on Linux

A full list of resolved issues is available here.


Install by opening the Extensions sidebar pane, clicking the three dots ..., selecting Install from VSIX and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.3.7-1

6 years ago

Fixes and updates for this release:

  • Disabled bug report link to avoid misleading users into thinking there is a bug when there isn't
  • Upgraded php-parser to 2.0.6 to fix some crashes and freezing
  • Added a special case for suggesting php opening tags (<?php)

A full list of resolved issues is available here.


Install by opening the Extensions sidebar pane, clicking the three dots ..., selecting Install from VSIX and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.3.5

7 years ago

NOTE: Due to a bug with the compiled VSIX extension for Crane 0.3.5, we have had to republish the same code under version 0.3.6

Fixes and updates for this release:

  • Fixed a number of bugs arising from recent releases causing the error console to appear constantly
  • Added remote error reporting to help us find and fix bugs faster (this can be disabled in your settings)

A full list of resolved issues is available here.


Install by opening the Extensions sidebar pane, clicking the three dots ..., selecting Install from VSIX and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.3.4

7 years ago

Fixes and updates for this release:

  • Significant performance improvement - Thanks to @ichiriac the suggestion builder is now several magnitudes faster than before,

Before the optimisation, getting a list of suggestions in the wordpress codebase took ~56ms. Now it takes ~5ms.

This may not seem like a lot, but it really adds up on big codebases like Magento2 which is has over 18,000 files and 15,000 classes. Before the optimisation, getting a suggestion list in Magento2 took over 1500ms. Now it takes just 20ms. That's a 7,500% speed improvement.

A full list of resolved issues is available here.


Install by opening the Extensions sidebar pane, clicking the three dots ..., selecting Install from VSIX and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.3.3

7 years ago

Fixes and updates for this release:

  • Document symbol provider
  • Workspace symbol provider
  • Performance improvements

A full list of resolved issues is available here.


Install by opening the Extensions sidebar pane, clicking the three dots ..., selecting Install from VSIX and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

0.3.2

7 years ago

Fixes and updates for this release:

  • Added go to definition on classes, traits & interfaces
  • Fix several bugs introduced in v0.3.1
    • Namespace insert text should be prefixed with a backslash (Thanks @TheColorRed for pointing out this mistake!)
    • Crane no longer adds the fully qualified namespace to a class if the class is in the same namespace
    • Fixed issue where there were no suggestions for properties and methods defined in traits
  • Disabled Crane suggestions when typing on a single line comment
  • Bug report link now prefills basic information including vscode version, crane version and platform (win/linux/macos)

A full list of resolved issues is available here.


Install by opening the Extensions sidebar pane, clicking the three dots ..., selecting Install from VSIX and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.3.1

7 years ago

Fixes and updates for this release:

  • Improved namespace support
    • Crane will now suggest scope-aware namespace parts in namespace and use statements
    • Crane will now suggest classes that have been aliased in use statements
    • When extending a class, Crane now only suggests classes
    • When implementing an interface, Crane now only suggest interfaces
    • Crane now doesn't suggest anything when declaring the name of a new class, trait or interface
    • Crane will now insert the fully qualified namespace of a class if there is no use statement for it
    • Crane now suggests non-namespaced classes after typing \ (eg. new \) when inside a namespace
  • Fix several bugs introduced in v0.3.0

A full list of resolved issues is available here.


Install by using File -> Open and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.3.0

7 years ago

v0.3.0 MAJOR STABILITY UPDATE

Key fixes and updates for this release:

  • Stability - The php-parser library created by Ioan Chiriac has been updated to v2.0.0 which fixes almost all crashes and parsing errors, including a nasty memory leak when parsing large files
  • The Crane version indicator has been removed from the status bar
  • The indexing notification in the status bar will now still be shown when you disable the bug report link
  • Disabled logging of file parse notifications unless debug mode is enabled (should speed things up slightly)

A full list of resolved issues is available here.

Special thanks to Ioan for all his help with getting this major update out!


Install by using File -> Open and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.2.2

7 years ago

Key fixes and updates for this release:

  • Added new setting crane.ignoredPaths that gives users the ability to ignore files/folders for parsing (workaround for parser crashing issue)
  • Added "what's new" section to readme to highlight new features/bug fixes

A full list of resolved issues is available here.


Install by using File -> Open and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.

v0.2.1

7 years ago

v0.2.1 STABILITY UPDATE

Key fixes and updates for this release:

  • Parser fixes/improvements - Crane will now successfully parse all the major PHP frameworks listed with a tick here: #148
  • Resolved issue where the code-completion would stop working after an idle period
  • Crane has been renamed slightly on the VS Code marketplace to try to improve rankings in search results
  • Other small bug fixes

A full list of resolved issues is available here.


Install by using File -> Open and selecting the .vsix file below in VS Code, or install via the marketplace.

You can update Crane from within VS Code by clicking the plugin icon in the sidebar, and clicking the green "update" button under the Crane section.