phpstorm

Delete one character to the right in Webstorm

放肆的年华 提交于 2020-01-02 08:30:08
问题 This key binding escapes me. It is the same as emacs Ctrl+D and I've tried Googling such things as "delete one character to the right," "forward delete," "delete next character", etc. Here are the bindings in phpstorm which I assume is pretty similar to Webstorm. Any idea what this action would be called? Note this is what fn+delete does on mac. If there were a way to reverse engineer this keybinding and see what function is actually called in Webstorm, that would work. I asked how to reverse

Is it possible to use live-templates as file templates?

谁都会走 提交于 2020-01-02 05:45:26
问题 In the intellij products I'm very fond of the live-templates. I wonder if it is possible to use the same syntax for file templates, e.g. formatting a variable to snake- or camel-camese, defining a starting cursor position and so on. 回答1: Unfortunately you cannot use the same functions/macros available in Live Templates in File Templates. File Templates use Apache Velocity template language. It allows some Java(?) simple methods to be run on variables (e.g. #set($class_start = $class.substring

Enabling xdebug with phpstorm on mac OSX El Capitan

安稳与你 提交于 2020-01-01 19:09:37
问题 Before upgrading my macbook to El Capitan I had a sweet setup of Phpstorm 9, php 5.6 (via homebrew), xdebug (via homebrew). For the last month or so, however, I have been breakin my head, trying to figure out how to make that setup work again. I would appreciate any ideas you guys might have. Thanks, Eyal P.S. Here are my settings: xdebug version and ide key xdebug remote settings xdebug session cookie xdebug port in phpstorm PHP configuration in phpstorm Debug validation in phpstorm xdebug

Config (PhpStorm 2017.2.3 + Google App Engine SDK PHP 1.9.57) Dir valid..?

假装没事ソ 提交于 2020-01-01 17:17:51
问题 I have a problem with the SDK. What can be the problem with the path, in D:\Google\Cloud SDK\google-cloud-sdk\bin are the files shown in the last print. I hope you can help me. Print: https://s26.postimg.org/d4spx9usp/print_de_pantalla_64.jpg Zoom Text: https://s26.postimg.org/aeje02y3t/print_de_pantalla_66.jpg Tree Dir SDK Install: https://s26.postimg.org/sstx42aeh/print_de_pantalla_65.jpg Version Google App Engine SDK PHP: https://s26.postimg.org/3pcuk2crt/print_de_pantalla_67.jpg 回答1: I

Config (PhpStorm 2017.2.3 + Google App Engine SDK PHP 1.9.57) Dir valid..?

六月ゝ 毕业季﹏ 提交于 2020-01-01 17:16:33
问题 I have a problem with the SDK. What can be the problem with the path, in D:\Google\Cloud SDK\google-cloud-sdk\bin are the files shown in the last print. I hope you can help me. Print: https://s26.postimg.org/d4spx9usp/print_de_pantalla_64.jpg Zoom Text: https://s26.postimg.org/aeje02y3t/print_de_pantalla_66.jpg Tree Dir SDK Install: https://s26.postimg.org/sstx42aeh/print_de_pantalla_65.jpg Version Google App Engine SDK PHP: https://s26.postimg.org/3pcuk2crt/print_de_pantalla_67.jpg 回答1: I

Phpstorm line numbers column width

我怕爱的太早我们不能终老 提交于 2020-01-01 09:20:38
问题 The numbers column is very wide, and this is bothers me. I want to open more workspaces. Therefore I want it to be narrow. How do I do this? 回答1: I use PHPStorm Version 2017.1.4. In this version there is an option to hide gutter icons, which reduces the line number column width. Even if there are no gutter icons visible, the space is still allocated. If you don't need these icons, you can choose to hide them in the settings and the column width will be reduced. Navigate in settings to: Editor

Run a PHP script directly in PhpStorm

断了今生、忘了曾经 提交于 2020-01-01 07:39:58
问题 How can I instantly run the current PHP file in PhpStorm? How can I execute PHP command in PHPstorm like PyCharm? 回答1: Right click in the editor, choose Run (or press ctrl+shift+f10) for command line script execution. If you want to test it on a web server, use Open in Browser from the same menu (you must have browser and server with mappings properly configured for this). 回答2: On top of @CrazyCoder's solution, in version 2016.3 I came across this issue where I just saw 2 icons like this, You

SCSS / SASS to CSS in special folder with PHPstorm 7 file watcher

僤鯓⒐⒋嵵緔 提交于 2019-12-31 10:32:10
问题 I used PHPstorm 6 and my SCSS-Files were compiled into the CSS-Folder, so I have: css -- main.css img js scss -- main.scss -- _variables.scss ... Hier are my definitions on SCSS File Watcher Everthing worked fine, but yesterday I updated my PHPstorm from version 6 to 7 and now my SCSS compile / file watcher are not working anymore. The File Watcher compile the CSS-File into the SCSS-Folder. But I want it in my CSS-Folder!!! What are your settings in PHPstorm 7 Filewatcher for SCSS Files? here

How do I get PHPStorm to use the correct path for CSS?

时光总嘲笑我的痴心妄想 提交于 2019-12-31 07:19:24
问题 I have been using "Delphi PHP XE2" . The file structure has worked fine for over a year on the development machine and the production. The folders are organised as follows. src/app_login.php src/add src/css src/js src/fnc src/db src/images etc. I am just trying out PHPSTORM . The include files work fine. When I run it in Firefox it can find all images, JavaScript files, etc. But it can not find the CSS files as it is looking for them in css rather than src/css I haven't changed anything. Why

How do I get PHPStorm to use the correct path for CSS?

喜夏-厌秋 提交于 2019-12-31 07:19:06
问题 I have been using "Delphi PHP XE2" . The file structure has worked fine for over a year on the development machine and the production. The folders are organised as follows. src/app_login.php src/add src/css src/js src/fnc src/db src/images etc. I am just trying out PHPSTORM . The include files work fine. When I run it in Firefox it can find all images, JavaScript files, etc. But it can not find the CSS files as it is looking for them in css rather than src/css I haven't changed anything. Why