expo / vscode-expo

Expo Tools keep you productive with debugging, IntelliSense, and prebuild previews
https://marketplace.visualstudio.com/items?itemName=expo.vscode-expo-tools
MIT License
433 stars 11 forks source link

Support Expo modules config #113

Closed byCedric closed 1 year ago

byCedric commented 2 years ago

Description of the feature

Add IntelliSense for expo-module.config.json files.

Motivation

See https://github.com/expo/expo/blob/main/packages/expo-modules-autolinking/src/types.ts#L72-L146

Additional context

We could try and generate the code using TypeDoc. But I think we can just quickly start by creating a manual schema for now.

byCedric commented 2 years ago

Continuing the discussion outlined in the PR:

There is no automated workflow to manage this schema yet. I'll keep the original issue open because of that. We have a few options:

  1. Try to infer the json schema through typedoc from https://cdn.jsdelivr.net/npm/expo-modules-autolinking@0.9.0/build/types.d.ts
  2. Add a schema to expo-modules-autolinking that we update here, just like eas-metadata.json

The manual schema lives here: https://github.com/expo/vscode-expo/blob/schemas/schema/expo-module.json

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 0.8.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: