Netbeans creates file, then complains it already exists

北慕城南 提交于 2020-01-06 04:06:47

问题


I am trying to create a new C++ class in Netbeans, by right-clicking on the virtual 'Source Files' folder inside Netbeans, and clicking on 'New C++ Class'.

I name the source file test.cpp and the header file test.hpp. When I click finish, Netbeans complains test.hpp already exists.

I go to /home//NetBeansProjects/ and I can see Netbeans did create the file test.hpp. I delete it, try to create a new class again, and same error occurs. Netbeans did create the file again. (The file does not show up in Netbeans, only in the file browser.

I'm running a Linux Ubuntu-based distribution. Netbeans v7.3.1.

EDIT: This happens with all kinds of files. (Source, Header, Class, C Source, C Class...)

来源:https://stackoverflow.com/questions/17761359/netbeans-creates-file-then-complains-it-already-exists

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!