PDA

View Full Version : [CLOSED] SA 2.1: Resources aren't editable



ssamayoa
16 Aug 2012, 6:24 AM
Release notes says:
"Local JS and CSS Resources within the project are editable"

But when you select "edit code" over css file, file is shown in the code editor but read only.

I put the css file in app/css

Why is read only?

Do I have to put somewhere else to make it editable?

Regards.

aconran
16 Aug 2012, 7:28 AM
Release notes says:
"Local JS and CSS Resources within the project are editable"

But when you select "edit code" over css file, file is shown in the code editor but read only.

I put the css file in app/css

Why is read only?

Do I have to put somewhere else to make it editable?

Regards.

Resources must reside within your project directory and you must unlock (via top left unlock button) to make them editable.

ssamayoa
16 Aug 2012, 7:33 AM
you must unlock (via top left unlock button) to make them editable.

Hahaha!

I feel stupid, I didn't noticed the "unlock" button!

For usability, shouldn't be in the other way? I mean, unlocked by default?

Regards.

aconran
16 Aug 2012, 8:07 AM
When these resources are unlocked Architect will own them and continue writing them back to disk. A lot of people are linking in built css from sass/less/etc, we don't want to touch those.

ldoogs
10 Oct 2012, 10:24 AM
Once a file has been unlocked, is it possible to return it to the locked state (so that Architect no longer 'owns' it and continues writing to disk each time the project is saved)?

dfoelber
10 Oct 2012, 11:52 AM
Hi,

It is not possible to lock an unlocked file at the moment, but will be possible in the future.