I use Webstorm with Junie (Jetbrains).
I couldn’t find an official solution or a response on their forums but managed to get this done using one of the Junie features.
I expect in a future version, Junie will consider the Webstorm folders marked as excluded or Webstorm might add a menu item to exclude a folder from AI tools only.
In Webstorm you should create a folder named .junie with a config file named guidlines.md.
I used that config to ask Junie to check if a folder that is being accessed is marked for exclusion (using the Webstorm config file).
My guidlines.md looks like this:
Before everything, if any of the folders you are going to access, open or read is excluded in e-commerce.iml, revert all changes and then stop.
MUI 7.
Do not use ending semicolon.
As mentioned above, it’s likely that it’s already been slurped into the LLMs if hosted at GitHub / others. Kinda crazy that most people seem fine with this. It extends far beyond code though. My guess is that the law will be too slow to do much about it.
I think LLMs are clearly useful even though they hallucinate but I also wonder if there’s an opportunity for products that are basically anti-AI. A hosted service like GitHub that is verifiably private would be an example. Does it exist?