标签: phpstorm

如何在默认打开文件后在PhpStorm中显示"git blame"

如何在PhpStorm中默认打开文件后显示"git blame".

如果没有"右键单击左侧装订线,并选择"注释"选项",我只想在打开文件后默认显示"git blame".

php phpstorm webstorm

45
推荐指数
3
解决办法
1万
查看次数

代码重新格式化保存在PhpStorm中

如何设置代码在保存时自动重新格式化?

所以我不一定要按Ctrl+ Alt+ L.

jetbrains-ide intellij-idea reformatting phpstorm

44
推荐指数
4
解决办法
2万
查看次数

PhpStorm调试器不在BreakPoints停止; 一直在等待xdebug _SESSION_

更新的问题:PhpStorm | WebMatrix(IISExpress)| Xdebug.remote_port | - 哪个港口放在哪里?


我正在使用WebMatrix和IISExpress在我的Windows机器上运行localhost Web服务器.我已经安装了PHP和Xdebug,它们都在工作.

我有一个本地WordPress安装.

我现在正试图让PhpStorm使用Xdebug进行调试.

当我运行PhpStorm时,它会在浏览器中启动Web应用程序,并在浏览器中显示相关的调试参数.

IDE KEY匹配

IDE

xdebug.remote_port配置正确.(后来我发现这是错的,但没有错.它应该是9000端口)

xdebug.remote_port

但似乎Xdebug从未与PhpStorm沟通.PhpStorm继续监听,执行完全运行而不会在任何断点处停止.

PhpStorm PhpStorm

php xdebug phpstorm

44
推荐指数
8
解决办法
3万
查看次数

PHPStorm + XDebug设置演练

直到最近,我一直在用PHP编写代码(通过Notepad ++)并通过检查IIS中的日志进行调试(得喜欢那个web平台安装程序); 我已经决定更新到一个更有效的代码编写/测试环境,并在使用PHPStorm玩了好几分钟之后,决定购买它并尝试一下.从那以后,我意识到,就教程和演练而言,PHPStorm有点短暂.给了手册一瞥(RTFM,我知道),然后想出来,我想问一下那里是否有人愿意通过XDebug设置PHPStorm来帮助我,所以我可以不再讨厌自己没有研究底层系统足够好,并回到编码.

TLDR; 有人可以发布详细的演练来设置PHPStorm + XDebug吗?假设我的最大程度的愚蠢(我通常比ASP.NET世界更有能力,但我接近通常与PHP世界中某些形式的海上海绵相关的智能水平).

环境是安装了IIS和PHP的Windows 7旗舰版(64位).

xdebug phpstorm

43
推荐指数
4
解决办法
7万
查看次数

如何在PhpStorm中跳转文件的顶部?

有没有人知道Mac上是否有快捷键直接进入文件顶部?(或者,就此而言,底部?)我找不到一个,所以我现在使用的是Cmd-G,1.

谢谢.

phpstorm

43
推荐指数
1
解决办法
1万
查看次数

在PHPStorm中将CTP文件显示为PHP文件

我有一个在CakePHP上运行的项目.我的所有视图都存储为ctp文件.如何渲染我的ctp文件,以便在查看存储为PHP文件的文件时,我具有相同的可视格式?在Notepad ++中,我可以通过选择"语言"工具栏选项来完成此操作.PHPStorm中是否有类似的功能?

cakephp phpstorm

42
推荐指数
2
解决办法
2万
查看次数

如何在phpstorm或webstorm中将文本与特定字符对齐?

我有这个文字

$test1 = 'testing1';
$test1test1 = 'testing1';
$test1test1test1 = 'testing1';
$test1 = 'testing1';
Run Code Online (Sandbox Code Playgroud)

我想像这样对齐,使用标签,

$test1           = 'testing1';
$test1test1      = 'testing1';
$test1test1test1 = 'testing1';
$test1           = 'testing1';
Run Code Online (Sandbox Code Playgroud)

有没有办法在phpstorm或webstorm中这样做?

php text alignment phpstorm webstorm

42
推荐指数
5
解决办法
2万
查看次数

如何在WebStorm中显示推断的TypeScript类型?

在VS2012中,您可以将鼠标悬停在typescript变量上,它将显示推断的类型.webstorm中是否有类似的功能?

type-inference phpstorm webstorm typescript

42
推荐指数
5
解决办法
7611
查看次数

如何在PHPStorm中添加伏特语法检查

我希望能够在PHPStorm for Phalcon的模板引擎Volt中进行语法高亮显示.

有办法吗?

phpstorm phalcon volt

41
推荐指数
1
解决办法
1万
查看次数

0xDBE/PHPStorm/IDEA无法同步数据库的表

尝试在0xDBE中同步数据库表时出现以下错误:

Method org.postgresql.jdbc4.Jdbc4Array.free() is not yet implemented.
Method org.postgresql.jdbc4.Jdbc4Array.free() is not yet implemented.
The SQL statement:
with languages as (select oid as lang_oid, lanname as lang
                   from pg_catalog.pg_language),
     routines as (select proname as r_name,
                         prolang as lang_oid,
                         oid as r_id,
                         xmin as r_state_number,
                         proargnames as arg_names,
                         proargmodes as arg_modes,
                         proargtypes::int[] as in_arg_types,
                         proallargtypes::int[] as all_arg_types,
                         proargdefaults as arg_defaults,
                         provariadic as arg_variadic_id,
                         prorettype as ret_type_id,
                         proisagg as is_aggregate,
                         proiswindow as is_window,
                         provolatile as volatile_kind
                  from pg_catalog.pg_proc
                  where pronamespace = oid(?)
                    and …
Run Code Online (Sandbox Code Playgroud)

intellij-idea phpstorm datagrip

41
推荐指数
2
解决办法
3572
查看次数