Language branch - #193
Merged
matt-dahlgren merged 7 commits intoJul 26, 2026
Merged
Conversation
…heir specified programming language (js, py, java, ts)
…programming language they selected when first creating project
…nothing is entered
jayden-ong
marked this pull request as ready for review
July 22, 2026 17:04
matt-dahlgren
approved these changes
Jul 26, 2026
matt-dahlgren
left a comment
Collaborator
There was a problem hiding this comment.
looks good to me thank you!
matt-dahlgren
merged commit Jul 26, 2026
b5a9954
into
CA-Visualizer-for-Education:main
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
We want the ability to initialize projects in python, typescript, javascript, and java. We also want to be able to add use cases based on the language that was used when initializing the project.
Proposed Changes
Both initialization use cases now take in a "language" argument that creates a new project based on what language was passed in. If no language is passed in the cave command, it is default java. When creating use cases, the program will find the directory that is named after the language that was passed in and create the files accordingly.
...
Screenshots of your changes (if applicable)
How to Test & Review
(Help your reviewer by providing clear instructions on how to verify your changes. Include specific commands, edge cases to watch out for, or UI navigation paths.)
Type of Change
You can run npm run test or run the cave commands for initializing a new project and creating a new use case.
Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the
[ ]into a[x]in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)Before opening your pull request:
[x ] I have performed a self-review of my changes.
[x ] I have added tests for my changes, if applicable.
[x ] I have updated the project documentation, if applicable.
(Frontend) I have added/updated text in
i18nJSON files for any new user-facing strings to support multilingual features.After opening your pull request:
[x ] I have verified that the CI tests have passed.
[ x] I have requested a review from a project maintainer, and a fellow student.
Technical Debt: If temporary workarounds or "TODOs" were used, I have opened a tracking issue to address them properly.
Questions and Comments
(Include any questions or comments you have regarding your changes.)