tomi / vscode-rf-language-server

VSCode extension to support Robot Framework development
MIT License
53 stars 36 forks source link

Allow for dynamic defining of libraries for code complete based on Resources/Libraries in given Robot files #77

Open Julian88Tex opened 4 years ago

Julian88Tex commented 4 years ago

Describe the solution you'd like It would be nice to have libraries for code complete automatically defined based on the robot files you are in. Alternatively, being able to set a few paths for where libraries are located would also be helpful.

Describe alternatives you've considered Attempt to define libraries on my own but it is too cumbersome to try and keep them up-to-date.

tace commented 3 years ago

If yo mean this configuration. Yes, I don't understand this at all either.

    "rfLanguageServer.libraries": [
        "BuiltIn-3.1.1",
    ],

Why we would need to list and define each Robot standard lib and even the version? I don't know the version I have and it keep changing. I guess Robot's std libraties are tied with Robot's version? Robot's version and related std libraries should be easy to autodetect from the current installation. Those should not be forced to list in configuration.