PHP Tools for Visual Studio v1.57.14847

デバッガーでのオブジェクトIDのサポート、カスタマイズ可能なプロジェクトイベント、およびリモートエクスプローラーの機能強化を追加
10月 28, 2021
新バージョン

機能

  • Debugger
    • Make Object ID - Added the ability to pin an object from the Watch Window or Quick Watch using the Make Object ID context menu command. The pinned object can be tracked during the whole request execution.
      • Pinning an object creates a weak reference which can be revealed in the Locals window or in the Watch window using $1 alias (or $2, $3, ... correspondingly). Pinned objects are also marked in quick watches by its {$-index} alias. This works even within arrays and inside other objects.
    • Complex Expressions - Added the ability to expand complex expressions, including results of function calls, magic properties, and complex combination with operators. Array values can now be expanded and listed through all its entries. It is not limited to 32 entries anymore.
  • Editor
    • IntelliSense tool-tips and error tool-tips are now shown even during debugging. Previously, tool-tips were only displayed when Microsoft Visual Studio was in design mode (not debug mode).
  • Project Events
    • Added customizable Project Events which allow you to trigger commands on certain events.
      • Initially, there are the following triggers:
        • Project Opened gets triggered when a project is opened in Visual Studio.
        • Before Publish is called before publish (i.e. upload pending changes) gets started.
        • After Publish gets called after the publish.
        • After Clean is triggered by the Project / Clean command.
        • Files Changed happens when a file is modified both inside or outside Visual Studio.
        • File Saved is caused by saving a file inside Visual Studio.
      • And the following actions to choose from:
        • Publish uploads pending changes using the selected remote profile. In case of File Saved, only that file is uploaded.
        • Custom Command allows entering custom cmd commands. The commands have php.exe (which is chosen in Application project property page) in its %PATH% environmental variable.
  • Remote Explorer
    • Publish and the whole Remote Explorer is now more configurable. Open the Remote Explorer and follow the Manage button.
      • Added the ability to specify wildcard file mask to simply ignore files or folders from being tracked by the Remote Explorer. Folders or files matching the Ignored wildcards won't be shown and won't be uploaded to the remote servers.
      • Added the option to choose Publish Scope, whether to track the whole project directory (All Files in Project Folder) or to track files included in the project, i.e. the files shown in the project in Solution Explorer (Files Included in Project).
      • The Remote Explorer now respects the legacy setting - Publishable - which could be set in project items properties. File items annotated with this project property are ignored by the Remote Explorer. This feature requires you to set the Publish Scope to Files Included in Project.
  • Automatic Publish
    • Improved configuring automatic uploads to the remote server. It is now more configurable, using the new Project Events, and the option is more accessible. Open the Remote Explorer and change the Auto setting. Clicking Manage Project Events opens all the project events, where additional settings can be changed.
  • Microsoft Visual Studio 2022
    • Phar Browser with Icons - Expanding .phar files in Solution Explorer now reveals corresponding file icons as well.
Project Events added in PHP Tools for Visual Studio v1.57.

PHP Tools for Visual Studio (英語版)

Visual Studioを使ってPHPでWebサイトとアプリケーションを開発

ご質問がありますか?

今すぐ DEVSENSE ライセンススペシャリストとライブ チャット