[analytics] Fix a bug in metrics folder migration

When migrating the metrics folder from $HOME to $XDG_DATA_HOME, the
analytics library now try to create the directory
$XDG_DATA_HOME/Fuchsia first before moving the old directory to the new
place (under $XDG_DATA_HOME/Fuchsia).

The bug currently is not affecting users because ffx would have already
created the $XDG_DATA_HOME/Fuchsia.

Change-Id: I276c293fb91465db0cd8cde7b8e3745438488cd7
Reviewed-on: https://fuchsia-review.googlesource.com/c/vscode-plugins/+/743887
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Solly Ross <sollyross@google.com>
2 files changed
tree: 776649f5fe73164bb0308644fcb6f8678fd11316
  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. CHANGELOG.md
  19. CONTRIBUTING.md
  20. LICENSE
  21. OWNERS
  22. package-lock.json
  23. package.json
  24. PATENTS
  25. README.md
  26. THIRD_PARTY_NOTICES.txt
  27. TROUBLESHOOTING_ZXDB.md
  28. 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.
  • FIDL syntax highlighting

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.