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
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • No
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • 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-jaclee Jackson Lee
              rh-ee-jonjacks Jon Jackson
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: