Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.lang file intellisense error[BUG] #457

Open
ewanpeebles opened this issue Mar 24, 2024 · 2 comments
Open

.lang file intellisense error[BUG] #457

ewanpeebles opened this issue Mar 24, 2024 · 2 comments
Labels
Bug Something isn't working

Comments

@ewanpeebles
Copy link

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.

@ewanpeebles ewanpeebles added the Bug Something isn't working label Mar 24, 2024
@outercloudstudio
Copy link
Member

Thank you for reporting this I'll make sure this is fixed in 2.8

@ewanpeebles
Copy link
Author

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants