This Question is Answered

2 "helpful" answers available (2 pts)
1 Replies Last post: Jun 5, 2012 11:47 AM by Rustam Vishnyakov  
Ross Gerbasi Newbie 46 posts since
Mar 9, 2010
Currently Being Moderated

Jun 4, 2012 11:53 PM

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

Rustam Vishnyakov JetBrains 118 posts since
Apr 9, 2010
Currently Being Moderated
Jun 5, 2012 11:47 AM in response to: Ross Gerbasi
Re: Ignore Folder from Javascript Code Completion

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/

More Like This

  • Retrieving data ...