Skip to main content
Participant
March 15, 2023
Answered

Find and Replace in Files not searching HBS files

  • March 15, 2023
  • 3 replies
  • 485 views

This could be something I'm doing wrong on my end, but am submitting as a "bug" for technical help anyways just in case.

  1. Version 21.3.0.15593
  2. Windows 10
  3. Basic Steps (see video file I've attached to go along with steps below)

--- Find > Find and Replace in Files... (Basic tab) 

--- Search for test words within a directory that has HBS files as well as other file types (JSON, CSS, etc.)

--- DW finds the test word(s) in all of the other files, but not the HBS file.

--- From Windows, open the HBS file in DW to show the word(s) that were being searched for but not found using Find and Replace 

 

This topic has been closed for replies.
Correct answer Jon Fritz

The steps below will fix it for you (just tested and functions as expected in the latest version on W10)...


1. Close DW
2. Enable Hidden Items on your OS

3. Go to:

C > Users > your username > AppData (normally hidden) > Roaming > Adobe > Dreamweaver (your version) > your language (example: en_US) > Configuration

3. Scroll down and open the Extensions.txt file in Notepad or another text editor
4. Add the extension to the HTML Documents extensions list on the second line...

HTM,HTML,HTA,HTC,XHTML,HBS:HTML Documents

5. Save and close the file
6. Launch Dreamweaver, you should now be able to search within .HBS files. 

NOTE: The above will need to be repeated every time DW is updated, so keep a copy on hand.


3 replies

Jon Fritz
Community Expert
Jon FritzCommunity ExpertCorrect answer
Community Expert
March 16, 2023

The steps below will fix it for you (just tested and functions as expected in the latest version on W10)...


1. Close DW
2. Enable Hidden Items on your OS

3. Go to:

C > Users > your username > AppData (normally hidden) > Roaming > Adobe > Dreamweaver (your version) > your language (example: en_US) > Configuration

3. Scroll down and open the Extensions.txt file in Notepad or another text editor
4. Add the extension to the HTML Documents extensions list on the second line...

HTM,HTML,HTA,HTC,XHTML,HBS:HTML Documents

5. Save and close the file
6. Launch Dreamweaver, you should now be able to search within .HBS files. 

NOTE: The above will need to be repeated every time DW is updated, so keep a copy on hand.


Participant
March 16, 2023

Awesome, that worked perfectly. Thank you so much for your help—I appreciate it!

Participant
March 16, 2023

I think it is (or has something to do with) Handlebars/templates. They make up the main structure of our Zendesk theme. I guess I had been using Dreamweaver to edit this file type for a while now, I just assumed I had used the Find and Replace for them before, but this must have been the first time I tried it. Thanks anyways!

Nancy OShea
Community Expert
Community Expert
March 16, 2023

What's an HBS file?

 

These are Dreamweaver's supported file types.  See screenshots.

 

Nancy O'Shea— Product User & Community Expert