Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Auto-complete does not work for JSON files! #708

Open
SonicandTailsCD opened this issue Dec 22, 2024 · 8 comments
Open

[BUG] Auto-complete does not work for JSON files! #708

SonicandTailsCD opened this issue Dec 22, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@SonicandTailsCD
Copy link

SonicandTailsCD commented Dec 22, 2024

Describe the bug
It's simple, actually. While typing, for example, "minecraft:, it does not show the possible properties. It's quite tough.
Heck, it won't even show an error after saving, for example, an invalid property: "minecraft:behavior.fart": {}. Obviously that's not valid but unfortunately it won't warn you it's invalid.
So, 2 issues in one.

To Reproduce
Steps to reproduce the behavior:

  1. Just make a new file and start writing. Some things will have auto-complete, some won't.

Expected behavior
Auto-complete to actually work and for invalid properties to be flagged, regardless of whether you have to save first.

Screenshots
Screenshot proving this
This isn't supposed to not be flagged.

Desktop (please complete the following information):

  • OS: Ubuntu 20.04.6 LTS
  • VS Code version: 1.90.0 (can't upgrade)
  • Extension version: latest (v8.0.18)
@SonicandTailsCD SonicandTailsCD added the bug Something isn't working label Dec 22, 2024
@DaanV2
Copy link
Contributor

DaanV2 commented Dec 22, 2024

Is this custom entity properties? or an component?

@Xterionix
Copy link
Contributor

Full file and folder setup would be nice to know

@SonicandTailsCD
Copy link
Author

Is this custom entity properties? or an component?

I don't quite get what you mean, but if I were to guess, you're asking me if I'm just testing one component, or an entire custom entity.
The answer to this: "Custom entity". :)

@SonicandTailsCD
Copy link
Author

Full file and folder setup would be nice to know

I have VS Code open with both the resource and behavior packs loaded.

@Xterionix
Copy link
Contributor

I have VS Code open with both the resource and behavior packs loaded.

Yeah, that's not answering what I asked. There are many ways people load both the bp and rp.

@SonicandTailsCD
Copy link
Author

I have VS Code open with both the resource and behavior packs loaded.

Yeah, that's not answering what I asked. There are many ways people load both the bp and rp.

Sorry. I meant, I have both folders loaded in my editor, as in, 2 folders, BP and RP, added to the workspace.

@Xterionix
Copy link
Contributor

Can you share the full file?

@SonicandTailsCD
Copy link
Author

Well, it does this on any file, but sure. Here you go:
bowser.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants