question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hardcoded schema path

See original GitHub issue

Old version

Current settings have a hardcoded path to schema:

  "json.schemas": [
    {
      "name": "vscode-expo-manifest",
      "url": "file:///Users/joshua/Library/Application%20Support/Code/User/globalStorage/bycedric.vscode-expo/manifest-44.0.0.json",
      "fileMatch": ["app.json", "app.config.json"]
    }
  ],

The above is from my Mac. When I open vscode on a Windows machine (settings sync turned on), there’s sometimes conflicts or the setting gets overwritten.

The url should be a platform agnostic location, or an actual URL.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
josmithuacommented, Jan 18, 2022

What if Expo hosted the manifest somewhere online, then you could just use a URL? Something like "url": "https://expo.dev/manifests/44.0.0.json"

Although if vscode doesn’t cache the contents it wouldn’t work offline.

0reactions
github-actions[bot]commented, Jul 18, 2022

🎉 This issue has been resolved in version 0.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hard Coded File Paths - Solution?
Paths are configured in config files, not database. ... The inner structure of the data directory is managed by source.
Read more >
Pass a hardcoded value through mongoose schema
I would like to post some hard coded values along with user input(variables) every time. args: [{ type: mongoose.Schema.Types.
Read more >
Parse schema name - Avoiding hard-coded schema names
Hi all, I have been trying to find a similar thread but had no luck. I want to avoid hard-coding schema names in...
Read more >
Why You Should Avoid Hard Coding Schema Names In ...
You are advised to carefully consider your settings in Toad at View->Toad Options, then Editor->Open/Save on the left side, Object Loading on ...
Read more >
Schema DB path is hardcoded · Issue #441 · F5Networks/k8s-bigip ...
Description Currently the schema DB path is hardcoded in https://github.com/F5Networks/k8s-bigip-ctlr/blob/master/pkg/appmanager/resourceConfig.go#L56 this ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found