My auto-completion doesn't work...
DakioCode opened this issue · 11 comments
DakioCode commented
Summary
Auto-Completion on the editor is not working.
To Reproduce
- 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
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.
outercloudstudio commented
What does your manifest look like?
DakioCode commented
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"
}
]
}
DakioCode commented
?
outercloudstudio commented
What format version have you defined in your project config?
DakioCode commented
outercloudstudio commented
I meant target format version.
DakioCode commented
Where can I find it ?
outercloudstudio commented
You can find it within your project config file.
DakioCode commented
outercloudstudio commented
1.11-beta requires a target format version of at least 1.20.80
DakioCode commented
Ok and so I just have to change this version and it works?