PhpStorm 2017.1.4 recently released, delivers bug fixes and improvements for PHP and the web platform, with improvements in IntelliJ Platform as well. A notable update in this release is you can now invoke Class Name Completion (Ctrl-Alt-Space) or invoke completion twice (Ctrl-Space) inside any string literal to get a completion list of all available classes, interfaces, and traits. before we proceed on how to install PhpStorm on Ubuntu, lets review what this version offers.
PhpStorm 2017.1.4 Highlights
PHP Completion
- Autocomplete trait names as well as alias issue
- Autocomplete constant in a multi parameter method call skips to next parameter when passing a class constant
PHP Inspections
- ‘Parameter type’ inspection does not work with results of method call if called class implements any interface
- Unused imports recognized wrongly with multiple namespaces in one file
- Hierarchy check: False Positive Declaration must be compatible error for constructor in case of different number of arguments
- Non-strict object equality: shows warning in case there are multiple types and one of them is not primitive
- Non-strict object equality: ignore all classes that extends DateTime and DateTime itself
PHP Lang
- Array should be acceptable default type for iterable
- Complete current statement: alternative syntax: endelseif is inserted after elseif
- On statement move collapsed Multi-line Comment opens again
- “Invalid escape sequence” highlighted as “Bad character”
PS Specefic
- Tip of the day “new scratch file” points to wrong menu
DB Connectivity
- By clicking on the “Test Connection”, the result information is visible only in the first dialog tab
DB Console
- Switch results tab when editor tab is switched
- Incorrect summary error count on MySQL script run
User Interface
- New Data Source from Data Sources as well as Drivers window
- cannot change the connection / console for a sql file without “Run”
- IDE is closed even I canceled exit
- Diagram printing prints empty, as well as IntelliJ IDEA not starting on Mac OS Sierra
TypeScript
- [Angular2] Errors in template file are causing fake tslint error highlighting on same line in typescript file
IDE
- “Add to currently open projects” not working
How to install PhpStorm 2017.1.4 on Ubuntu 17.04 and below
Please note that PhpStorm is not FREE, so this is a 30-day trial
# Remove existing java installation sudo apt-get purge openjdk* # Install latest java sudo apt-get update sudo apt-get install oracle-java8-installer # Download and install PHPStorm wget https://download.jetbrains.com/webide/PhpStorm-2017.1.4.tar.gz tar -xvf PhpStorm-2017.1.4.tar.gz cd PhpStorm-*/bin ./phpstorm.sh