Skip to content

bug: auto-complete highlight doesn't match #420

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

Closed
tusharmath opened this issue Mar 1, 2025 · 8 comments
Closed

bug: auto-complete highlight doesn't match #420

tusharmath opened this issue Mar 1, 2025 · 8 comments

Comments

@tusharmath
Copy link
Collaborator

Currently the auto-complete highlight doesn't match the suggestion:

Image

Steps to Reproduce:

  • Type @apply. and press TAB.
  • The auto-complete suggested is - crates/forge_app/src/tools/patch/apply.rs where crates is highlighted.

Expected

  • Only the matching text should be highlighted.
@tusharmath
Copy link
Collaborator Author

/bounty $50

Copy link

algora-pbc bot commented Mar 1, 2025

💎 $50 bounty • Tailcall Inc.

Steps to solve:

  1. Start working: Comment /attempt #420 with your implementation plan
  2. Submit work: Create a pull request including /claim #420 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

❗ Important guidelines:

  • To claim a bounty, you need to provide a short demo video of your changes in your pull request
  • If anything is unclear, ask for clarification before starting as this will help avoid potential rework
  • Low quality AI PRs will not receive review and will be closed
  • Do not ask to be assigned unless you've contributed before

Thank you for contributing to antinomyhq/forge!

Attempt Started (UTC) Solution Actions
🔴 @neo773 Mar 01, 2025, 01:24:39 PM WIP
🟢 @divanshu-go Apr 10, 2025, 03:18:48 AM #650 Reward
🟢 @SumitKumar-17 Apr 30, 2025, 11:36:14 AM WIP

@neo773
Copy link

neo773 commented Mar 1, 2025

/attempt #420

Algora profile Completed bounties Tech Active attempts Options
@neo773    71 tailcallhq bounties
+ 123 bounties from 32 projects
TypeScript, MDX,
Rust & more
Cancel attempt

Copy link

algora-pbc bot commented Mar 2, 2025

@neo773: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏

Copy link

algora-pbc bot commented Mar 3, 2025

The bounty is up for grabs! Everyone is welcome to /attempt #420 🙌

@webbdays
Copy link

Hi after a long time, 😅

we cannot using that lib.

its create_string method is impl this way

let (match_str, remaining_str) = suggestion
                .value
                .split_at((match_len + skip_len).min(suggestion.value.len()));

which is wrong.
it assums match string at start.

Thanks.

@divanshu-go
Copy link

/attempt #420

would like to do it !

@SumitKumar-17
Copy link

/attempt #420

SumitKumar-17 added a commit to SumitKumar-17/forge that referenced this issue Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants