Late plugin activation part 1: non-commands

This switches plugin activation from 'onStartup' to a set of criteria
that should match any current fuchsia project:

- any cml or fidl
- any (autodetected) path of ffx as per tool_finder
- restoring a previously-open workspace with the fuchsia log view
  running

Commands need some fixing, so that'll be in a follow-up CL

This should ensure we don't spam users with 'ffx could not be found' and
such when they're working on non-fuchsia projects.

Bug: 98651

Change-Id: I657690432377d5bb6465707ddc11cc5c4dba34b3
Reviewed-on: https://fuchsia-review.googlesource.com/c/vscode-plugins/+/715967
Reviewed-by: Daniel Salazar Villarreal <villarreald@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
1 file changed
tree: b0c9c60a1c891cba13eb225d8ffd1cdbcb269bef
  1. .ci/
  2. .kokoro/
  3. .vscode/
  4. docs/
  5. media/
  6. resources/
  7. src/
  8. syntax/
  9. testdata/
  10. webviews/
  11. .eslintrc.json
  12. .gitignore
  13. .vscodeignore
  14. AUTHORS
  15. build-helpers.mjs
  16. build.mjs
  17. BUILDING.md
  18. CONTRIBUTING.md
  19. LICENSE
  20. OWNERS
  21. package-lock.json
  22. package.json
  23. PATENTS
  24. README.md
  25. THIRD_PARTY_NOTICES.txt
  26. TROUBLESHOOTING_ZXDB.md
  27. tsconfig.json
README.md

Fuchsia extension for VS Code

This VS Code extension implements the commonly needed functionality for Fuchsia development.

This is a Work In Progress Currently supporting:

  • Interacting with the fuchsia target device.
    • Setting the default target.
    • Sending commands to the target.
  • Debugging C/C++ components.
  • Filtering and listening to target logs.

FFX path settings

The FFX tool path can be set under Settings > Extensions > Fuchsia SDK. If this path is not set, the extension will automatically search for it at:

  • ./tools/ffx
  • ./.jiri_root/bin/ffx

Recommended extensions

Contributing

Issues/feedback

  • Please report issues/feedback here.

Legal Notice

Use of the Fuchsia core developer tools is subject to the Google Terms of Service. The Google Privacy Policy describes how data is handled in your use of this service.