Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Language support via Sourcegraph extensions #584

Merged
merged 4 commits into from
Dec 7, 2018
Merged

Conversation

sqs
Copy link
Member

@sqs sqs commented Oct 30, 2018

See https://sourcegraph.slack.com/archives/CCLF4R6EM/p1540856089027900 for context.

This PR updates the CHANGELOG.md file to describe any user-facing changes. (TODO)

TODOs

  • Ensure that Go symbol URLs (/go/-/...) and godoc.org links still work
  • File a followup issue to remove the repo.indexed_revision and repo.freeze_indexed_revision columns later https://github.com/sourcegraph/sourcegraph/issues/644
  • Remove queryLSP from @sourcegraph/extensions-client-common
  • Selectively show implementations panel if an implementations provider is registered
  • Show external references separately?
  • Assess consequences of removing noGoGetDomains and the go get domains blacklist - add back to Go extension https://github.com/sourcegraph/sourcegraph/issues/1276
  • Find an alternative data source for badges (ref count)
  • Remove LSP compat code in isEmptyHover, renderHoverContents

@keegancsmith
Copy link
Member

Assess consequences of removing noGoGetDomains and the go get domains blacklist - add back to Go extension

cc @slimsag

@sqs sqs force-pushed the ext-codeintel branch 2 times, most recently from ebc2813 to fd1b2f1 Compare November 2, 2018 01:30
@sqs sqs force-pushed the ext-codeintel branch 4 times, most recently from 2775f62 to 89a6c0c Compare November 7, 2018 23:19
@sqs sqs added this to the 3.0-preview milestone Nov 10, 2018
@sqs sqs force-pushed the ext-codeintel branch 2 times, most recently from 80b144a to b1de5c9 Compare November 14, 2018 02:28
sqs referenced this pull request Nov 14, 2018
…thub.com/sourcegraph/sourcegraph/pkg/vfsutil

This prepares for the removal of xlang (sourcegraph/sourcegraph#584).
@sqs sqs force-pushed the ext-codeintel branch 2 times, most recently from 687724c to e6b6de8 Compare November 19, 2018 10:25
@sqs sqs force-pushed the ext-codeintel branch 3 times, most recently from b9f907a to dee12a8 Compare November 30, 2018 06:31
sqs added a commit that referenced this pull request Dec 4, 2018
- Adds UI support for showing external references from extensions. External references are now shown in the same panel as local references. If a reference is emitted that is from a different repo, another column will show up to let the user select the repo. The current repo is always at the top and initially selected.
- Adds a "Group by file"/"Ungroup by file" panel action that adds in another column to filter references by file. Extensions can add other things here, such as toggling on/off certain reference providers.
- Adds a new `sourcegraph.languages.registerLocationProvider` call that generalizes location providers and panels. This can be used to show locations that are neither definitions nor references (such as implementations, type definitions, etc.).

This is part of #1187 and a requirement for deploying #584 to Sourcegraph.com (the switchover to the new extension-based code intel).


![screenshot from 2018-12-04 01-27-41](https://user-images.githubusercontent.com/1976/49432114-cee90200-f763-11e8-91dc-29b10b2dffae.png)

![screenshot from 2018-12-04 01-28-51](https://user-images.githubusercontent.com/1976/49432189-f6d86580-f763-11e8-839a-ff4dacd55d33.png)
@sqs sqs force-pushed the ext-codeintel branch 3 times, most recently from 251b07c to 4481f58 Compare December 6, 2018 10:43
@sqs sqs requested a review from nicksnyder as a code owner December 6, 2018 10:43
@sqs sqs force-pushed the ext-codeintel branch 2 times, most recently from be138cb to 0868e34 Compare December 6, 2018 11:08
@sqs sqs changed the title WIP DONOTMERGE: Language support via Sourcegraph extensions Language support via Sourcegraph extensions Dec 7, 2018
sqs and others added 4 commits December 7, 2018 13:55
The `sourcegraph-langserver-http` repository's Sourcegraph extension was previously used as the extension for all language servers present in the site configuration `langservers` property. This commit makes it so that Sourcegraph no longer synthesizes extensions for these languages.
This commit makes it so language servers, cross-repository refs/defs/deps/packages search, and all other code intelligence features are provided by extensions only.

BREAKING CHANGE

NOCHANGELOG
@chrismwendt chrismwendt merged commit 0a13798 into master Dec 7, 2018
@chrismwendt chrismwendt deleted the ext-codeintel branch December 7, 2018 22:14
@sourcegraph sourcegraph deleted a comment from codecov-io Dec 13, 2018
BolajiOlajide pushed a commit that referenced this pull request Apr 16, 2024
The test `TestInferRepo` unnecesarily depends on the root being a git
repository. This change updates `TestInferRepo` to create a fresh git
repo in a temporary dir.

Why?

I want to add src-cli to the nixos package repository. During the build
stage, nixos downloads a tar of the repo. The tar, however, is not a git
repo and thus `TestInferRepo` fails.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Sourcegraph extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants