diggyk / fildir

VSCode extension: Filtered Directories
GNU General Public License v3.0
6 stars 0 forks source link

Plugins providing intellisense support stop working in Filtered View files #3

Open akulmehta opened 1 year ago

akulmehta commented 1 year ago

Plugins such as PHP Intelephense which provide intellisense for PHP language and framework such as Laravel stop working when using the filtered view. The same files when opened under the normal folder structure shows intellisense properly.

diggyk commented 1 year ago

Hmm, that's weird. Let me take a look at that.

diggyk commented 1 year ago

So, this will be trickier to address. I think the issue here is the plugins want to examine the rest of the files in the project to provide intellisense, but those files don't show up because they are filtered out. I need to consult others on how I can address this. There are two potential fixes:

  1. Don't show the filtered files in the file explorer but in their own view panel instead, which means having to recreate all the UI goodness and ability to have it behave just like a file explorer (but even then, we'd miss all the additional plugin added items in the context menu)
  2. Find a way to intercept the open call and have it redirect to the actual file system instead of having it appear as a file served by the fildir file system provider.
sfeldkamp commented 1 year ago

Typescript Intellisense is working just fine for me.