how to find a certain named import in vscode

121 Views Asked by At

for example I have a following line in some file in my project:

import { Button, Switch, message, notification } from 'antd';

and the following line in another file:

import { Table, notification } from 'antd'; 

How can I use VSCode search to find both of these files? and any other file which also has notification function import from antd, among other functions/components from antd library

1

There are 1 best solutions below

0
Marcos Adriano On BEST ANSWER

import \{.*notification.*from 'antd';