source insight 配备对php的支持

WBOY
Release: 2016-06-13 10:56:38
Original
1293 people have browsed it

source insight 配置对php的支持

最近要对电子商务平台ecMall搞二次开发,需要研究其php源码,发现source insight默认是不支持php代码的,于是上网找了下配置SI使其支持php代码:

主要参考了这两个链接:

http://blog.sina.com.cn/s/blog_4e7453df010111v7.html

http://hi.baidu.com/ilovemsrabbit/item/5dccc9d09f1064b233db90a7

配置过程都很顺利,但配置完创建我的工程然后加载文件时SI却不能加载.php文件,后来我发现前面配置的时候在Document Type中没选“include when adding to projects”(其实第一个参考链接在配置时提示了的,但我先是参考了第二个链接,它缺少这一项,于是就出问题了)。然后就可以用了。

最后发现中文是乱码,搜了一下好像SI对UTF-8不支持,有人说手动转换为GB2312,不知道是只在SI工程空间中转还是要把源码中文编码转换,我是不想破坏源码的,不知道谁有什么办法?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!