Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

🔥 merge with rust-analyzer extension 🔥 #812

Open
@matklad

Description

@matklad

So, as of today rust-analyzer is available via rustup, which probably is a good place to start actively meting TypeScript code bases.

This is the meta issue to discuss this.

I don't have a particular plan in mind, but here are some thoughts:

Location:

The unified extension should live in this repository. Long term, I still moderately strongly believe that a monorepo makes more sense long term, but:

  • it's not that important, and many people think that a separate repo makes more sense
  • while we support both rls and rust-analyzer, it certainly makes more sense to use a separate repo.

Leadership:

Who would be primarily "in charge" of unification effort and subsequent maintenance of unified codebase? Are there any volunteers?

Implementation:

I see roughly two ways to implement the big picture:

  • "dispatch" between two extensions -- have rls_activate/deactivate and ra_activate/deactivate functions, and call one of them from the top-level entry point. This way, the code of extensions themselves is mostly unmodified, there's just a single top-level shim added
  • "proper" merge into unified code bases, where different parts potentially know about each other

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions