Isolating test folder

Is it possible to isolate the entire test folder in a way that the code completion will not show its file suggestions outside the folder?

 

For example,

1.When I type in a class name in /component/button.tsx, the code completion will not bring up suggestions from /test

2.But when I type in /test/button.tsx, I want it to still bring up class suggestions from all folders, including /test and /component.

Marking the test directory as `excluded` would not allow me to do the 2. 

0
1 comment

No, it's not possible - all folders included in indexing participate in completion.

Please vote for https://youtrack.jetbrains.com/issue/IDEABKL-7389 to be notified on any progress with this feature

0

Please sign in to leave a comment.