Skip to content

Restructure VS Code integration guide with objective section titles and corrected ArkThemes information#153

Closed
Copilot wants to merge 7 commits intomainfrom
copilot/fix-152
Closed

Restructure VS Code integration guide with objective section titles and corrected ArkThemes information#153
Copilot wants to merge 7 commits intomainfrom
copilot/fix-152

Conversation

Copy link
Contributor

Copilot AI commented Sep 12, 2025

Restructured the "Integrating with VS Code" documentation to better explain the two levels of syntax highlighting support available for ArkEnv users.

Changes Made

  • Clearer positioning of syntax highlighting options:

    • Repositioned the ArkType VS Code extension with objective title "ArkType VS Code Extension: Syntax Highlighting and Error Lens"
    • Added ArkThemes with objective title "ArkThemes: Special Highlighting" emphasizing TypeScript generics support
  • Improved content organization:

    • Removed unnecessary repetition and redundant explanations
    • Consolidated installation steps into the main extension description
    • Simplified the import styles section to focus on the key differences
    • Removed the separate "Migration Guide" section (information merged into import styles)
  • Enhanced clarity:

    • Used plain English throughout the documentation
    • Better structured sections with clearer headings
    • Reduced the content from 92 lines to 67 lines while maintaining all essential information
    • Used "Better DX" abbreviation for conciseness
  • Corrected ArkThemes information:

    • Fixed link to correct VS Code marketplace URL
    • Clarified that ArkThemes is not limited to Cursor editor
    • Emphasized special highlighting for TypeScript generics as the key differentiator
  • Final refinements:

    • Simplified description to focus on VS Code specifically
    • Streamlined ArkType extension introduction to be more direct and concise
    • Removed redundant introductory paragraph
    • Streamlined ArkThemes description by removing redundant explanations
  • Updated Best Practices section:

    • Added JetBrains IDEs to the list of supported editors for syntax highlighting
    • Removed the consistency bullet point to focus on the core recommendations

The restructured guide now clearly presents a progression from basic to enhanced syntax highlighting options, making it easier for users to choose the right setup for their development environment.

Fixes #152.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@vercel
Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
arkenv Ready Ready Preview Comment Sep 12, 2025 10:19am

@changeset-bot
Copy link

changeset-bot bot commented Sep 12, 2025

⚠️ No Changeset found

Latest commit: df8aac3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

…ced option

Co-authored-by: yamcodes <2014360+yamcodes@users.noreply.github.com>
Copilot AI changed the title [WIP] Add ArkType Themes to "Integrating with VS Code" guide Restructure VS Code integration guide to highlight ArkThemes as enhanced syntax highlighting option Sep 12, 2025
Copilot AI requested a review from yamcodes September 12, 2025 09:07
- **Syntax highlighting** for ArkType definitions in your schema
- **Inline error summaries** via ErrorLens integration
- **Better developer experience** with visual feedback
- **Basic validation feedback** for common mistakes
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked when it said "Better developer experience" (or DX).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the text to restore "Better developer experience" as requested in commit 6fe1e30.

ArkEnv works great with modern code editors that support syntax highlighting for ArkType definitions. There are two levels of support you can choose from, depending on your needs and editor preferences.

The [ArkType VS Code extension](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkdark) provides syntax highlighting and inline error summaries for ArkType definitions, making your development experience with ArkEnv much more pleasant.
## Minimum Recommendation: Basic Syntax Highlighting
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too diminishing... a more objective title like "## ArkType VS Code Extension: Syntax Highlighting and Error Lens" is better.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the title to "## ArkType VS Code Extension: Syntax Highlighting and Error Lens" for a more objective approach in commit 6fe1e30.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title is already set to "## ArkType VS Code Extension: Syntax Highlighting and Error Lens" as requested. This change was made in the previous commit to provide a more objective title.

- **Basic validation feedback** for common mistakes

## Alternative Import Styles
## Enhanced Option: Full TypeScript-like Syntax Highlighting
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too subjective. "## ArkThemes: Special Highlighting" is better.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the title to "## ArkThemes: Special Highlighting" as suggested in commit 6fe1e30.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title has been updated to "## ArkThemes: Special Highlighting" as requested for a more objective approach.

Comment on lines 38 to 40

You can also use named imports, though you won't get syntax highlighting:
For an even better development experience, [ArkThemes](https://marketplace.cursorapi.com/items/?itemName=arktypeio.arkthemes) provides full TypeScript-like syntax highlighting for ArkType definitions. Currently available for Cursor editor, this extension offers more comprehensive highlighting that makes ArkType schemas feel like native TypeScript code.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the link to https://marketplace.visualstudio.com/items?itemName=arktypeio.arkthemes and it's not true that it's just for cursor.

and the biggest difference is that ArkThemes provide special highlighting for typescript generics.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the ArkThemes link to https://marketplace.visualstudio.com/items?itemName=arktypeio.arkthemes, removed the Cursor-only limitation, and emphasized the special highlighting for TypeScript generics in commit 6fe1e30.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the ArkThemes link to the correct VS Code marketplace URL (https://marketplace.visualstudio.com/items?itemName=arktypeio.arkthemes), removed the Cursor-only limitation, and emphasized the special highlighting for TypeScript generics as the key differentiator.

@yamcodes yamcodes marked this pull request as ready for review September 12, 2025 10:02
@github-actions github-actions bot added docs Improvements or additions to documentation www Improvements or additions to arkenv.js.org labels Sep 12, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 12, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

…ption

Co-authored-by: yamcodes <2014360+yamcodes@users.noreply.github.com>
Copilot AI changed the title Restructure VS Code integration guide to highlight ArkThemes as enhanced syntax highlighting option Restructure VS Code integration guide with objective section titles and corrected ArkThemes information Sep 12, 2025
Copilot AI requested a review from yamcodes September 12, 2025 10:06
Comment on lines 4 to 7
description: Get syntax highlighting and enhanced developer experience with the ArkType VS Code extension
description: Get syntax highlighting and enhanced developer experience with the ArkType ecosystem extensions
---

## ArkType VS Code Extension
ArkEnv works great with modern code editors that support syntax highlighting for ArkType definitions. There are two levels of support you can choose from, depending on your needs and editor preferences.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of the description and this paragraph. We're only talking about VS Code here anyway @copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplified the description and removed the redundant introductory paragraph to focus specifically on VS Code as requested in commit fdd98ef.

The [ArkType VS Code extension](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkdark) provides syntax highlighting and inline error summaries for ArkType definitions, making your development experience with ArkEnv much more pleasant.
## ArkType VS Code Extension: Syntax Highlighting and Error Lens

For VS Code users, the [ArkType extension](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkdark) provides essential syntax highlighting and inline error summaries for your ArkEnv schemas.
Copy link
Owner

@yamcodes yamcodes Sep 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For VS Code users, the [ArkType extension](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkdark) provides essential syntax highlighting and inline error summaries for your ArkEnv schemas.
The [ArkType extension](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkdark) provides syntax highlighting and inline error summaries for ArkEnv.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied the suggested change to make the ArkType extension introduction more direct and concise in commit fdd98ef.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied the suggested change to simplify the ArkType extension description in commit dcec12c.

- **Syntax highlighting** for ArkType definitions in your schema
- **Inline error summaries** via ErrorLens integration
- **Better developer experience** with visual feedback
- **Better developer experience** for common mistakes
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Better developer experience** for common mistakes
- **Better DX**

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to "Better DX" as suggested in commit dcec12c.

## ArkThemes: Special Highlighting

You can also use named imports, though you won't get syntax highlighting:
For an even better development experience, [ArkThemes](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkthemes) provides special highlighting for TypeScript generics in ArkType definitions. This extension offers more comprehensive highlighting that makes ArkType schemas feel like native TypeScript code.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For an even better development experience, [ArkThemes](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkthemes) provides special highlighting for TypeScript generics in ArkType definitions. This extension offers more comprehensive highlighting that makes ArkType schemas feel like native TypeScript code.
For an even better development experience, [ArkThemes](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkthemes) provides special highlighting for TypeScript generics in ArkType definitions.

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the ArkThemes description to the suggested streamlined version in commit dcec12c.

…oduction

Co-authored-by: yamcodes <2014360+yamcodes@users.noreply.github.com>
Comment on lines 63 to 66
## Best Practices

- **Use default import** if you're using VS Code and want enhanced syntax highlighting
- **Use named import** if you prefer explicit imports or are using other editors
- **Use default import** (`import arkenv`) if you want syntax highlighting in VS Code or Cursor
- **Use named import** (`import { createEnv }`) if you prefer explicit imports or use other editors
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Best Practices
- **Use default import** if you're using VS Code and want enhanced syntax highlighting
- **Use named import** if you prefer explicit imports or are using other editors
- **Use default import** (`import arkenv`) if you want syntax highlighting in VS Code or Cursor
- **Use named import** (`import { createEnv }`) if you prefer explicit imports or use other editors
## Best Practices
- **Use default import** (`import arkenv`) if you want syntax highlighting in VS Code, Cursor, or JetBrains IDEs
- **Use named import** (`import { createEnv }`) if you prefer explicit imports or use other editors

@copilot

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the Best Practices section to include JetBrains IDEs and removed the consistency bullet point as suggested in commit dcec12c.

…se DX abbreviation, streamline ArkThemes description, and update Best Practices section

Co-authored-by: yamcodes <2014360+yamcodes@users.noreply.github.com>
@yamcodes
Copy link
Owner

Closed in favor of #154

@yamcodes yamcodes closed this Sep 12, 2025
@yamcodes yamcodes deleted the copilot/fix-152 branch September 23, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation www Improvements or additions to arkenv.js.org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ArkThemes to "Integrating with VS Code" guide

2 participants