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

Fix the handling of multibyte characters #2051

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on May 15, 2024

  1. Fix the handling of multibyte characters

    When a Ruby file contains multibyte characters (like Japanese, Chinese,
    emoji, etc), the go to definition and hover features do not work
    correctly. Because the document referencing logic does not properly
    handle multibyte characters when calculating offsets.
    
    This commit fixes the issue by:
    * Modifying document referencing to properly handle multibyte characters
    when mapping between positions and offsets
    * Adding test cases to verify go to definition work with multibyte
    characters
    NotFounds committed May 15, 2024
    Configuration menu
    Copy the full SHA
    895dff7 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    052d674 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    f8381e0 View commit details
    Browse the repository at this point in the history