PhpStorm programming language switch

Source: Internet
Author: User
Recently encountered some PhpStorm Programming Problems: when using the ZenCoding plug-in, PHPStorm is not as casual as Notepad ++. PHPStorm can only use ZendCoding when editing HTML-recognized files. During PHPStorm programming, the SQL statements for database operations are prompted accordingly. Search for PhpStorm and compile PHP code.

PhpStorm programming problems recently: PHPStorm is not as casual as Notepad ++ when using the Zen Coding plug-in. PHPStorm can only use Zend Coding when editing HTML-recognized files. During PHPStorm programming, the SQL statements for database operations are prompted accordingly. Search for PhpStorm and compile PHP code.

Recently encountered some PhpStorm programming problems:

  • When using the Zen Coding plug-in, PHPStorm is not as casual as Notepad ++. PHPStorm can only use Zend Coding when editing HTML-recognized files.
  • During PHPStorm programming, the SQL statements for database operations are prompted accordingly.

So I searched PhpStorm to write PHP code. Can I switch a piece of code to another programming language.

In many projects, we often want to switch programming languages during programming. Generally, we need to embed a different programming language in the code string. For example, embed an HTML segment in PHP code if you encounter a similar situation.

$ HtmlFragmentThe variable is an HTML code, including some PHP variables and escape strings.

In this case, HTML code prompts cannot be used, such

It is hard to press the keyboard one by one.

PhpStorm programming language switch

PhpStorm recognizes these situations and provides a comprehensive HTML editor for us to edit existing strings:

We can also create a string and use the language switch (Alt + Enter) Manually specify a string to another language:

This is a very good small function that completely improves programming efficiency. This function is applicable to all other languages.

(...)
Read the rest of PhpStorm programming language switching (14 words)

©Lixiphp for LixiPHP, 2013. | Permalink | One comment | Add todel. icio. us
Post tags: html, PHP, PHPStorm, Zen Coding, language switching

Feed enhanced by Better Feed from Ozh

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.