bridge-core/editor

My auto-completion doesn't work...

DakioCode opened this issue · 11 comments

Summary
Auto-Completion on the editor is not working.

To Reproduce

  1. Open a file (e.g. main.js) and import any of Minecraft scripting api.

Observed behavior
The auto-completion popups are not showing.
Expected behavior
It should behave similar like VSCode with auto-completion.

Screenshots / File Attachments
image

image

Platform (please complete the following information):

  • OS: Windows 11.
  • App Version: Bridge. 2.7.17.

Additional context

  • I enabled the Beta APIs when I created the project.

What does your manifest look like?

I just changed the dependencies :

{
	"format_version": 2,
	"metadata": {
		"authors": [
			"bridge."
		],
		"generated_with": {
			"bridge": [
				"2.7.17"
			],
			"dash": [
				"github:bridge-core/dash-compiler#8fa35c73292f6382747d0f411fca26431a6d2c8e"
			]
		}
	},
	"header": {
		"name": "Addon1",
		"description": "",
		"min_engine_version": [
			1,
			20,
			70
		],
		"uuid": "2595a54c-4a62-4830-96d5-460568adb640",
		"version": [
			1,
			0,
			0
		]
	},
	"modules": [
		{
			"type": "data",
			"uuid": "f1d567a7-ef56-400f-ad14-7dd9a28f3ff7",
			"version": [
				1,
				0,
				0
			]
		},
		{
			"type": "script",
			"language": "javascript",
			"uuid": "52a3ae43-1779-49b1-bec6-dccad4634b00",
			"entry": "scripts/main.js",
			"version": [
				1,
				0,
				0
			]
		}
	],
	"dependencies": [
		{
			"uuid": "83304554-5d8b-4e1b-9721-61812a75ec02",
			"version": [
				1,
				0,
				0
			]
		},
		{
			"module_name": "@minecraft/server",
			"version": "1.11.0-beta"
		},
		{
			"module_name": "@minecraft/server-gametest",
			"version": "1.0.0-beta"
		},
		{
			"module_name": "@minecraft/server-ui",
			"version": "1.2.0-beta"
		}
	]
}

What format version have you defined in your project config?

I meant target format version.

Where can I find it ?

You can find it within your project config file.

This ?
image

1.11-beta requires a target format version of at least 1.20.80

Ok and so I just have to change this version and it works?