Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

DidierTerrien

Powerful text and file search through your DAX & M formulas

image-6

 

Text and file search in Visual Studio Code is really powerful. There are different ways to search and replace. The only difficulty you will meet will be to choose among all of them.

You may have a look at this blog post about Power BI Sidetools before : https://thebipower.fr/index.php/power-bi-sidetools/

 

File and folder search

Look for a table, calculated table, display folder, measure or calculated column name just typing several letters

 

Select a file or a folder in Explorer.

Then type several characters to highlight correspondances.

Watch this video from Code 2020 for few more tips : https://www.youtube.com/watch?v=N81yz6KzsUQ

 

Text search

 

Search tab (Ctrl + Shift + F)

 

To enter the search tab,you can click on the magnifier or select a folder in the Explorer, right click and select “Find in folder”

image-10

 

Search within the editor (Ctrl + F)

While the cursor is in the editor, typing Ctrl + F allows to highlight words or sentences and to navigate to each occurence.

image-6

 

Clicking on the arrow allows to swith to replace mode. Ctrl+ H does the same.

image-7

 

 

Use the search editor

To enter the search editor, type F1 followed by “new search” and select “New Search Editor”

image-8

 

Type a word to search across all files :

image-9

 

Watch this video from Code 2020 : https://www.youtube.com/watch?v=3JTtBA17eug

 

Extensions

You will find more search possibilities in extensions like “Diff Folders” from L13RARY

 

Conclusion

There is no doubt you will find what you look for with the powerful search capabilities of Visual Studio Code. If you know more search capabilities, please let me know in the comments.

 

Look at the original blog post in The BI Power website an eventually subscribe for more content :   https://thebipower.fr/index.php/2020/09/03/powerful-text-and-file-search/