Cannot edit *.js file - always locked
I am using PyCharm 2.7.3 and for some reason I cannot edit *.js files. I have no problems with any other type of file. I end up having to edit my *.js files in a different editor which is not convenient.
My co-workers do not have this problem with their PyCharm editors.
Any ideas on what would cause this? What settings should I be looking at?
Thanks,
Jeff
My co-workers do not have this problem with their PyCharm editors.
Any ideas on what would cause this? What settings should I be looking at?
Thanks,
Jeff
Please sign in to leave a comment.
If such .js files are generated live from another language (e.g. TypeScript/CoffeScript) they also be read-only (since you supposed to work with original language and not touching generated code at all).
I'm not PyCharm user, unfortunately, so have no other real ideas.
But you can always try deleting your settings (while IDE is closed; backup files before manipulating) to see if this will resolve the issue:
Project settings – .idea subfolder of your project (backup and delete (or just rename) it and open the folder using "Open Directory" option (you will have to reconfigure project from scratch)). See if this will make any difference.
If nothing – IDE Settings – see http://devnet.jetbrains.com/docs/DOC-181 for details. You can always restore most (almost all) of your settings back from backup files (just do it in small numbers – few files at a time and then launch IDE to see if it still works as intended).