-
Notifications
You must be signed in to change notification settings - Fork 25
Ability to ignore files for parsing #77
Comments
I think this would be a great use of #64 (adding a phpconfig.json). |
Yes, this would be perfect. It would be a workaround for plenty of bugs with stuck indexing. |
@nevadascout Wouldn't this be much faster than waiting on update of php-parser? |
@michalhudecek Yes, it would... Adding this to next release! |
@nevadascout Any ETA for the next release? |
Not sure, a few weeks maybe. Could create a minor release with this feature in the short term though... |
That would be great |
Added in the v0.2.2 release |
@nevadascout Great. Thanks a lot. I tried to use it and set up this in settings:
But it still gets stuck while indexing Evernote. What am I doing wrong? |
@nevadascout Is there any documentation for the settings for this feature? Am I doing something wrong? |
@michalhudecek Try this: "crane.ignoredPaths": [
"vendor/evernote"
] Or this: "crane.ignoredPaths": [
"vendor/evernote/**"
] |
@michalhudecek Sorry, I saw this but forgot to reply! As @TheColorRed's code shows, I think it's because you've got a |
I am a total noob to vscode. Where do I find phpconfig.json to configure crane.ignoredPaths? [edit] For other noob, the configuration is located in vscode > FIle > Preferences > Workspace Settings |
I tried both @TheColorRed suggestions but still loading cache folders. Any suggestions ? |
Being able to ignore a set of files from parsing would bypass the smarty issues (#76) and would generally be a nice feature.
The text was updated successfully, but these errors were encountered: