質問

I'm looking for a systematic way how to have in my eclipse projects' code, private comments (which I do not want other team members to see when they check out my code), as well as public comments (which I do want to share with others); a way that will allow me to only commit to svn the code with comments I want to make public?

I use eclipse subversive.

役に立ちましたか?

解決

Create files with the same base name, but the extension .notes. Thus the class named Plover would be declared in Plover.hpp, defined in Plover.cpp and your private notes would be in Plover.notes.

You can then tell SVN not to check in your notes file using a command like:

svn propset svn:ignore "*.notes" 

他のヒント

There is nothing called private comments and public comments. Any thing you commit will be seen by everyone who has access to your project in svn. The best way to have private comments will be in your notepad.

If you really want to take notes in eclipse while you are coding look at this plugin or you can search for similar other plugins.

Notepad for eclipse

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top