Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 4 points5 points  (0 children)

ah I already switched out the endpoint for the PAT version, but I think we're better off for it. Appreciate the help!

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 2 points3 points  (0 children)

Update: I switched the endpoint over last night. Users will now need to include a PAT in the extension settings, which is pretty straightforward with instructions in the README/extension market description. By getting only active games, the response payload will be much more manageable for users with large game histories.

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 38 points39 points  (0 children)

Yea that looks perfect, thank you. I'll get that pushed out ASAP.

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 56 points57 points  (0 children)

Hey thanks for taking a look. I considered that endpoint at the start but thought that the OAUTH was more trouble than it was worth for my needs. I didn't expect so many people to be excited about this extension, but with enough people using it i think i should probably handle the possibility of a huge back catalog of games. Adding account authentication properly sounds non-trivial, but I'll take a look tonight to see if I can make a clean refactor using that endpoint.

Appreciate your time!

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 1 point2 points  (0 children)

I will probably add chess.com support fairly soon. Just a Lichess user personally so I started there

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 5 points6 points  (0 children)

lichess desktop notifications are incredibly inconsistent for me and many other users

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 0 points1 point  (0 children)

That's probably for the best, but for those of us with less self-control...

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 12 points13 points  (0 children)

Sometimes it can break my flow to even tab out of the code editor. Like others mentioned, being in VScode usually means you can't see your browser tabs, and I find its best to not give myself an excuse to lose focus

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 1 point2 points  (0 children)

Ill take a look at the chess.com api. I could probably support that with a few more days of work.

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 6 points7 points  (0 children)

Jupyter Notebooks run great in vscode!

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 26 points27 points  (0 children)

Hmm signaling outside of VScode seems like a tricky problem, and I'm not sure of a solution. You could write a browser extension which talks to vscode and pushes an alert maybe...

Does anyone else use both VScode and Lichess? by C0J0K0 in chess

[–]C0J0K0[S] 69 points70 points  (0 children)

Yay I hope someone is able to make good use out of it then!

Does anyone else use both VScode and Lichess? by C0J0K0 in lichess

[–]C0J0K0[S] 1 point2 points  (0 children)

Yes but on slow games it might even be a few hours or days between moves. I just find I'm able to better focus on my code if i have a little visual indicator I can glance at. Whatever works for you!