#Bedrocken: VSC Extension

1 messages · Page 1 of 1 (latest)

golden crown
#

I've been working on an extension to address the primary reason I kept returning to bridge: dynamic autocompletion.

For the uninformed bridge suggests stuff like entity identifiers in spawn rules, or item names in loot tables. With blockception's extension, schemas already existed but they lacked dynamic autocompletion.

I believe blockception has some sort of dynamic autocompletion now, but it's not the same level I wanted, so I continued working on this

Available here or directly within VSC
https://marketplace.visualstudio.com/items?itemName=Xterionix.bedrocken

#

Lang autocomplete

#

Custom components

#

JSON autocomplete example

#

Manifest related context menu options

#

^ These are the main reasons I made this. It does have some smaller minor stuff included.

I've been the primary one using this, naturally I probably missed something, so I'm open to suggestions or bug reports https://github.com/Xterionix/bedrocken

cosmic hull
#

Looks amazing- I’ll give it a try and report as needed 👀

undone nexus
#

Nice, will try this out too

ashen cliff
#

ooo

#

yoink

cloud helm
#

OooOoooOOoooo

golden crown
# ashen cliff aw :c

Do you have schemas aside from blockception? Those values aren't being suggested by the extension

#

All ye JSON suggestions from the extension have the orange icons

#

If you click CTRL+SPACE it should trigger the auto complete again

golden crown
#

Btw the extension suggests values in between ""

ashen cliff
#

Just nothing from bedrocken was appearing for some reason

golden crown
#

Is the extension installed properly? Do you see the commands when you hit CTRL P

ashen cliff
#

I'll check next time I get on my laptop

mellow widget
#

This looks pretty cool, been wanting to make my own for a while because I'm frustrated with alternatives, but maybe I'll give this a try

golden crown
#

Let me know if there's something you want added

sick cloud
#

Good day, I found out that there's a error on my project since it was uses regolith as a compiler and your Extension @golden crown and it doesn't show the pop-ups of auto completions and the JSON sticks to white

#

Here's the picture shows that the JSON is not colored but the JavaScript part was fine

golden crown
#

I'm not sure what you're showing in the picture, but I can assure it's compatible with regolith projects; I use it with regolith

golden crown
sick cloud
#

Well it's okay but I'm worried on JSON part now

golden crown
#

The issue is that you're not getting dynamic autocomplete?

sick cloud
#

It's already enabled but the JSON auto completions don't appear

golden crown
#

Can you put your cursor here and check?

"description": {
  "identifier": "|"
}
sick cloud
#

Here you go sounds there's no identifier name

golden crown
#

Did you receive any sort of error message?

sick cloud
#

no

golden crown
#

Can you reload the window and see if that fixes it?

sick cloud
#

There's no fixes and it doesn't give json colors back

golden crown
#

The extension has no effect on the JSON color

#

What language does vscode assocaite the file type with?

#

I know most people change json -> jsonc

sick cloud
#

well I guess jsonc works too on minecraft?

golden crown
#

Yeah it does

sick cloud
#

so this can be mixed like json and jsonc but this will works well

#

well sounds like it works but it's not an oridnary json tho but it works

golden crown
#

You got it working?

sick cloud
#

Anyway I got it already by installing JSON Extensions

golden crown
outer stone
#

you should add auto completion for module versions if you haven't

golden crown
#

If you're referring to script modules, then I've chosen to leave those to the schema since they don't change within a project

outer stone
golden crown
#

So not script module versions?

golden crown
# golden crown ### Manifest related context menu options

addBlockIcon context option

When you right click a block.json file and select this option, you'll prompted with a list of short names and texture paths. After choosing those, an item.json gets created with that data. It updates item_texture.json if you chose a texture path

maiden rivet
#

@golden crown would I be able to use your extension instead of Blockception? I'm stilling having issues with the texture reference error.

(Nevermind I fixed my issue in blockception)

golden crown
frosty veldt
#

@golden crown bro can you help me? I work on Android and the auto completions fails when you use a dot
For example:

When writing:

world.afterEvents

The auto completions works with "world" but you put the "." And stop working

golden crown
#

That doesn't sound like an issue with the extension since I don't do anything with script files beside parsing

frosty veldt
#

I was just asking if you know how to resolve that problem

wind saddle
#

@golden crown how did u made json suggestions

golden crown
sick cloud
#

Is this extension available on open vsx in the future so it can be usable on VS Codium or VSCode OSS