* Fix#209158. Add Copy Output and Open Output in Text Editor to Scrollable text output context menu.
* Context menu should be triggered on container
* fix naming
* add integration tests for LanguageModelChat#sendRequest
* make sure errors are recreated when making LM requests
* disable test with a note for later
* fix remote integration tests
* WIP
* invalidate diagnostics in range
* check whether should use region based diagnostics
* add ts-expect-errors
* make region opt off by default
* bump to expected 5.6
* update comments to refer to 5.6
* make region diagnostics on by default for insiders
* Hacked up the starting point
* More progress
* More progress
* Simplified algo, basic support for colors
* Add the concept of secondary colors for merge commits
* Further optimizations of the algo
* Bug fixes to clean-up algo
* Add support for curved branches
* Keep track of nodes that are moved so that the second parent for the merge commit is rendered in the correct swimlane
* Account for offset when drawing a base commit
* Algo rework completed
* Revert some of the hacks that were put in place to quickly get going
* Add caching to the history items used in the graph
Remove more hacks that were in place
* Added initial tests
* More work so that incoming/outgoing works along history
* Uncomment more code
* Bug fixes to edge cases
* Experiment with a new rendering for curved branches
* Handle repository with a single commit
* Maintain swimlanes
* Fix condition
* Saving my changes
* More polish and clean-up
* Remove code that is not needed
* Revert change
* Revert more changes
* More fixes
* Rename interface
* One last minor change
* Pull request feedback
* More refactoring
* More pull request feedback
* Fix layering issues
* registered editor with notebook model
* migrated some stuff from Interactive Editor
* display notebook and input box
* dont always filter kernels by view
* fix restore
* implement some commands
* working copy recovery/discarding
* fix tear down
* do not show last cell
* simplify notebookOptions creation
* reset text model on execute
* fix run button
* set tab name
* use differentiated notebooktype to determine kernel
* allow registering notebooks as other priorities
* conditionally register actions
* move registerAction back to top level
* fix input box message
* naming
* dont register extra repl commands for now
* use jupyter-notebook notebook type
* set scratchpad on backup recovery
* remove unused method
* Allow to configure a list of encodings to use when guessing #36951
* Bump up the jschardet version into 3.1.2 #36951
* missing merge
* some polish
* renames
* some polish
* some polish
* cleanup
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
* Replace removeChild with remove
This replaces most uses of `parent.removeChild(child)` with
`child.remove()`.
The two are almost equivalent. The only difference is that
`parent.removeChild(child)` throws if the given node is not a child of
the parent, whereas `child.remove()` never throws. There is no noticable
performance difference. The only reason to use `removeChild` is to
support Internet Explorer, but that’s no longer supported by Monaco
editor.
* Fix broken CSP hash
The script content changed, so the sha256 hash changed too.
* Update src/vs/editor/browser/config/charWidthReader.ts
Co-authored-by: Logan Ramos <lramos15@gmail.com>
---------
Co-authored-by: Logan Ramos <lramos15@gmail.com>
* wip
* polishing the code
* adding code
* adding the language
* reshuffling the code to avoid cyclic dependency
* polihsing code
* uncommenting tests
* also adopting the indentation rules within the reindentation operation
* using instead the sliced line tokens instead of the scoped line tokens
* polishing the code
* using start indices instead
* using value everywhere
* using the token data to type the tokens
* setting to number instead of standard token type
* using token data from autoindenttest.ts
* using same code in both test files
* placing instantiation service into the registerLanguage method
* copying object into the node js autoindent.ts