search

Powerful text and file search in Visual Studio Code

As Power BI Sidetools creates files from your report, you are able to search through DAX, M, the layout (report pages) and even the ‘Model.bim’ file (the whole model). You can search among multiple reports or among different versions of the same report.
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.

Have a look at this blog post about Power BI Sidetools and download it in the ‘Setup’ chapter : 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

search

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)

search

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”

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.

search

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

search

Use the search editor

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

search

Type a word to search across all files :

search

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.

You may have a look at other posts about Power BI Sidetools :

Custom analyser

Custom analyser

With ‘Custom analyser’ feature, Power BI Sidetools users can use external tools built by the…

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *