-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Tree-sitter rolling fixes: 1.115 edition #941
Tree-sitter rolling fixes: 1.115 edition #941
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0df4e75 - Browse repository at this point
Copy the full SHA 0df4e75View commit details
Commits on Feb 18, 2024
-
[language-typescript] Highlighting fixes…
* Add scopes for unary arithmetic operators (`+`, `-`) * Ensure that function parameters set `capture.final`
Configuration menu - View commit details
-
Copy full SHA for 0cea266 - Browse repository at this point
Copy the full SHA 0cea266View commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2827e6a - Browse repository at this point
Copy the full SHA 2827e6aView commit details
Commits on Mar 2, 2024
-
Be more aggressive in determining suggested indent positions…
…at ends of transactions — instead of falling back to a transaction-wide auto-indent quite so easily.
Configuration menu - View commit details
-
Copy full SHA for afe6e1e - Browse repository at this point
Copy the full SHA afe6e1eView commit details
Commits on Mar 3, 2024
-
Prefer synchronous indentation by default in modern Tree-sitter…
…but only while we can afford to spend time on re-parsing. Synchronous indentation hinting is clearly the best choice, but it can theoretically be very costly. So we'll set a time budget per transaction — currently 10ms, but could be adjusted up or down. We'll start out doing synchronous indentation, but flip to async indentation if we run out of time in a given transaction. At the end of a transaction, the time budget resets. This allows us to balance indentation accuracy with editor responsiveness, and would even allow us to expose this tradeoff as a setting in the future. The current threshold, 10ms, would probably result in one dropped frame if exceeded, but not two. Right now, any one parse can exceed the budget — because we don't set a timeout on the parse the way we do with an async parse. But this could be changed in the future. The main goal here is to prevent a catastrophic scenario where a complex transaction locks up the editor.
Configuration menu - View commit details
-
Copy full SHA for 8b0f62b - Browse repository at this point
Copy the full SHA 8b0f62bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89d410b - Browse repository at this point
Copy the full SHA 89d410bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab6f081 - Browse repository at this point
Copy the full SHA ab6f081View commit details -
Fix issue where we fail to consider legacy Tree-sitter grammars…
…if the user has opted into them via _only_ a scope-specific setting.
Configuration menu - View commit details
-
Copy full SHA for fd37c4d - Browse repository at this point
Copy the full SHA fd37c4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c54813 - Browse repository at this point
Copy the full SHA 6c54813View commit details -
[grammar-selector] Overhaul grammar display:
* When set to `true`, `hideDuplicateTextMateGrammars` will hide all grammars except whichever one the user has indicated a preference for — via `useTreeSitterParsers` and `useLegacyTreeSitter` settings, whether global or scope-specific. * When set to `false`, `hideDuplicateTextMateGrammars` will show all grammars, even Legacy Tree-sitter.
Configuration menu - View commit details
-
Copy full SHA for b9258b5 - Browse repository at this point
Copy the full SHA b9258b5View commit details -
…to reflect new behavior of `GrammarRegistry#getGrammars`.
Configuration menu - View commit details
-
Copy full SHA for df6349a - Browse repository at this point
Copy the full SHA df6349aView commit details -
[grammar-selector] Simplify fallback options…
…when the user's preferred type of grammar isn't available for a particular language.
Configuration menu - View commit details
-
Copy full SHA for e8d4e0b - Browse repository at this point
Copy the full SHA e8d4e0bView commit details
Commits on Mar 4, 2024
-
[grammar-selector] Show a badge for all kinds of grammars…
…when `hideDuplicateTextMateGrammars` is `false`.
Configuration menu - View commit details
-
Copy full SHA for 579cc26 - Browse repository at this point
Copy the full SHA 579cc26View commit details
Commits on Mar 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 83a0e12 - Browse repository at this point
Copy the full SHA 83a0e12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ca84a - Browse repository at this point
Copy the full SHA 95ca84aView commit details
Commits on Mar 9, 2024
-
[language-c] Fix issue where the wrong node gets injected into…
…in a macro definition.
Configuration menu - View commit details
-
Copy full SHA for 78deb79 - Browse repository at this point
Copy the full SHA 78deb79View commit details -
Configuration menu - View commit details
-
Copy full SHA for e030105 - Browse repository at this point
Copy the full SHA e030105View commit details
Commits on Mar 10, 2024
-
[symbols-view] Ensure query field contents are initially selected…
…when `prefillSelectedText` is `true` and the editor has selected text when a `SelectListView` is opened.
Configuration menu - View commit details
-
Copy full SHA for 86cb072 - Browse repository at this point
Copy the full SHA 86cb072View commit details -
Configuration menu - View commit details
-
Copy full SHA for 175174e - Browse repository at this point
Copy the full SHA 175174eView commit details
Commits on Mar 18, 2024
-
[language-c] C/C++ highlighting fixes…
* GOTO labels * Members like `foo.bar` * Marking of constants in C++
Configuration menu - View commit details
-
Copy full SHA for a294c88 - Browse repository at this point
Copy the full SHA a294c88View commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6fe8e53 - Browse repository at this point
Copy the full SHA 6fe8e53View commit details