PHP Tools for Visual Studio v1.70.16698

'while', 'do', 'for' 및 'switch'와 같이 범위가 지정된 키워드를 강조 표시합니다.
11월 15, 2022
신규 버전

기능

  • Editor:
    • Highlighting Scoped Keywords - Added the ability to highlight scoped keywords such as 'while', 'do', 'for' and 'switch' with the corresponding break and continue.
    • IntelliSense - Updated integrated language manual with more type information. This results in more precise IntellISense, type analysis and code diagnostics. The editor now supports false pseudo-type as a part of PHP union types.
    • Inline Completion - Improved inline completions. When typing function getSomething, the rest of the getter method is now smartly completed, if there is a property $Something in the local class scope. The same with function setSomething.
    • Laravel - New Laravel defaultAliases are now recognized implicitly. This allows IntelliSense to work out-of-the-box with Laravel aliased classes.
  • New Diagnostics - Improved diagnostics in general and improved analysis performance:
    • Added support for a reporting interface containing properties, which is not allowed in PHP.
    • Type analysis now handles array type inferring, avoiding lots of false warnings.
    • Added support for reporting invalid type in echo and concatenation expressions.
    • Type analysis for array_map() is now more precise, if the "map" functions can be determined.
    • It is now possible to use PHPDoc right above constructor property promotion, with just @var annotation.
    • Improved analysis of define() with object.
  • Doc Comments:
    • Generated PHP Doc Comments have been improved. The generated code now complies with PSR-2 and PSR-12, contains more inherited type information and additional annotations.
    • More PHPDoc Syntax - The PHP Editor now recognizes pseudo type never as well. In case you're annotating never-returning functions with the @return tag.
    • Tool-Tips from PHPDoc - Improved tool-tips, which now render HTML annotations such as <b>, <code>, <br>, etc. properly.
Highlight scoped keywords

PHP Tools for Visual Studio

Visual Studio에서 PHP 웹사이트 및 애플리케이션을 개발합니다.

궁금한 점이 있으세요?

DEVSENSE 사 제품 라이선스 담당자와 라이브 채팅