Skip to content

[fs][plugin] fix #6661: map editor icon paths to external URIs#6664

Merged
svenefftinge merged 1 commit intomasterfrom
ak/plugin_remote_editor_decorations
Dec 1, 2019
Merged

[fs][plugin] fix #6661: map editor icon paths to external URIs#6664
svenefftinge merged 1 commit intomasterfrom
ak/plugin_remote_editor_decorations

Conversation

@akosyakov
Copy link
Member

@akosyakov akosyakov commented Nov 29, 2019

What it does

fix #6661: VS Code extensions are using absolute paths to load editor icons. It does not work in remote environments. Instead we rewrite files URIs to external URIs to make it work.

How to test

Review checklist

Reminder for reviewers

VS Code extensions are using absolute paths to load editor icons. It does not work in remote environments. Instead we rewrite  files URIs to external URIs to make it work.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@akosyakov akosyakov added the vscode issues related to VSCode compatibility label Nov 29, 2019
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified the functionality (using the bookmarks plugin).

I first tested on master and I noticed that despite bookmarks actually being created, the icon was not displayed.

With your PR I noticed:

  • the bookmark icons were correctly displayed locally 👍
  • the bookmark icons were correctly displayed remotely (using Gitpod) 👍

@svenefftinge svenefftinge merged commit 27cbef9 into master Dec 1, 2019
@akosyakov akosyakov deleted the ak/plugin_remote_editor_decorations branch January 3, 2020 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

vscode issues related to VSCode compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[vscode] icons for editor decorators cannot be fetched

3 participants