5 comments

Hi there,

Please clarify what do you mean by "injection editor" ?

  1. Language Injections are configured at "Settings | Language Injections"
  2. The "Edit XXX fragment" action (where you edit injected language fragment in separate tab) is available when invoking standard Alt+Enter in injected area.
0

Hello!

I have the tutorial below
http://blog.jetbrains.com/phpstorm/2013/06/language-injection-in-phpstorm/
seen. In this tutorial, an HTML fragment is inserted into a php script.

Where can I find this editor?

Sincerely yours

Stephan

0
Where can I find this editor?

Which "editor"?

Sorry, but I do not understand such English. Therefore -- screenshot please, where you highlight in red that "editor".

Because as far as I'm aware -- I gave you the answer already in my previous post.

0

Hello!

Sorry for my bad english.
I work with PhpStorm version 6.0.2.
I have a simple php script.

--------------------
$htmlFragment = "<h3 style='border: solid 1px red;'>first test</h3>";
<h3 style='border: solid 1px red;'>second test</h3>

echo $htmlFragment;
--------------------
In this php script is an html fragment.


02-exitingstring.gif

Where can I find the 'html injection editor'?

Sincerely yours

Stephan

0

I already gave you the answer in first post:

Either click on that light bulb icon ... OR press ALT+ENTER while having cursor inside such HTML string; then choose "Edit HTML Fragment" from menu.

screen01.png

0

Please sign in to leave a comment.