editor
editor copied to clipboard
Editor auto-completion is not working
Summary Auto-Completion on the editor is not working or not showing properly.
To Reproduce Steps to reproduce the behavior:
- Open
main.js
and import any of Minecraft scripting api. - Write the imported api.
Observed behavior The suggestion/auto-completion small popups are not showing, or even not working.
Expected behavior It should behave similar like VSCode with proper auto-completion/suggestion.
Screenshots / File Attachments
Platform (please complete the following information):
- OS: Windows 11
- App Version: 2.7.11
Additional context
- I have tried to re-create and delete the project, and it's still not showing any auto-completion.
- I enabled all
Individual Items
andHoliday, Beta API, and Experimental Molang
features when creating the project. - Bridge. is installed in
C:/Program Files
directory. - I love ice cream and sorry for my bad eng.
Could you share your dependencies in your BP manifest?
Could you share your dependencies in your BP manifest?
It's untouched, generated by Bridge. itself.
...
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-gametest",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-ui",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-admin",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-net",
"version": "1.0.0-beta"
}
]
Full manifest.json (click to expand)
{
"format_version": 2,
"metadata": {
"authors": [
"Cat Loaf"
],
"generated_with": {
"bridge": [
"2.7.11"
],
"dash": [
"github:bridge-core/dash-compiler#8fa35c73292f6382747d0f411fca26431a6d2c8e"
]
}
},
"header": {
"name": "pack.name",
"description": "pack.description",
"min_engine_version": [
1,
20,
60
],
"uuid": "28bdc8aa-26bb-4814-acfb-98ae3f5853c6",
"version": [
1,
0,
0
]
},
"modules": [
{
"type": "data",
"uuid": "082f1c49-ae26-4fc9-8680-9281ae73918e",
"version": [
1,
0,
0
]
},
{
"type": "script",
"language": "javascript",
"uuid": "b048937b-eb6a-416d-b26b-ad8cd6391c65",
"entry": "scripts/main.js",
"version": [
1,
0,
0
]
}
],
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-gametest",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-ui",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-admin",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-net",
"version": "1.0.0-beta"
}
]
}
Did you enable the scripting API experiment?
scripting API experiment?
Sorry but, I'm not sure what do you mean by scripting API experiment...
But when creating a project, I'm enabling 3 experimental gameplays with BR and RP enabled.
I also enabling the Set project for use with Bedrock Dedicated Servers
Oh hey, mine got it working. I changed my dependencies version to using latest beta apis from https://wiki.bedrock.dev/scripting/starting-scripts.html#create-your-first-project
...
{
"module_name": "@minecraft/server",
"version": "1.9.0-beta"
},
{
"module_name": "@minecraft/server-gametest",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-ui",
"version": "1.2.0-beta"
},
{
"module_name": "@minecraft/server-admin",
"version": "1.0.0-beta"
},
{
"module_name": "@minecraft/server-net",
"version": "1.0.0-beta"
}
...
What's your target format version?
What's your target format version?
my metadata format version is 2
I mean the target format version defined in your project config.
an the target format version defined in your project config.
Ohh my bad!, it's 1.20.60
Full config.json (click to expand)
{
"type": "minecraftBedrock",
"name": "Lunaria",
"namespace": "lunaria",
"authors": [
"Cat Loaf"
],
"targetVersion": "1.20.60",
"description": "",
"experimentalGameplay": {
"holidayCreatorFeatures": true,
"creationOfCustomBiomes": false,
"upcomingCreatorFeatures": false,
"enableGameTestFramework": true,
"experimentalMolangFeatures": true,
"educationEdition": false
},
"bdsProject": true,
"packs": {
"behaviorPack": "./BP",
"resourcePack": "./RP"
},
"worlds": [
"./worlds/*"
],
"compiler": {
"plugins": [
"generatorScripts",
"typeScript",
"entityIdentifierAlias",
"customEntityComponents",
"customItemComponents",
"customBlockComponents",
"customCommands",
"moLang",
"formatVersionCorrection",
[
"simpleRewrite",
{
"packName": "Lunaria"
}
]
]
}
}
I'll do some testing. It seems like you should be getting autocompletions. I'll get back to you soon.