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

VSCode extension for ScanAPI IntelliSense #48

Closed
barbosa opened this issue Oct 12, 2019 · 11 comments
Closed

VSCode extension for ScanAPI IntelliSense #48

barbosa opened this issue Oct 12, 2019 · 11 comments
Assignees
Labels
Feature New feature or request

Comments

@barbosa
Copy link
Member

barbosa commented Oct 12, 2019

Given that ScanAPI already has a predefined yml structure, we could have a VSCode extension that autocompletes keys (endpoints, method, path, etc) based on where you are in the spec tree.

This would require further investigation to see what can be achieved but the following links should give some clarity:

@camilamaia camilamaia added the Feature New feature or request label Nov 5, 2019
@camilamaia camilamaia added this to To do in EuroPython 2020 Sprint via automation Jul 24, 2020
@camilamaia camilamaia removed this from To do in EuroPython 2020 Sprint Jul 27, 2020
@abreumatheus
Copy link
Member

abreumatheus commented Aug 2, 2020

Hi,
I just develop a initial version with completion for all tags in the specification and snippets for custom vars and python code.
If you guys approve it, we'll have to create a new repo for the extension and an organization on Azure, to publish it to the marketplace.
You can view the code in my repo here, and download the preview release here since it's not yet published in the VSCode marketplace. 😄

Obs: In the future we can introduce more advanced features like linting, i think it would be awesome.

@camilamaia @barbosa

@barbosa
Copy link
Member Author

barbosa commented Aug 2, 2020

@abreumatheus What a great surprise for a Sunday morning!

@barbosa
Copy link
Member Author

barbosa commented Aug 3, 2020

@abreumatheus this looks good for a first version. Next version we can explore the other VSCode APIs. Very excited to see this progressing!

@camilamaia I can help you out if needed, creating the MS account. I had to go through the same process for Loadsmart's. Let me know.

@abreumatheus
Copy link
Member

@barbosa All help is welcome, it was the first time i tried to develop a VSCode extension, so there's a lot to learn. 😃

@barbosa
Copy link
Member Author

barbosa commented Aug 3, 2020

Very excited seeing this happening, @abreumatheus. Thank you so much for digging into their API! 💪

@camilamaia
Copy link
Member

@abreumatheus wow, wow, wow! This is amazing 🚀 🤩 Thanks for that! I am super excited with it. Let me see to create the MS account

@abreumatheus
Copy link
Member

@camilamaia Thanks! Don't forget the repo here on github, so i can push it there and we'll be able to start contributing 😃

@camilamaia
Copy link
Member

@abreumatheus oh, good point! 😅 let me do it right now!

@camilamaia
Copy link
Member

@abreumatheus https://github.com/scanapi/intellisense 😺

@camilamaia
Copy link
Member

@abreumatheus,

@barbosa and I just created the Microsoft Account and set the token in the secrets of the new repo. This way we can automatize the deploy: scanapi/vscode-extension#1

image

We also did a first release manually only for testing:

image

🎉🎉🎉

@camilamaia
Copy link
Member

I am going to close this issue because now we can starting creating specific issues in the new repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants