Ignore Folder from Javascript Code Completion

Is there currently a way to ignore a folder from being parse for Javascript code completion, without excluding it from my project structure. I would like to still see the folder and be able to work with the files inside it but I do not want them code compelting other files?


-ross

1 comment
Comment actions Permalink

Ross,
currently you can exclude only a single file (or a group of files) from completion by marking them as plain text. You can select the files, right click for the context menu and choose "Mark as plain text". You will still see the files and be able to view them. There is no such an option for a directory though. There is a feature request for it: http://youtrack.jetbrains.com/issue/WI-6454.
Another possibility is to create a JS libary out of the files you would like to exclude from completion although this may be a bit more complicated. A benefit is that the file remains highlighted as JavaScript and etc. You can find more information about that here: http://blog.jetbrains.com/webide/2010/11/working-with-javascript-libraries-in-phpstorm-webstorm/

0

Please sign in to leave a comment.