Skip to content

.lang file intellisense error[BUG] #457

@ewanpeebles

Description

@ewanpeebles

Summary
Whenever I need to update a .lang file in a resource pack to add a name to an item I made, the intellisense doesn't allow me to autocomplete it correctly. It will give me the option to autocomplete it correctly once type an underscore character (_), it'll act like I typed a few wrong characters, and insert the whole thing after the characters in the namespace I typed, or something like that. It's also generally finicky.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new project, with a resource and behavior pack.
  2. Create a blank item, with no presets, named my_blank_item. Anything will work however (or not work? lol)
  3. Enter as much as you need to make the file valid, and make the identifier example:my_blank_item for this.
  4. Go to the resource pack, open (or create) the en-US.lang file and begin to type in (not copy/paste) item.example:my_blank_item=Whatever. The intellisense will be kind of strange.
  5. Once you have item.my_n The intellisense will read: item.example:my_blank_item. Press tab or enter. You will now have:
  6. item.example:my_item.example:my_blank_item

Observed behavior
This has happened for me multiple times when I was developing a mod that had a lot of items in it.
Expected behavior
I expected the intellisense to kick in right away with the correct option to autocomplete, and not just start all over again on the beginning of the name.

Screenshots / File Attachments
1
2
3
4

Platform (please complete the following information):

  • OS: Windows 10 x64
  • App Version: 2.7.15

Additional context
This is just one example of how .lang file intellisense is weird. Sometimes it just doesn't work entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions