Lio
Lio

Reputation: 1503

How to remove red border in phpStorm?

I have a little strange question, and I'm hoping you could help. Cause, I've been searching for the answer in Google, in PHPstorm documentation and etc.

Here's what I need. Every time I type something in CSS or HTML with Zen coding, this Red Border appears to the value. When my mouse cursor is anywhere else and I hit "Enter", the cursor goes to the end of that red border.

So does anybody know, how to get rid of it? It drives me crazy.. Thanks.

enter image description here

Upvotes: 9

Views: 2158

Answers (2)

firesnake
firesnake

Reputation: 21

I have had the same unwanted behavior in PHPStrom with php. For PHP the solution was to uncheck the following checkbox:

Go to Settings (ctrl + alt + s), then navigate to:

Editor -> General -> Smart Keys -> PHP

Uncheck checkbox: "Enable smart function paremeters completion"

Upvotes: 0

lena
lena

Reputation: 93728

pressing Enter (or Tab) is enough to remove the border :) See help: "If the selected template is parametrized and requires user input, the editor enters the template editing mode and displays the first input field highlighted with the red frame. Type your value in this frame and press EnterEnter or TabTab to complete input and pass to the next input field. After completing the last input field, the caret moves to the end of the construct, and the editor returns to the regular mode of operation"

Upvotes: 7

Related Questions