Any way to set all files of a project as 'read only'?

Sven Brauch svenbrauch at googlemail.com
Mon Aug 13 21:41:24 BST 2012


Can the readonly property be accessed by dbus? In that case, maybe one
could write a shell script to set all documents to read only...

But I agree with Andreas that this sounds something you want to use a
version control system for.

Cheers

2012/8/13 Andreas Pakulat <apaku at gmx.de>:
> Hi,
>
> no this is not possible since its not a feature of kdevelop. Its
> solely the editor doing this and I believe it also only happens for
> your current session. So once you restart kdevelop the setting is
> lost.
>
> If you want to make sure you don't accidentally modify the source code
> use a version-control system and import the source into that before
> starting to look through it. There's also the undo stack which allows
> to undo whatever you did recently.
>
> Andreas
>
> On Mon, Aug 13, 2012 at 10:12 PM, Justin Chen <Justin.Nankai at 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 at kdevelop.org
>> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop




More information about the KDevelop mailing list