Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-33487

VScode cannot autocomplete imports in the console repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.16.0
    • Management Console
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          VSCode does not properly autocomplete imports accross packages. These imports should use the npm package name instead of a relative path.

      Version-Release number of selected component (if applicable):

          4.16.0

      How reproducible:

          Always

      Steps to Reproduce:

          1. Open the console repo in vscode
          2. Open any ts file in the public folder
          3. Start using a module from another package that has not already been imported in this file.
          4. Press ctrl + space to get VSCodes suggested imports
          

      Actual results:

          The suggested imports use relative paths to other packages

      Expected results:

          The suggested imports should use the npm package name and correct path to the module within that package.

      Additional info:

          

            rh-ee-jonjacks Jon Jackson
            rh-ee-jonjacks Jon Jackson
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: