[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Re: Any way to set all files of a project as 'read only'?
From: Alvin Beach <alvinbeach () gmail ! com>
Date: 2012-08-14 10:43:46
Message-ID: CALZOkd2P0+UbUT8iVyQmecGj04u2wN0-JRANiLHwHrCVWmKjmA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
What about removing the write permission on all the files? Something like
this in your project directory:
$ chmod -R a-w * .kde4
This would also prevent changing the Kdev4 project files.
Alvin
On Aug 13, 2012 5:17 PM, "Justin Chen" <Justin.Nankai@gmail.com> wrote:
> Hi there,
>
> I am a big fan of kdevelop which is very convenient to read code in my
> opinion.
> Recently, I am learning a new big system with kdevelop. In order not to
> modify
> the code mistakenly, I just change the source files to be "read only" by
> using
> "Editor->tools->read only mode". However, I can only set one single file
> to be
> 'read only' at a time, which is very inconvenient for me. I just wonder
> whether
> it is possible to set all source files to be 'read only' at a time?
>
> Thanks!
>
> -Justin
>
>
> _______________________________________________
> kdevelop mailing list
> kdevelop@kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>
[Attachment #5 (text/html)]
<p>What about removing the write permission on all the files? Something like this in \
your project directory:</p> <p> $ chmod -R a-w * .kde4</p>
<p>This would also prevent changing the Kdev4 project files.</p>
<p>Alvin</p>
<div class="gmail_quote">On Aug 13, 2012 5:17 PM, "Justin Chen" <<a \
href="mailto:Justin.Nankai@gmail.com">Justin.Nankai@gmail.com</a>> wrote:<br \
type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi there,<br>
<br>
I am a big fan of kdevelop which is very convenient to read code in my opinion.<br>
Recently, I am learning a new big system with kdevelop. In order not to modify<br>
the code mistakenly, I just change the source files to be "read only" by \
using<br> "Editor->tools->read only mode". However, I can only set \
one single file to be<br> 'read only' at a time, which is very inconvenient \
for me. I just wonder whether<br> it is possible to set all source files to be \
'read only' at a time?<br> <br>
Thanks!<br>
<br>
-Justin<br>
<br>
<br>
_______________________________________________<br>
kdevelop mailing list<br>
<a href="mailto:kdevelop@kdevelop.org">kdevelop@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop" \
target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop</a><br> \
</blockquote></div>
_______________________________________________
kdevelop mailing list
kdevelop@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic