Open olegklimov opened 7 months ago
/bounty 1000
/attempt #34
with your implementation plan/claim #34
in the PR body to claim the bountyThank you for contributing to smallcloudai/refact-vs-classic!
/attempt #34
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@oliverqx | 4 bounties from 3 projects | TypeScript, Python |
Cancel attempt |
@oliverqx: The Refact.ai team prefers to assign a single contributor to the issue rather than let anyone attempt it right away. We recommend waiting for a confirmation from a member before getting started.
@olegklimov can I get assigned?
/attempt #34
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@digital-phoenix | 4 smallcloudai bounties + 2 bounties from 2 projects |
Rust, C#, Python |
Cancel attempt |
@digital-phoenix: The Refact.ai team prefers to assign a single contributor to the issue rather than let anyone attempt it right away. We recommend waiting for a confirmation from a member before getting started.
can I get assigned for the issue?
@olegklimov I'd be fine with @gechdejenb taking over this issue. I have enough other stuff to work on.
can i get assigned for this issue?
oh yeah sure why not
/attempt #34
@itsxdamdam: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
@Muhammad-Musab Are you still working for the issue? If not, I would love to work.
Hello, here, requesting to be assigned this issue
I was trying to set this up, but how am I supposed to run the workflow for 'refact-lsp.exe' (it asks for admin rights)
hi @Ahmadkhan02 It doesn't require any special rights, works on my Windows box just fine without asking anything. Maybe it asks to open a TCP port, but then it's 127.0.0.1 so it's not even a port visible from outside 🤷
/attempt #34
@varsubham: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
Hello,
Not sure if Muhammad-Musab is still working on this issue. If so, you can ignore this. If not, I would love to be assigned.
I don’t have any experience with open source contributions or with VS Code extension development, but I have quite a bit of experience in Python, JavaScript, and working with open source projects. I also learn quickly and have a broad, deep, and solid foundation of knowledge, not to mention a bunch of time on my hands.
Appreciate your time.
hi @Ahmadkhan02 It doesn't require any special rights, works on my Windows box just fine without asking anything. Maybe it asks to open a TCP port, but then it's 127.0.0.1 so it's not even a port visible from outside 🤷
had to delete refact-lsp.exe once, somehow ended up with a corrupt file earlier
@Ahmadkhan02: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
no, I am still facing issues with refact-lsp.exe. After git clone. it shows up like
Also when running workflow from github cli:
/attempt #34
@toitek: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
no, I am still facing issues with refact-lsp.exe. After git clone. it shows up like
Also when running workflow from github cli:
@olegklimov @digital-phoenix any help on this? Would like to work on this issue but this is a major blocker
/attempt #34
@thekumbhaj: Another person is already attempting this issue. Please don't start working on this issue unless you were explicitly asked to do so.
@olegklimov , bro @Muhammad-Musab aint produced any work, @digital-phoenix removed the assignment in March. Seems like the issue is up for grabs, no ?
hi @Ahmadkhan02 It doesn't require any special rights, works on my Windows box just fine without asking anything. Maybe it asks to open a TCP port, but then it's 127.0.0.1 so it's not even a port visible from outside 🤷
Got it working. Had to build the refact-lsp code separately. Working on the issues now
@olegklimov can i get assigned?
And what i need to do
I have made some progress on the issues but cant get the app to work. I have tracked to issue down to AddFile in RefactLanguageClient.cs. Adding some debug: `public async Task AddFile(String filePath, String text) {
Debug.WriteLine( $"Adding file {filePath} to LSP");
//wait for the rpc
while (this.Rpc == null) await Task.Delay(1);
//dont send the file to the lsp if the lsp already knows about it
if (ContainsFile(filePath))
{
return;
}
//message to send to lsp
var openParam = new DidOpenTextDocumentParams
{
TextDocument = new TextDocumentItem
{
Uri = new Uri(filePath),
LanguageId = filePath.Substring(filePath.LastIndexOf(".") + 1),
Version = 0,
Text = text
}
};
//send message to lsp catch any communication errors
try
{;
await Rpc.NotifyWithParameterObjectAsync("textDocument/didOpen", openParam);
//add file to known file set
files.Add(filePath);
Debug.WriteLine($"File '{filePath}' added successfully");
}
catch (Exception e)
{
Debug.WriteLine("Exception: " + e.Message);
ShowStatusBarError("Server Exception: \n" + e.Message);
}
}`
i get error as: Adding file file:///C:/Users/kahma/AppData/Local/Temp/0u5gqz5n..js to LSP 19:01:57:732 Exception thrown: 'System.ObjectDisposedException' in mscorlib.dll 19:01:57:732 Exception: Cannot access a disposed object.
how do you guys get it running?
NOTE: I have the refact-lsp.exe now. Had to build it seprate.
@olegklimov @digital-phoenix
@olegklimov anything for the above?
This issue is still valid!
@Ahmadkhan02 are you working on this?
Yup @olegklimov, still working on this. Actually I am mostly done with the changes but as I stated above, I just can’t get the extension to run and hence can’t test
Even a new clone doesn’t run
hey, @Ahmadkhan02 let's collab if you are ready.
@Ahmadkhan02 I'm here to help you. What the problem with extension do u have? we have backend binary with lsp https://github.com/smallcloudai/refact-lsp. Build this one and put it in resources. Where can I find your code and test it by myself?
💡 @Ahmadkhan02 submitted a pull request that claims the bounty. You can visit your bounty board to reward.
Hi @reymondzzzz
I have already built and added refact-lsp as shown. Thats not the issue. I am starting to think my OS is the issue here. What OS do you guys use? I can see visual studio 2022 for mac is also a thing. I can get a mac to try if thats what you guys use
We use vsclassic on windows only. Microsoft doesn't no longer support mac version of VS
picking up this issue again after some time. Any idea when this issue comes up?
/attempt #34
8
33
32
31
30
29
28
24
20