In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you what the PHP Phpstorm 2020 Mac version of the tool is useful, I believe most people do not understand, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!
Ph pstorm 2020 mac is the latest PHP integrated development tool that provides essential tools such as automated refactoring, code analysis, online error checking and quick fixes. A Phpstorm is a PHP IDE that actually "gets" your code. It supports PHP 5.3 / 5.45.5 / 5.67.07.07.1 / 7.2.It provides instant error prevention, optimal autocompletion and code refactoring, zero configuration debugging and extended HTML,CSS and JavaScript editors. The function is very powerful. Support for network use!
Phpstorm 2020 Mac Activation feature highlight
Debug branches and blade templates
Debugging is very effective when you encounter an annoying error or sneak into the code base. But machine-generated compiled template code is a nightmare. With Phpstorm and Xdebug, you can now debug step by step in the original uncompiled .twig and .blade.php files of these two popular template engines. Here are all the debugging advantages: viewing context, local and global variables, adding monitoring, running step by step, and so on!
Find the dead code.
If you are working with a legacy code base and want to clean things up, a good way to start is to delete the dead code. Now, Phpstorm detects redundant code and highlights classes, class members, and functions that may never be used. The unused declaration check takes into account the account dynamic use of the code, such as through magic methods. To check the report for the entire project, select Code-> check the code.
Refactoring, intent and quick repair
-String Juggling Toolbox
We have added several new intentions to the operation string. You can now convert string concatenation to interpolation, concatenation or interpolation to sprintf calls, copy concatenated strings to the clipboard, and perform many other operations. Press the Alt+Enter string to see the available actions.
-Delete unused variables
Phpstorm 2020.1 introduces a new quick fix to help you get rid of unused variables that appear in the assignment or closure usage list. Quick fixes are smart enough to detect possible side effects of assignment expressions.
-move to class refactoring
With the new Move to Class refactoring, you can pass functions or constants to the classes to which they logically belong, and Phpstorm will find and modify all uses for you. You can move multiple functions at the same time by selecting them in the structure tool window.
-the method may be a 'static' check
If a class has a method that does not use any instance references, Phpstorm detects it and provides a convenient quick fix: press Alt+Enter and make it static. All uses will be updated automatically.
Reuse container
For Docker Compose-based interpreters, you can now choose between docker-compose run or docker-compose exec to execute the container. If you have a heavy container and you don't want to restart every time the test runs, you can reuse it by selecting the docker-compose exec option. Alternatively, you can use docker-compose to run lightweight containers or those that do not run in daemon mode (that is, stop immediately after startup). PHP
Improved automatic completion function
With the help of the special file .phpstorm.meta. php, Phpstorm can now better suggest parameters and return values. This is to cover some cases, not simple types such as integers or strings, and you want to see a suggested set of constants. Or, if you want some functions to return a constant. You can also improve the recommendations in Phpstorm for your library or project by providing your own .phpstorm.meta.php file.
Redo import
We redesigned the checks and intent operations related to namespace import and the use of FQN. The main idea behind them is to avoid qualifiers as much as possible. Now, Phpstorm will allow you to simply remove the redundant qualifier or replace it with the corresponding "use" import statement where possible. In addition, when you paste some code into a file, Phpstorm will require you to reuse existing aliases. Code cleanup
In Phpstorm 2020.1, the code cleanup tool has a PHP-specific intent: it can optimize the appearance of full-class names by adding 'use' statements or removing unnecessary parts from them. It can also use PHP CS Fixer or PHP_CodeSniffer 's phpcbf to automatically fix code style problems. Perform cleanup before VCS commit, or through code-> code cleanup. Trigger it manually at any time.
Network technology
As usual, all the features and improvements of WebStorm can be used in Phpstorm, either out of the box or with free plug-ins available in the repository.
Updated documentation and browser compatibility
The documentation () of the F1CSS attribute and the HTML tag and attribute now displays the latest description and information about MDN's browser support, as well as a link to the full MDN article. In addition, to check that the target browser version supports all the CSS properties you use, you can enable a new browser compatibility check in your preferences.
Improved support for TypeScript in Vue applications
Phpstorm now leverages the Typescript language service and TypeScript support for TypeScript code in .vue files. This means that you will now get more accurate type checking and type information, be able to use the quick fixes provided by the service, and view all typographical errors in the current file in the typesetting tool window.
New checks for Angular applications
For Angular applications, Phpstorm adds 17 new checks to help you detect Angular-specific errors in your application as you type and recommend appropriate quick fixes. Working in TypeScript and template files, these checks will check your use of bindings, instructions, components, and many other things.
New debugger console
Use the new, improved interactive debugger console in the JavaScript and Node.js debugging tools windows! It now uses the tree view to display objects, and it supports styling log messages using CSS and grouping them using console.group () and console.groupEnd (). You can also filter out any type of log message. Use Promise to convert a function to async / awAIt
You can use .then () and .catch () calls to automatically change the function that returns Promise to an asynchronous function that uses async / awAIt syntax. Simply press the name of the Alt-Enter feature and select convert to Asynchronous feature. This can be done not only in TypeScript files, but also in JavaScript and Flow. IDE
The nearest location pop-up window
In this new navigation pop-up window, you will find the recently visited code point with context-the first few lines and the last few lines. All locations are arranged in this pop-up window in chronological order, with the last access location at the top. To bring up the new nearest location pop-up window, press Cmd-Shift-E/ Ctrl+Shift+E. Type any text you want to search in context.
VCS improvement
The new uncheck all check box submitted by some Git allows you to uncheck all blocks of code at once, and then select the blocks to commit. In addition, fixup,squash and cherry-pick operations can now be found in the Git log.
Customize the UI theme
If the default white and Darcula themes are not enough for you, try dark purple or create a custom theme! The colors of any element of IDE, from icons, radio buttons to arrows, are now configurable. Fine-tune everything according to your preferences and save it as a new theme plug-in! Database tool
Our colleagues on the DataGrip team have made some good improvements to their database tools in Phpstorm:
Support for new databases: Greenplum,Vertica and Apache Hive
Code completion of combined statements that support CREATE and DROP
Support for DEFINER attributes in MySQL and MariaDB
Support for Oracle mode in MariaDB
You can now set the default folder for the project
Other improvements:
The original parameter type of visibility and the new shading option for class members. You can configure color scheme editing | color scheme | PHP in preferences.
You can now enable flexible wrapping for specific file types in the editor. To do this, open preferences / Settings | Edit | General and specify the file type in the flexible Packaging File field.
The PHPDoc style configuration has been improved: sorting using statements, defining the order of labels, and customizing the number of spaces. To find all options, go to preferences | Edit | Code style | PHP and look for the PHPDoc tab.
Phpstorm 2020 for mac version update log
Hierarchy check category alias
Gutter icon to run the test
Go to symbol navigation improvements
Better coverage support
New document UI
Key subsystems of redo
Open the terminal in a specific folder
New composer action
Improved XDebug Profiler viewer
Comments on the editor of Phpstorm 2020 for mac edition
The latest version of Phpstorm 2020 for mac is the latest iterative PHP integrated development tool, which provides essential tools such as automated refactoring, deep code analysis, online error checking and quick repair. It is very powerful and is a right-hand man for PHP staff!
The above is all the content of the article "what is the use of Phpstorm 2020 Mac tools in PHP". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.