Unmark as library file.

Is there a way to 'unmark' a file as being a javascript library file?

For instance, if I create a TypeScript class, the watcher create a .js, and the generated .js is automatically marked as a library and read-only. Then I delete the .ts file in the windows file explorer, the .js is still there and works, but I cant edit it because it thinks it is a library file. I just want to re-tag as a source file.


Comment actions Permalink

Hi there,

"Settings | JavaScript | Libraries --> Generated files" -- "Edit" and remove such file from the list.

Comment actions Permalink

Perfect, thanks.


Please sign in to leave a comment.