This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Validate CodeMirror as alternative blob view implementation #39408
Labels
codemirror
PRs and issues related to migrating to CodeMirror
team/code-navigation
team/graph
Graph Team (previously Code Intel/Language Tools/Language Platform)
Milestone
This issues keeps track of the work that needs to be done for a baseline implementation of the blob view with CodeMirror.
The feature flag is
enableCodeMirrorFileView
.Syntax highlight server emit SCIP from syntect #39264#2
https://github.com/sourcegraph/sourcegraph/pull/39850Known issues to be fixed/discussed:
If replacing<Router />
with<MemoryRouter />
would fix the navigation issue (which I don't know), then we could introduce a special flag/config option to instruct the React wrapper to useMemoryRouter
instead ofRouter
. It's not pretty but doable. But if simply using<MemoryRouter />
would not solve the issue then I don't think there is anything we can do about that (except refactoring the ref panel and hover cards to work differently).So whether or not to fix/change this is up for debate.
The text was updated successfully, but these errors were encountered: