Add unit tests, simplify findFidlSource.

The findFidlSource function is moved to its own source file so that it
can be tested without bringing in a dependency on vscode.

Once there were tests I was able to simplify the function by making the
regular expressions consistent.

Change-Id: I842ad5bcaf387e4e0cc9b828d6fa506c02971565
4 files changed
tree: 5b7ee48cbde1cce4cf3eab9f8f0835a0b38f5c1f
  1. .gitignore
  2. .vscode/
  3. .vscodeignore
  4. AUTHORS
  5. CHANGELOG.md
  6. CONTRIBUTING.md
  7. LICENSE
  8. PATENTS
  9. README.md
  10. images/
  11. language-configuration.json
  12. package.json
  13. src/
  14. syntaxes/
  15. test/
  16. tsconfig.json
  17. tslint.json
README.md

FIDL Language Support for Visual Studio Code

This extension adds:

  • syntax highlighting to FIDL files.
  • a command to jump from generated bindings to FIDL source.