vscode-rf-language-server icon indicating copy to clipboard operation
vscode-rf-language-server copied to clipboard

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

Open Julian88Tex opened this issue 4 years ago • 1 comments

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.

Julian88Tex avatar Mar 09 '20 05:03 Julian88Tex

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.

tace avatar Dec 29 '20 05:12 tace