question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add client-server mode with API

See original GitHub issue

Client-server mode with API could be used by IDEs or separate programs for file scanning “on the fly” without need to wrap Robocop.

Example:

robocop = Robocop.server(*args)
robocop.scan_file(file)
robocop.scan_file(file)
...
robocop.scan_file(file)

Returned output would need to be different than std.out (for example json object) so it would be handled by other tools.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
fabiozcommented, Mar 24, 2021

Folks, Is there any doc guiding us to get this working on vscode?

Wait a few more hours and then update/install the Robot Framework Language Server (https://marketplace.visualstudio.com/items?itemName=robocorp.robotframework-lsp) version 0.11.0 in VSCode (I’m in the process of doing a release on the Robot Framework Language Server which will have Robocop integrated).

It should work out of the box (there will be a setting to disable it if you’d rather not use it).

1reaction
fabiozcommented, Mar 23, 2021

Do you have any screen shot how it works in IDE? Out of curiosity - if you have any at this point.

Sure (note that it has some issues from Robocop and some issues from the language server itself):

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client Server Architecture to understand API's - LinkedIn
Do you have anything to add? I hope, this article will provide you in depth knowledge on API's. Thank you for reading! 149...
Read more >
The Client Server Relationship, Codecademy, How to use APIs
In this lesson we go over the client and server relationship. The user is the client, and will make a request to a...
Read more >
REST Architecture - Part 2: Building the Client - Auth0
Learn how to build client-server systems by applying the REST ... In the first part, you learned how to build a RESTful API...
Read more >
Client-Server API - Matrix Specification
Client-Server API. The client-server API allows clients to send messages, control rooms and synchronise conversation history. It is designed to support both ...
Read more >
Client-Server Model - GeeksforGeeks
The Client-server model is a distributed application structure that partitions task or workload between the providers of a resource or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found