substrate-playground icon indicating copy to clipboard operation
substrate-playground copied to clipboard

Offer IDE alternatives

Open jeluard opened this issue 5 years ago • 5 comments

  • https://github.com/JetBrains/projector-docker

VSCode

  • https://github.com/microsoft/vscode/tree/master/resources/web
  • https://github.com/gitpod-io/vscode
  • https://github.com/microsoft/vscode-web-playground/
  • https://github.com/microsoft/vscode/compare/main...gitpod-io:gp-code
  • https://github.com/gitpod-io/gitpod/blob/main/components/ide/code/leeway.Dockerfile

jeluard avatar Dec 25 '20 20:12 jeluard

Can be implemented with https://github.com/gitpod-io/openvscode-server/

To be implemented:

  • [x] install extensions
  • [x] auto open folder
  • [ ] pre index rust analyzer
  • [x] menu items https://github.com/gitpod-io/openvscode-server/blob/gp-code/extensions/gitpod/src/extension.ts
  • [x] postCreateCommand

Some potential extension:

  • https://code.visualstudio.com/docs/editor/workspaces
  • https://github.com/EthanSK/restore-terminals-vscode
  • https://code.visualstudio.com/docs/editor/settings-sync
  • https://github.com/codespaces
  • https://github.com/microsoft/vscode-extension-samples
  • https://github.com/gitpod-io/openvscode-server/tree/cc4a234f216a9072aa8396674cff5995545ef3ed/extensions/gitpod-web
  • https://marketplace.visualstudio.com/items?itemName=lostintangent.wikilens
  • https://marketplace.visualstudio.com/items?itemName=github.remotehub
  • https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github
  • https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-github-issue-notebooks
  • https://code.visualstudio.com/api/extension-guides/web-extensions

jeluard avatar Oct 01 '21 09:10 jeluard

Hi, is this still being considered? I've been using gitpod for a while now and I'd love to try porting a similar experience over to the substrate playground. Not sure how they do it, but I think rust-analyzer can be preindexed by using a similar gitpod.yml config file with it as a part of the list of extensions

islami00 avatar Feb 21 '22 11:02 islami00

It is, yes, based on the vscode codebase.

Do you have anything specific in mind?

jeluard avatar Feb 21 '22 12:02 jeluard

Nothing specific really, I just had some thoughts around the index rust analyzer item that was unchecked.

Is this to ensure that the extension is always installed for users?

On Mon, Feb 21, 2022, 13:59 Julien @.***> wrote:

It is, yes, based on the vscode codebase.

Do you have anything specific in mind?

— Reply to this email directly, view it on GitHub https://github.com/paritytech/substrate-playground/issues/647#issuecomment-1046851849, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJMCFF2O7GLL7NTRRGBDVTU4IZMXANCNFSM4VJK3I3Q . You are receiving this because you commented.Message ID: @.***>

islami00 avatar Feb 21 '22 15:02 islami00

rust-analyzer isn't currently supported by the IDE we are using (theia). The plan is to move to the real vscode that now can run in a browser to support it.

jeluard avatar Feb 21 '22 16:02 jeluard