Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-95506

jsconfig.json should include files rather than exclude files.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-10-14, Cluster Scalability 2024-10-28
    • 1

      Currently jsconfig.json relies on excluding files it doesn't want the vscode tsserver to care about. This makes it include a lot more js files than it can handle causing intellisense to not really work.

      Really the things we want to include are:

      jstests/*/.js,

      src/mongo/shell/*.js,

      src/third_party/fast_check/*/. (credit max.hirschhorn@mongodb.com )

      We can keep adding to this list on a case-by-case basis as more things turn up but moving towards using the include property will let us use intellisense in vscode again which would be great.

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: