Skip to content

Studio Plugin does not automatically resend data if the language server restarts #1324

@hookSSi

Description

@hookSSi

There is a problem connecting DM info the plugin to the LSP.
I know a workaround for this issue, but it’s a bit inconvenient. I was wondering if you could take a look at this when you have a chance.

Steps to Reproduce

  1. Launch Roblox Studio
  2. Run the plugin in Roblox Studio
  3. Launch Cursor
  4. Add any object in Roblox Studio to trigger a POST request
  5. Verify that the plugin is connected to the LSP
  6. Modify a file such as projectGlobalTypes.d.luau then reload the LSP
  7. The plugin is no longer connected to the LSP (step 4 no longer works)
  8. Restart Cursor
  9. Perform step 4 again and verify the LSP connection (works correctly)

Environment

OS: Windows 11
IDE: cursor
Settings

{
    "editor.formatOnSave": true,
    "[luau]": {
        "editor.defaultFormatter": "JohnnyMorganz.stylua"
    },
    "luau-lsp.platform.type": "roblox",
    "luau-lsp.plugin.enabled": true,
    "luau-lsp.sourcemap.autogenerate": true,
    "luau-lsp.sourcemap.enabled": true,
    "luau-lsp.sourcemap.rojoPath": "./plugin/rojo.exe",
    "luau-lsp.types.robloxSecurityLevel": "RobloxScriptSecurity",
    "luau-lsp.hover.multilineFunctionDefinitions": true,
    "luau-lsp.inlayHints.hideHintsForErrorTypes": true,
    "luau-lsp.inlayHints.functionReturnTypes": true,
    "luau-lsp.inlayHints.parameterTypes": true,
    "luau-lsp.inlayHints.variableTypes": true,
    "luau-lsp.types.definitionFiles": {
        "roblox": "./types/globalTypes.d.luau",
        "project_ec": "./types/projectGlobalTypes.d.luau"
    },
    "luau-lsp.types.documentationFiles": [
        "./docs/ko-kr.json",
        "./docs/projectDocs.json"
    ],
    "luau-lsp.plugin.maximumRequestBodySize": "1000mb"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpluginRelated to Roblox Studio Plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions