Setting Folder Inclusions Programmatically
已回答
Hi Guys,
Following on from this issue: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009788960-Auto-Import-child-dependencies-TypeScript
Is there a way I can programmatically (via a config file for example) set a list of folders to be included globally or copy it into each project.
For example:
exclusions: [
'dist',
'node_modules'
]
inclusions: [
'node_modules/class-transformer',
'node_modules/class-validator',
]
This would really help us be able to package down our 'common' modules and still benefit from the child auto-complete.
请先登录再写评论。
Hello,
There is no way to do it but in package.json. Only direct dependencies are included. See https://intellij-support.jetbrains.com/hc/en-us/community/posts/360009788960/comments/360002264239.