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 basic prettier support for doc tag #652

Closed
wants to merge 10 commits into from

Commits on Dec 11, 2024

  1. --wip-- [skip ci]

    Add doc param tag
    jamesmengo committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    f5c7fa2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ac5abf View commit details
    Browse the repository at this point in the history
  3. Enhance Liquid HTML Parser: Introduce paramNode and update CST tests

    - Added `paramNode` to the grammar for LiquidDoc, allowing for parameter definitions in doc tags.
    - Updated the parsing logic to recognize and handle `@param` syntax correctly.
    - Modified CST tests to validate the new structure, ensuring proper identification of `LiquidDocParamNode` and associated text nodes.
    - Refactored existing tests to align with the new parsing rules and improve accuracy.
    jamesmengo committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    e38d40f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8672f2 View commit details
    Browse the repository at this point in the history
  5. Add liquidDocParam handling to stage2 AST

    - Updated the `toLiquidDocAST` function to include handling for `@param` syntax and fallback text node
    jamesmengo committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    f7fa51d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f6f2bb5 View commit details
    Browse the repository at this point in the history
  7. Enhance LiquidCompletionParams: Add handling for LiquidDocParamNode i…

    …n LiquidCompletionParams
    jamesmengo committed Dec 11, 2024
    Configuration menu
    Copy the full SHA
    81e0868 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    219095f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    68227c4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0f17fef View commit details
    Browse the repository at this point in the history