Skip to content

Option --doc_out_path no longer optional #3073

Closed
@AndreasMatthias

Description

@AndreasMatthias

Option --doc_out_path was initially implemented to be an optional argument. But since #2821 it is mandatory. You can no longer use --doc without --doc_out_path. I.e. you get an unsatisfying error with

lua-language-server --doc=.

I'd like to fix this and make --doc_out_path optional again.

What do you think is a reasonable default path?

Originally the default path of doc.json was the log path of LuaLS (aka LOGPATH in the code).
Now I'm pondering on changing the default path of doc.json to be the current directory.
Is this reasonable? What do you think? Any objections?

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