Skip to content

Quoted string in the comment #2013

@kosorin

Description

@kosorin

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Linux

What is the issue affecting?

Annotations

Expected Behaviour

Show full comments.

"lorem ipsum" this is ignored
"dolor sit" this is ignored

Actual Behaviour

Comment for the @param that starts with a quoted string ignores everything after the string.

luevscodeerr

Reproduction steps

---"hello world" this is ok
---@param bar any "lorem ipsum" this is ignored
---@param baz any # "dolor sit" this is ignored
local function foo(bar, baz)
end

Additional Notes

No response

Log File

No response

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