Commit Graph

6 Commits

Author SHA1 Message Date
Heejae Chang
446a9bdb63
dependency updates, bug fix on file open/close, update on getPythonVersion (#2556)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> 
Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
2021-11-10 12:41:56 -08:00
Jake Bailey
eca6f1a5c9
Sync from Pylance (#2309)
Rollup of:

- Update dependencies; TS 4.4, Prettier 2.4
- Explicitly handle unrooted execution environments (e.g., open file mode), preventing various crashes and oddities.
- Generate default values in method overload signatures. Previously, we didn't include them, which generated the wrong signature.
- Disable webpack caching (which recently broke upstream).
- Use attribute docstrings for type aliases in completion and hover.
- Clean up import resolver search path cache, which was leftover from the per-execution environment python interpreter removal.
- Modify parser to change the range of parenthesized expressions to their contents. This improves the ranges returned in hovers, document highlight, etc.
- Add boolean to ConfigOptions to check if the config was loaded from a config object (i.e., was produced in part by a `pyrightconfig.json` or `pyproject.toml` with a pyright section).

Co-authored-by: Bill Schnurr <bschnurr@microsoft.com>
2021-09-16 13:25:38 -07:00
Jake Bailey
5718a7139a
Update dependencies, eliminate broken webpack plugin, begin browser refactorings (#2095) 2021-07-16 10:02:11 -07:00
Jake Bailey
e52d1e96e5
Typecheck JS, webpack caching, zip/egg support (#1937) 2021-06-02 12:18:10 -07:00
Jake Bailey
68e65420d2
Fix infinite source mapping recursion, add TS source maps in production (#1258) 2020-12-09 12:37:21 -08:00
Jake Bailey
0fc1b5cf50
Update deps, fix call sig args, add plaintext doc support (#1096) 2020-10-12 16:10:25 -07:00