Skip to content
Snippets Groups Projects

Code nav: do not tokenize code views on Bitbucket

Merged Administrator requested to merge conditionally-tokenize into master

Created by: chrismwendt

Motivation: some code hosts have already tokenized the code view (e.g. Bitbucket). The tokenization currently prevents text selection from working on Bitbucket https://github.com/sourcegraph/sourcegraph/issues/4051

Implementation: this adds a boolean codeViewsRequireTokenization to the CodeHost interface, and passes it to codeintellify.

Depends on https://github.com/sourcegraph/codeintellify/pull/115

2019-06-03 15 54 38

Test plan:

  • Run Bitbucket locally
  • Open a file
  • Make sure text selections work

Fixes https://github.com/sourcegraph/sourcegraph/issues/4051

Slack conversation https://sourcegraph.slack.com/archives/CHXHX7XAS/p1559599129008000

Merge request reports

Merged by avatar (Jun 19, 2025 6:26pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading