Skip to content

JetBrains: Move project into monorepo

Administrator requested to merge ps/jetbrains-monorepo into main

Created by: philipp-spiess

This PR is moving the sourcegraph-jetbrains repository into our monorepo. I roughly followed this guide to preserve the history.

Why?

As part of our effort to improve the features of our JetBrains extension, we've made the decision to use web views inside the extension for some part of the UI. These views need to be able to access the shared UI components that we use on Sourcegraph web. A move to the monorepo would simplify the setup a log.

Additionally, this adds consistency with our vscode extension that already resides in the monorepo as well allowing us to reuse more code and configuration between the two projects.

Next steps

Since this is just moving the files first, we'll need to wire up the GitHub actions anew and change some parts of the build script (e.g. to rename the tags it creates so that they're prefixed with something like jetbrains-). All of this will happen in different follow-up PRs.

We'll also need to add a notice on the existing repo on where to find the project files and figure out how/where we want users to report bugs (We're doing the same thing for our VSCode extension at the moment)

Test plan

Using my existing JetBrains setup I opened the project from sourcegraph/client/jetbrains and verified that it builds and still provides the context menu option:

image

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading