-
Notifications
You must be signed in to change notification settings - Fork 20
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
Extension ignores settings and mcproject files like .mcignore, .mcdefinitions and .mcattributes #483
Comments
Has the UI thing been resolved? It should be just packaged within the extension. Might indicate an extension that's corrupted. |
For the .mcignore not working, I'm wondering something. It might be that a top-level project is loading in everything. The plugin doesn't support Minecraft project files in subfolders atm. So each workspace might be working as intended but an upper level level workspace is loading all |
Tried uninstalling all bedrock-related extensions and deleting any traces from that folder. On re-install the issue still persist unfortunately. Can you check if the schemas in the latest extension have the 'CAE_variables' being referenced by the error (last screenshot).
I think this is probably the case. That top root folder named 'Bedrock Library' in Screenshot#1 has a bunch of addons in various subfolders. Is there a way to keep that in my workspace but make the extension ignore it? (would like to keep it for easy reference). Additionally, let me know if there's any test or logging you would like me to run on my workspace to diagnose this. If projects in subfolders are the issue, would you consider adding support for that in future? Or maybe just a way to ignore it. I will test my workspace with root folders added and removed and let you know if anything changes. |
Think to stop the root folder from checking all, you would have to add a pattern to the .mcignore of the root to not go deeper |
Think I have fixed this |
I tried again, opening a completely new window, adding just the vanilla BP folder with the 2023-11-01.13-01-08.mp4 |
A more comprehensive video with voice-over providing as much context as possible: Hope this helps :) |
No, because that is valid JSON syntax. Also, the errors go away when the extension is disabled. 2023-11-02.01-35-21.1.mp4 |
Doesn't matter the extension cannot ignore json through mcignore |
Yeah, I was referring to the part where you said it's just a thing VS code does. |
Also no sadly, vscode would require a couple more features |
Oh, okay thanks for trying 👍 |
Think I really really fixed it now, version 7.0.4 is uploading |
Hey, just got back to working on addons and noticed the UI errors have gone away. Nice! |
If its a thing about json structure, I cannot do anything |
Hi,
For a long time now, I've been having a lot of trouble filtering certain files and folders from diagnostics. This issue has had a long history for me (I've previously reported it here and here) and I was hoping for a final 'master' fix.
Currently, as of v7.0.2, here's what I experience:
.mcignore
.mcattributes
and.mcdefinitions
files are ignored.Additional context:
.mcignore
.mcattributes
,.mcdefinitions
files in each root folder (automatically generated by extension's MCProject command)I've been ignoring the issue for a while but recently, while working on json-ui, the diagnoser just seems to flag everything it sees, ruining the experience. I understand the extension doesn't support syntax for experimental MC features and sometimes the schemas tend to be outdated, but I would really appreciate a way to turn off the linting on unsupported files. Maybe even a comment like Typescript's
// @ts-ignore
to suppress specific errors?Reference Screenshots:
.mcignore
file..mcignore
file not working.Thank you :)
The text was updated successfully, but these errors were encountered: