Skip to content

Luau language server highlighting does not work with scripts in the SL object explorer #109

Description

@mercurylinden

Description:
Features of the language server (autocomplete hints, hover doc strings, deprecated function strikethrough, etc.) do not work with luau files that are viewed from the plugin's object view.

Steps to reproduce:

  1. Install the Second Live VS code plugin
  2. Install the Luau language server
  3. Start second life and connect with the plugin
  4. Create a .luau file in your VS Code workspace
  5. Copy the following script into it:
function LLEvents.touch(events)
    ll.Say(0, "I've been touched!")
end

ll.Cloud(ZERO_VECTOR)
  1. Note that if you hover over a function you see docstrings popup
  2. Note that ll.Cloud is crossed out because it is deprecated.
  3. Start typing "ll." and Note that autocompletions are suggested.
Image
  1. Go to Second life and create a new Object with a new script and start exploring in VS code
  2. Copy the script from step 5 to the script in the object.
  3. Repeat steps 6 - 8 with the script in the second life object

Result:
None of the functionality works on the script from the second life object.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions