robotframework-lsp icon indicating copy to clipboard operation
robotframework-lsp copied to clipboard

Add default output dir in the config snippet

Open pasikokko opened this issue 3 years ago • 5 comments

Adding the output folder in the launch configuration snippets, to make sure output files are always generated in the same folder, despite how you start the robot.

pasikokko avatar Dec 05 '22 08:12 pasikokko

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 05 '22 08:12 CLAassistant

If it should be the same dir it should probably use the ${workspaceFolder} variable so that it doesn't rely on the cwd.

Also, please run the codegen_package.py so that the package.json file is regenerated with those updated values.

fabioz avatar Dec 05 '22 10:12 fabioz

Actually, the output dir should be inside the robot folder, but I haven't figured out how to configure that in generic way, so that it would work for many robots in the workspace

pasikokko avatar Dec 05 '22 10:12 pasikokko

Humm, that's really trickier. The problem is that the Robot Framework Language Server doesn't really have much information on the actual structure of Robocorp Code in this case.

I'll have to think a bit more on how to solve this properly as this connection needs to be thought a bit better in this case. Can you create a ticket in: https://github.com/robocorp/robotframework-lsp/issues with the actual use case?

fabioz avatar Dec 05 '22 11:12 fabioz

I'll do that

pasikokko avatar Dec 05 '22 11:12 pasikokko