Entrian Source Search 1.8.3: Various fixes and features
Tuesday, February 15th, 2022 by Richie Hindle
I’m very pleased to announce the release of Entrian Source Search 1.8.3, which adds these features to the command line program ess.exe:
- The returned errorlevel is now more sensible:
- 0 for success; for the search command an errorlevel of 0 means that some results were found.
- 1 for a search with no errors but no results.
- 2 for errors.
- Errors are now written to stderr rather than stdout
- There is now a -showcount switch, which prints the number of hits at the end of the results.
The Visual Studio extension has one new feature:
- The context menu for the results list has new command “Copy list of all filenames (without duplicates)”.
And some bugs have been squashed:
- When loading a solution in Visual Studio 2022, Source Search now correctly loads your index every time, rather than sometimes failing and telling you there’s no index loaded.
- Source files in UTF-8 with no BOM are now much more reliably detected; by default Source Search asks Windows to detect the encoding, and it often gets it wrong for UTF-8 files.
- When Windows says that a file is ASCII-encoded, Source Search now treats it as codepage 1252. If it really is ASCII then that makes no difference, and if Windows has got it wrong (which does happen) and it’s not UTF-8 then codepage 1252 is the most likely encoding.
- Source files containing Zero Width Space (U+200B) codepoints no longer crash or highlight the wrong words in the results list.
You can download this new release from the download page.