Skip to content

fix: Code suggestion gutter icons in Web IDE

Enrique Alcántara requested to merge ea-fix-gutter-icons-in-web-ide into main

Description

This MR contains two bug fixes

  • It fixes the Code Suggestions gutter status icon (introduced in !1222 (merged)) in the Web IDE. The gutter icon doesn't load in the Web IDE because context.asAbsolutePath doesn't work in Web Extensions.

  • It also makes sure that the gutter icon doesn't persist across tabs

    fix_gutter_between_files.mov

Related Issues

#1137 (closed)

How has this been tested?

See the demo video for instructions on how to test the gutter icon bug of persisting across tabs.

To test in the Web IDE:

  1. Load this branch in the Web IDE's git submodule of the VSCode Workflow extension.
  2. Load the Web IDE using yarn start:example
  3. When typing in the Web IDE, the gutter icon for code suggestions should appear (in supported languages).

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Enrique Alcántara

Merge request reports