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
sometimes quick fixes don't show up when they should #172068
sometimes quick fixes don't show up when they should #172068
Comments
here are the lines when there's not a quick fix result - it contains vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickFixBuiltinActions.ts Line 19 in 1746152
|
I think we just need to include the |
or better yet, remove |
ok I see the issue. when lines are wrapped a lot, we need to search more lines - setting the length to 10/15 fixes it even when the terminal is quite narrow |
I see it on non-wrapped lines, I'm not sure I understand what you mean with the To? |
The to comment above was actually wrong. What's happened in the screen shot above is we abort the search early - after looking at only 5 lines. When it's actually on line 9 |
this goes wrong when we break before reaching the content IE when line count > length |
have seen the create PR not show up 3 times today. resizing doesn't cause it to show up, which means our match range is wrong/ there isn't a match |
The issues being fixed here is: - The empty line in offset was not expected, the example was updated and 4 is now used. - The length 6 was actually resulting in a wrapped line array of length 5, this was a bug we didn't catch when tweaking the wrapped line logic. - A length of 6 should be sufficient, but it's upped to 12 just in case. Fixes #172068
The issues being fixed here is: - The empty line in offset was not expected, the example was updated and 4 is now used. - The length 6 was actually resulting in a wrapped line array of length 5, this was a bug we didn't catch when tweaking the wrapped line logic. - A length of 6 should be sufficient, but it's upped to 12 just in case. Fixes #172068 Co-authored-by: Megan Rogge <merogge@microsoft.com>
insider's is based on the release branch, so I was confused |
Issue marked as unreleased but unable to locate closing commit in issue timeline. You can manually reference a commit by commenting |
going to keep track of examples here to see if there's a pattern
The text was updated successfully, but these errors were encountered: