dpwuvfpu52502 2014-10-09 18:41
浏览 81
已采纳

如何在.php文件中启用resharper html + javascript支持

I'm considering to buy "php tools for visual studio" but I noticed that resharper support for html is not there inside .php files and I can't seem to find anywhere how to enable this.

Does anyone have any idea of how to do this?

ps. I know phpstorm exists and I've downloaded it too, but this tool seems more for people that want to dive deeply in to php and I would like to utilize as much as I can of my visual studio knowledge and tfs etc since php is only a minor part of my development efforts...

Thanks in advance,

  • 写回答

1条回答 默认 最新

  • duanchi19820419 2014-10-10 13:16
    关注

    Unfortunately, you can't really do this, because php files aren't html or js files. If you did do it (and you should be able to by associating the .php extension with the html editor in Visual Studio's own options dialog), then ReSharper wouldn't parse the files correctly, because it wouldn't understand php syntax.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?