开发者

How do I make Netbeans play nice with PHP files and SVN?

开发者 https://www.devze.com 2023-02-07 14:45 出处:网络
We are using netbeans as a devlopment platform for a php project and are having some small annoying issues:

We are using netbeans as a devlopment platform for a php project and are having some small annoying issues:

  1. .class will not open in netbeans since it insists that they are "binary".
  2. .class and .tpl files do not play nice with subversion. Right-clicking doesn't bring up a subversion menu so I can't commit/diff/check history which is very annoying.

It feels like this could开发者_JAVA技巧 be fixed in a config file somewhere specifying which file extensions are binary etc. However, I can't find it and searching around has not helped.

Any ideas? /K


The first problem is easy to solve: Just go to Tools -> Options -> Miscellaneous and then de Files tab. There you can add an extension and associate it with a file type.

That should solve your second problem for .class files as well so perhaps you need to do the same for the .tpl file type.

0

精彩评论

暂无评论...
验证码 换一张
取 消