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

Add support to run Shire code in comments #142

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Conversation

phodal
Copy link
Owner

@phodal phodal commented Nov 16, 2024

Related to #133

Add support for running or debugging Shire code within comments.

  • ParseCommentProcessor.kt

    • Add logic to extract Shire code from comments.
    • Update execute method to handle extracted Shire code.
  • RunCodeProcessor.kt

    • Update execute method to handle code extracted from comments.
    • Add logic to run Shire code extracted from comments.
  • ShireRunLineMarkersProvider.kt

    • Update getInfo method to provide run markers for comments containing Shire code.
    • Add getCommentInfo method to handle comments with Shire code.
  • ShireCommenter.kt

    • Enhance ShireCommenter to support running or debugging Shire code within comments.
    • Add logic to identify and extract Shire code blocks within comments.

For more details, open the Copilot Workspace session.

Related to #133

Add support for running or debugging Shire code within comments.

* **ParseCommentProcessor.kt**
  - Add logic to extract Shire code from comments.
  - Update `execute` method to handle extracted Shire code.

* **RunCodeProcessor.kt**
  - Update `execute` method to handle code extracted from comments.
  - Add logic to run Shire code extracted from comments.

* **ShireRunLineMarkersProvider.kt**
  - Update `getInfo` method to provide run markers for comments containing Shire code.
  - Add `getCommentInfo` method to handle comments with Shire code.

* **ShireCommenter.kt**
  - Enhance `ShireCommenter` to support running or debugging Shire code within comments.
  - Add logic to identify and extract Shire code blocks within comments.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/phodal/shire/issues/133?shareId=XXXX-XXXX-XXXX-XXXX).
@phodal phodal added the aigc Generate by AI label Nov 16, 2024
@phodal phodal merged commit 185e4a8 into main Nov 16, 2024
1 of 3 checks passed
@phodal phodal deleted the add-shire-comment-run branch November 16, 2024 08:48
@phodal phodal self-assigned this Nov 16, 2024
phodal added a commit that referenced this pull request Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aigc Generate by AI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant