How to auto import without I approved

when I copy the code into file,  I have to click (option + enter in Mac) to approve the import tooltip, which is tired when sometime I'm refactoring the project with so many (option + enter). so would it be possible that the rider will auto import the namespace which is needed when I paste the code into the file.

0
1 comment

Zhoujiazhiwork Rider does not have a setting that automatically imports using directives without confirmation. However, you can trigger the Context Action only once after you have finished refactoring your code, as shown below.

0

Please sign in to leave a comment.