PhpStorm – Highlight active file in project navigator
Here is a nice feature: Autoscroll to Source and Autoscroll from Source. It is available in all IntelliJ products .
Here is a nice feature: Autoscroll to Source and Autoscroll from Source. It is available in all IntelliJ products .
Go to Settings|File types and ensure that this particular file name is NOT assigned to non-PHP file type, i.e. Plain Text.
So, you mean to highlight all pieces of code that will not work with the PHP version you are writing it in, right? That can be done here: Preferences -> Languages & Frameworks > PHP and the same on Mac: PhpStorm -> Preferences (⌘,) -> Languages & Frameworks > PHP Or with newer versions of … Read more
Not sure what you meant, but you can permanently turn showing whitespaces on and off in Settings -> Editor -> General -> Appearance -> Show whitespaces. Also, you can set it for a current file only in View -> Active Editor -> Show WhiteSpaces. Edit: Had some free time since it looks like a popular … Read more
For all files (default setting for opened files): Settings/Preferences → Editor → General → Use soft wraps in editor. You can now specify file names/extensions where this option will be enabled by default: For the currently opened file in the editor: menu → View → Active Editor → Use Soft Wraps (Note: I’ve assigned custom … Read more
I couldn’t find any major points on JetBrains’ website and even Google didn’t help that much. You should train your search-fu twice as harder. FROM: http://www.jetbrains.com/phpstorm/ NOTE: PhpStorm includes all the functionality of WebStorm (HTML/CSS Editor, JavaScript Editor) and adds full-fledged support for PHP and Databases/SQL. Their forum also has quite few answers for such … Read more
I was facing the same issue, and it drove me up the wall. The issue ended up to be that the .idea folder was ALREADY commited into the repo previously, and so they were being tracked by git regardless of whether you ignored them or not. I would recommend the following, after closing RubyMine/IntelliJ or … Read more
You may take a look at intellij code folding shortcuts. For Windows/Linux do: Ctrl+Shift+- For mac use Command+Shift+- To unfold again do Ctrl+Shift++ or Command+Shift++ respectivley. To unfold only a single method on Windows, use Ctrl+Alt+Plus.
This behaviour is controlled by the following option: Settings/Preferences Editor | Code Style | TypeScript “Punctuation” tab | Generated code -> Quote marks As of 2017.1 version it’s on new Punctuation tab and options are named a bit differently:
Settings (or Preferences if you are on Mac) | Editor | General | Appearance and check Show line numbers.