Do research on how to create the following plugin to Visual Studio or PyCharm
- Durum: Closed
- Ödül: £100
- Alınan Girdiler: 8
- Kazanan: YankeyKelvin
I would like to create a plugin to Visual Studio or PyCharm (you can choose if it's Visual Studio or PyCharm). I want to make sure that what I want to do is possible (probably it is).
I don't want you to create the plugin (maybe some next task will be related to that), but at the moment I'd like you to research if it's possible and how to do it (if it is).
The plugin needs to communicate with an application / API on a server.
This is what the plugin needs to be able to do:
1. When requested by the server, the plugin needs to send the following information to the server application:
a) the path of the currently opened file in the IDE (e.g. "/home/Projects/lol/main.py").
b) the position of the caret in the file (e.g. line 30, character: 45).
2. When requested by the server application, the plugin needs to open a file requested by the server application and set the position of the caret to a requested position.
In other words, what we need to be able to do is:
1. Open a given file and set the position of the caret to a given place.
2. Get the currently opened file and the current position of the caret and send it to the server.
3. The above needs to be done when receiving some message from the server (so for example some kind of websocket connection needs to be opened, when the plugin is enabled in the IDE (Visual Studio or PyCharm) so that the plugin can receive messages from the server).
The plugin can be a plugin to Visual Studio or PyCharm (it's your choice).
The rules of the contest:
1. The task is to simply explain to me how to do that (or explain to me why it's not possible, if it isn't). You can for example send links to the specific places in the documentation that explain how to do that or show some code examples.
2. The winner of the contest will be the person who will teach me the most about how to do that (who will help me the most to understand that).
3. If two people teach me the same thing, then it will count on the account of the person who said that first, so the sooner response has higher chances of winning the contest. You can add multiple responses.
4. I might ask some follow up questions. You don't have to respond to them, but it will increase the chances of winning the contest.
In your responses, assume that I have the knowledge about programming (I do), but I haven't developed any plugin to IDEs. I don't have lots of experience with Java or Kotlin (one of those is probably the language it needs to be used, if it's for PyCharm).
“It's all good”
damc4, United Kingdom.