项目作者: expo

项目描述 :
Expo tools for VS Code
高级语言: TypeScript
项目地址: git://github.com/expo/vscode-expo.git
创建时间: 2020-05-03T20:18:48Z
项目社区:https://github.com/expo/vscode-expo

开源协议:MIT License

下载




Expo Tools



Expo Tools



Latest release


Workflow status


Install from VS Code Marketplace


Install from Open VSX


IntelliSense
Debug apps
Preview prebuild
Preview manifest
Changelog
Contribute


Expo Tools adds suggestions and docs for all Expo config. It also shows live previews for native files from prebuild, right in your editor!


IntelliSense for Expo configs

Expo config IntelliSense example

Get suggestions and docs where you need them the most.






Debug Expo apps

Debug your app, without leaving your editor. The built-in expo debugger can connect directly to your simulator or phone, giving you complete insights into what your app is doing.

  • Expo: Debug ... → Start debugging with the default settings, with just a single command.
  • .vscode/launch.json → Fully configure the expo debugger through VS Code launch scripts.


Live preview for native files

See how your changes in app.json or app.config.js would affect the native files created by npx expo prebuild. The previews are generated whenever you save the app manifest and won’t affect existing files.

Open app.json or app.config.js and run the Expo: Preview Modifier command.

Supported Android files

  • AndroidManifest.xml → App manifest with settings for build tools, Android, and Google Play.
  • gradle.properties → Configuration for the Grdle build toolkit itself.
  • colors.xml → Color resources defining the color and opacity.
  • strings.xml → String resources defining string content, styling, and formatting.
  • styles.xml → Style resources defining the format and look for a UI element.

Supported iOS files


Live preview for manifest

Preview the generated manifests for your app. You can do this for the different config types listed below.

Open app.json or app.config.js and run the Expo: Preview Config command.

  • prebuild - The local app manifest when running npx expo prebuild.
  • introspect - The evaluated app manifest result when running npx expo prebuild.
  • public - The hosted manifest when using Expo Updates.



with ❤️ byCedric