Commit Graph

1686 Commits

Author SHA1 Message Date
Vitaly 432aac18f1 [typescript] Better paths matching for move to existing file quickpick (#181231)
* Better paths matching for move to existing file quickpick

* fix resolving selected item

* fix: select file dialog point to existing file

* skip computing if
use coalesce

* Improve typings

---------

Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-08-09 21:29:30 +01:00
Matt Bierner 4f66a0c2c1 Updating bundled and build TS versions (#189868) 2023-08-07 17:04:12 -07:00
Robo ea490e5545 chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
Matt Bierner 3cc82327b5 Bump TS versions (#189344)
Bumps TS version for building VS Code
Bumps bundled TS version
2023-07-31 20:13:11 +01:00
Alexandru Dima f94dcb9ae0 Turn off aiQuickFix by default for stable (#189069) 2023-07-27 17:16:25 +01:00
Matt Bierner e2720e7bf4 Make getWorkspaceRootForResource work for notebook cells (#188186)
Fixes #186811
2023-07-19 05:29:22 +10:00
Matt Bierner 40abe0e1d5 Explicitly add link in JSDoc (#188182)
Fixes #188159
2023-07-18 11:15:14 -07:00
Andrew Branch 6c94c8e088 [typescript-language-features] Update autoImportFileExcludePatterns description (#186528)
Update autoImportFileExcludePatterns description
2023-07-14 18:36:38 +00:00
Matt Bierner c0d560ed49 Don't parse @link inside @example JSDoc tags (#187877)
Fixes #187768
2023-07-13 16:02:57 -07:00
Matt Bierner a4fde6f2eb Add more specific error for TS web server (#187752)
This should help us better understand why the access failed
2023-07-12 14:09:01 -07:00
Raymond Zhao 5be539a588 Bump semver (#187654) 2023-07-12 01:49:45 +02:00
Matt Bierner 00105d2ddb Exclude azurerepos: files from JS/TS intellisense (#187521)
Fixes #186385
2023-07-11 08:45:12 -07:00
dependabot[bot] 8c8e8600b6 Bump semver from 5.5.1 to 7.5.2 in /extensions/typescript-language-features (#185968)
Bump semver in /extensions/typescript-language-features

Bumps [semver](https://github.com/npm/node-semver) from 5.5.1 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.5.1...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 10:05:01 +02:00
Matt Bierner 688bc028e3 Extends tsconfig link logic to references paths (#186227)
Fixes #182898
2023-06-26 14:55:10 -07:00
Johannes Rieken 50ad64e844 enable inline chat quick fix for TypeScript implements interface by default (#186167) 2023-06-26 17:34:39 +02:00
Matt Bierner 5ee455116f Add codeql comments and small fix (#185931) 2023-06-23 02:40:39 +02:00
Matt Bierner 3a02b99fe8 Try to request workspace content caching on commit (#185920)
For #175972

Here's what believe is happening:

- Workspace opens. We download the archive for the current commit
- User makes a commit
- The commit has now changed, which invalidates the archive. However TS doesn't know this (all the uris seem to stay the same). This means that we silently start going to the network again on file system operations

To fix this, we're going to try re-requesting the archive when a file system change event is fired for the workspace root. This should happen when a commit is made
2023-06-22 15:33:06 -07:00
Matt Bierner 538da53226 Dispose of file watchers when web TS server exits (#185815)
Dispose of file watchers when TS server exits
2023-06-21 17:14:21 -07:00
Matt Bierner e30b2359c5 Add logging for TS extension file watcher creation (#185813)
Add logging for extension file watcher creation
2023-06-21 15:36:39 -07:00
Matt Bierner 1eabca5501 Support downloading repo contents for all github authorities (#185707)
For #175972

Previously this was broken for `github%2b...` style authorities
2023-06-20 15:19:11 -07:00
Matt Bierner 7f8893b149 Add more logging for when loadWorkspaceContents isn't used (#185624) 2023-06-19 17:42:38 -07:00
Matt Bierner ab8ed4b717 Fallback to use insert text when label is falsy (#184944)
For #184812
2023-06-12 21:11:42 +02:00
Matt Bierner 977ee8ca1e Add logging of readDirectory (#184549) 2023-06-07 15:22:16 -07:00
Matt Bierner 42498ee647 Mention tsconfig / jsconfig in 'Go to project configuration' (#184441)
This makes the commands more discoverable
2023-06-06 13:41:54 -07:00
Matt Bierner af4c133f63 Pick up TS 5.1.3 (#184091)
Fixes #182931
2023-06-01 21:07:19 +02:00
Matt Bierner 14977db0ec Disable move to file in TS versions < 5.2 (#183992)
There are still a few key bugs with refactoring. We will  ship this as a preview for TS 5.2+ instead of for 5.1
2023-05-31 22:18:24 +02:00
Matt Bierner 2add9d4c10 Set isRefactoring for all TS refactoring edits (#183982) 2023-05-31 19:14:35 +02:00
Matt Bierner f4175f4a13 Default to current dir for move to file select (#183875)
Fixes #183870

`showOpenDialog` seems to ignore `defaultUri` if the file doesn't exist
2023-05-31 09:58:03 +10:00
Matt Bierner d1ae1fff18 Make JS/TS go to configuration commands work on non-file: file systems (#183688)
Make `go to project` commands work on non-`file:` file systems

Fixes #183685
2023-05-30 16:07:14 -07:00
Matt Bierner 8a71f8515d Noop when moving a symbol into the file it is already in (#183866)
Fixes #183793
2023-05-30 13:40:45 -07:00
Matt Bierner ea7d830fb4 Fix some errors for project wide JS/TS IntelliSense (#183482)
- Don't compute `semanticSupportedSchemes` early, as this may be incorrect if the script is loaded before there are workspace folders

- Handle exceptions when watching files by logging them but not crashing the server
2023-05-25 18:43:46 -07:00
Matt Bierner 710d6ea32c Fix new path suggestion for move to file (#183474)
Turns our `newFileName` is actually a path :)
2023-05-26 00:29:58 +02:00
Aiday Marlen Kyzy 81f98eb8fe adding text to better explain the dependence on the AI extension 2023-05-25 15:20:55 +02:00
Aiday Marlen Kyzy 0cce0c2f51 adding typescript in front 2023-05-25 14:48:50 +02:00
Aiday Marlen Kyzy 454a8e61ff polishing the code 2023-05-25 14:46:57 +02:00
Matt Bierner 0908552502 Pick up latest TS for building VS Code (#183358) 2023-05-24 23:19:24 +02:00
Aiday Marlen Kyzy 203c911ca0 adding a setting in order to control whether the ai assisted setting is enabled or not 2023-05-24 16:18:04 +02:00
Johannes 2b8529fa61 make API command for interactiveEditor.start so that initial range can be set properly 2023-05-24 15:21:18 +02:00
Johannes ce7986f35e extract logic into EditorChatFollowUp class 2023-05-24 15:02:56 +02:00
Aiday Marlen Kyzy 49043016b5 cleaning the code 2023-05-24 10:51:07 +02:00
Aiday Marlen Kyzy b07e68e5fb cleaning the code 2023-05-23 18:35:36 +02:00
Aiday Marlen Kyzy 1a50d63321 added the arrow function into the private function 2023-05-23 18:18:44 +02:00
Aiday Marlen Kyzy b278ac8a54 resetting the privacy modifiers 2023-05-23 17:29:40 +02:00
Aiday Marlen Kyzy b2361a5c83 removing some console logs 2023-05-23 17:28:46 +02:00
Aiday Marlen Kyzy e5a37e8d5f setting the right end line number 2023-05-23 17:26:33 +02:00
Aiday Marlen Kyzy c7b6e732e7 initial code 2023-05-23 16:17:41 +02:00
Aiday Marlen Kyzy 90a6ac4a63 adding a console log 2023-05-23 15:25:53 +02:00
Bhavya U b0cf9f8e24 Remove temp walkthroughs (#182996) 2023-05-19 15:28:27 -07:00
Matt Bierner 65123b465a Allow clickable links to absolute tsconfig extends paths (#182921)
Fixes #182898
2023-05-19 01:05:34 +02:00
Matt Bierner 728197deb8 Remove some completions logic specific to old TS versions (#182894)
Removes workarounds added for TS versions that are many years old at this point
2023-05-18 11:10:31 -07:00