* Add a token store for tree sitter
* Handle root node change
* Split tokens, changes between syntax nodes, proper new end position when multiple edits
* Holes between nodes
* Add guess token store
* Fix deleting tokens
* Switch over to range based and capture offsets early
* 🧹
* 🗑️
* Only block for 5 ms, comments in monaco.d.ts
* Faster and more scoped changed range finding
* Revert "Faster and more scoped changed range finding"
This reverts commit 84b3f4a612.
* Faster and more scoped changed range finding
* Use already computed end position
* Only expose fully parsed trees from tree sitter and do capture immediately.
* Improve race by only firing tree change event when the tree parse is on the same version as the model
* Fix race
* Fix disposable leak in test
* Fix parsing loop bug
* Fix race condition in the token store layer
* Don't block when collecting tokens
* Fix tests
* Fix some tests
* Add Performance to CORE_TYPES
* Add missing js file
* Introduces IObservableWithChange so that typescript does not show the default type for TChange in hovers.
This should make it easier to understand types when observables (potentially nested) are involved.
* Fixes monaco editor
* Check for cyclic dependencies during compile
Changes gulp-tsb to check the emitted JS code for cyclic dependencies. Historically we never cared about cycles between TS files as long as they dissappeared after compile (e.g type-dependencies, not runtime dependencies)
https://github.com/microsoft/vscode-internalbacklog/issues/5271
* fix cycling dependencies
fyi @aeschli @aiday-mar
* remove cyclic dependency with unused `BasedTextEdit` fyi @hediet
* remove cycle between chatEditService and chatEditingSession
fyi @alexdima
* remove cyclic dependency between chatSetup and chatViewPane
fyi @roblourens
* better cycle detection
* don't check cycles when not needed
* clear graph when reprocessing file dependencies
* remove cycle between with `notebookChatEditController` fyi @DonJayamanne
* modernize and cleanup tsb/utils
* #84756 Support object type policy
* add new policy object for array and object
* add new policy object type
* checkin policies.js file
* review
* fix warning
---------
Co-authored-by: João Moreno <joao.moreno@microsoft.com>