Inspiration
- There are extensions in VS Code IDE that assists developers in working with regular expressions directly within VS Code. While these extensions offer several features that are beneficial, we see a need for an extension that addresses user interface constraints.
What it does
- The VS Code extension checks for codes that obeys the input regex pattern based on flavors that was chosen (e.g. JavaScript, Typescript, Golang, and C).
Instructions to test the VS Code extension
Download the codebase and open it with the VS Code IDE. Choose "Run and Debug" and run the "Run Extension" play button on top. A simulator would be opened up. Then activate the extension by pressing shift + cmd + P for Mac and shift + ctrl + P for Windows/Linux then choosing the "Simple Regex Check" command, which should be available in this setup. Then follow the prompts to test. A response will be shown in the lower right corner of the IDE once the flow has been completed.
How we built it
- This application was built using JavaScript, Node.js and also used the VS Code Extension API, as well as various regex flavors.
- We worked asynchronously, sometimes independently and sometimes as a group/pair.
- We developed the codebase for the VS Code extension using VS Code as the IDE.
Challenges we ran into
- For two of the team members, our major challenge was learning JavaScript so that we could contribute.
- Working as a distributed team with teammates from different time zones is challenging but rewarding. At times we struggled to find mutually agreeable time to meet. But we made it work for us in order to complete the project on time. It did feel like a marathon instead of a sprint though.
Accomplishments that we're proud of
- First experience in a hackathon for two of the members.
- Building the first extension.
What we learned
- Learnt the fundamentals of Git/GitHub.
- Developed an understanding of utilizing VS Code API, leveraging regex translator and the RegExp built in object in JavaScript.
- Learnt about Node.js and JavaScript.
What's next for Regex VS Coders
- Maybe we will team up again for future side projects or hackathons.
Built With
- git
- github
- javascript
- node.js
- npm
- vscode-extension-api

Log in or sign up for Devpost to join the conversation.