Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kazai777 Builder Journey #80

Open
kazai777 opened this issue Sep 3, 2024 · 4 comments
Open

Kazai777 Builder Journey #80

kazai777 opened this issue Sep 3, 2024 · 4 comments
Assignees

Comments

@kazai777
Copy link

kazai777 commented Sep 3, 2024

Hi everyone,

My name is Zak and I live in France. After doing the student programs, I'm starting my individual grant. I will keep you informed of my progress on my different tasks here.

This week, I'm going to develop an Intellisense VSCode plugin for Gno which has been requested on this issue.

To start with, I analyzed the gnopls code in order to integrate it into my plugin, this took me some time as gnopls lacks a bit of documentation 😅.

I'm now starting to develop the plugin that will integrate gnopls, and I'll keep you posted on my progress here.

See you soon 🚀

@kazai777
Copy link
Author

Update

To begin with, I've integrated the p/demo and stdlibs folders directly into gnopls. I did this so that the user doesn't need to have an up-to-date gno repo on his machine for gnopls to work properly and to offer updates from my plugin, as I explain right after.

Then I integrated gnopls directly into my plugin project. I did this for 2 reasons. The first reason is that by doing this, the user doesn't need to install gnopls on his machine for it to work, the second reason is that by doing this, as I've added repo's that allow autocompletion directly in gnopls, I can propose the update from my vscode plugin, the update will get the new files from stdlibs and p/demo if there are any, and create a new gnopls binary thanks to the makefile.

I'm currently working on the automatic addition of packages used in the code but not yet imported, as well as the deletion of imports not used in the code. I think I'll be able to propose a V1 by the end of the week.

@poroburu
Copy link

Checking in, as I was looking at the similar Jetbrains' IntelliJ IDE plug-in issue: gnolang/gno#2732

Has the unofficial gno VSCode extension been a useful reference? What needs to be iterated on?

https://marketplace.visualstudio.com/items?itemName=harry-hov.gno

@kazai777
Copy link
Author

kazai777 commented Sep 11, 2024

Checking in, as I was looking at the similar Jetbrains' IntelliJ IDE plug-in issue: gnolang/gno#2732

Has the unofficial gno VSCode extension been a useful reference? What needs to be iterated on?

https://marketplace.visualstudio.com/items?itemName=harry-hov.gno

of course, I took a lot of inspiration from this existing plugin by making some modifications for it. I have also made changes to gnopls as mentioned above

@kazai777
Copy link
Author

Update !

I've finalized the first version of the intellisense plugin for gno. I still have to refactor the code and optimize some parts. I'll post a message here when it's done. ✌️

https://github.com/kazai777/vscode-gno/tree/zak-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants