Commit Graph

13342 Commits

Author SHA1 Message Date
Martin Aeschlimann c88c85c84b [json/html] Update @vscode/extension-telemetry (#171990) 2023-01-23 15:41:33 +01:00
Ladislau Szomoru 6ee8313061 Git - update command label so that it is consistent with the other commands (#171987)
💄 Git - update command label so that it is consistent with the other commands
2023-01-23 15:24:08 +01:00
Johannes Rieken b9bb22d1ba allow single letter words in latex (#171981)
fixes https://github.com/microsoft/vscode/issues/170588
2023-01-23 14:25:37 +01:00
Ladislau Szomoru cab92a3b9b Git-Base - Add syntax highlighting to the rebase-merge/done file (#171840) 2023-01-20 17:32:40 +01:00
Ladislau Szomoru 9b63d86d77 Git - Add back logging message that was removed during refactoring (#171831) 2023-01-20 15:35:55 +01:00
Ladislau Szomoru 9c3e0aedb1 Git - do not show progress for the LogFile operation (#171828) 2023-01-20 15:03:07 +01:00
Ladislau Szomoru 78f9b06101 Git - handling git repositories in parent folders (#171726) 2023-01-20 09:10:53 +01:00
Sandeep Somavarapu 5b02e68e42 fix profile import/export in web (#171753)
- move it to configuration-editing extension
2023-01-19 15:13:23 -08:00
Ladislau Szomoru be84f97b9a Git - fix edge case when the repository is at the root of a mapped drive (#171749)
* Git - Handle repository at the root of a mapped drive

* Update comment
2023-01-19 20:46:21 +01:00
Joyce Er 00d12fcdb2 Prompt before auto publishing branch (#171748) 2023-01-19 20:34:54 +01:00
Matt Bierner d0176b8a87 Only mangle extension private properties in production builds (#171684)
This speeds up watch-web
2023-01-19 00:16:25 +01:00
Matt Bierner 7545b2f6d0 Use single TS server output log channel on web (#171679)
Previously we were creating a new output channel for each server instance
2023-01-18 14:32:53 -08:00
Matt Bierner 9f48317464 Enable JS/TS project wide intellisense for opened folders on web (#171678)
For #170920
2023-01-18 23:25:11 +01:00
Ladislau Szomoru e37cad47f2 Revert "Git - Improvements to opening git repositories in parent folders (#171617)" (#171662)
This reverts commit fe423bbdba.
2023-01-18 20:57:55 +01:00
Aaron Munger c14229fd4c Merge pull request #171555 from amunger/outputScrolling
div outputs scrollable, register scroll setting
2023-01-18 08:37:18 -08:00
Ladislau Szomoru fe423bbdba Git - Improvements to opening git repositories in parent folders (#171617)
* Initial implementation for external repositories

* Added setting

* Add basic welcome views

* Replaced "Always Open" with "Configure"

* Remove code duplication

* Polish based on feedback

* Language consistency

* Update notification severity

* Move away from the "external repository" terminology

* Refactor notification logic

* Saving my changes

* Further improvements

* Refactor parent repository notification

* Update message and fix edge case when setting is set to `never`
2023-01-18 15:27:58 +01:00
David Wengier c080ef27d7 Update Razor repo (#171560)
* Update Razor repo

* Update cgmanifest too

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-01-18 12:42:03 +01:00
Ladislau Szomoru 9a9d7bfdde Git - Update getRefs pattern when querying for branches and tags (#171605) 2023-01-18 12:41:32 +01:00
Joyce Er e7d34457a5 Auto publish branches before Continue On in git repositories (#171211)
* Support syncing with remote before Continue On

* Auto publish before Continue On in git extension

* Add configuration description
2023-01-18 11:25:47 +00:00
Tyler James Leonhardt dcb358a79f Remove console.log (#171563)
This was for debugging. If it was legit I would have used the logger that's available.
2023-01-18 12:13:23 +11:00
aamunger f1e7784c53 div outputs scrollable, register scroll setting 2023-01-17 15:46:47 -08:00
Matt Bierner 116d314e60 Fix watch script exiting on error (#171552) 2023-01-17 14:53:24 -08:00
Martin Aeschlimann d4b18e0bc1 n10n lookup in node language servers (#171437)
* config node language servers with l10n location

* fix loading

* add workaround comment
2023-01-17 23:05:55 +01:00
Jake Bailey 43907341df Set disableLineTextInReferences=true in TS user preferences (#171376) 2023-01-17 16:46:36 +00:00
Ladislau Szomoru df6f1b8ac5 Git - only show unsafe repository notification if we cannot use a welcome view. (#171485) 2023-01-17 13:36:41 +01:00
Christof Marti 5efa6f4e4f Allow @prerelease 2023-01-17 10:28:05 +01:00
Ladislau Szomoru f50eeb50b5 Git - Migrate post commit command storage (#171416)
* Git - Migrate post commit command storage

* Make it explicit that migration is async
2023-01-16 13:24:17 +00:00
Joyce Er 05e1981145 Lint redundant package.json activation events (#171297) 2023-01-16 09:28:19 +01:00
Ladislau Szomoru 99ecdd4122 Git - Another attempt to fix an edge case for adding a safe directory (#171151)
* Git - Another attempt to fix an edge case for adding a safe directory

* Pull request feedback
2023-01-13 20:10:48 +01:00
SteVen Batten 9194231bb6 support workspace trust keyboard shortcut (#171131)
* support workspace trust keyboard shortcut

* macos test/fix

* Add support for short labels to the Button

* Remove code that is not needed

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-01-13 09:42:14 -08:00
Alex Ross 9bcc577478 Point to new microsoft/vscode-css repo (#171252)
Part of #169873
2023-01-13 14:33:39 +01:00
Alex Ross ede5714228 Update SQL grammar (#171237)
Fixes #171114
2023-01-13 10:42:37 +01:00
Matt Bierner 848d300e8c Use explicit flag to enable TS server project wide intellisense (#171208) 2023-01-12 23:15:18 +01:00
David Dossett 7daa453220 Fix typo lin Light+ V2 widgetBorder rule (#171203) 2023-01-12 22:17:41 +01:00
David Dossett b6acfe86f4 Fix editor cursor colors in v2 themes (#171202) 2023-01-12 22:15:04 +01:00
David Dossett 127a4c7b4a Fix active icon color for selected list items in Light+ V2 (#171201) 2023-01-12 21:53:00 +01:00
Nathan Shively-Sanders 3261c7d3af Cross-file Typescript support in vscode-web (#169311)
* recreate logging from other machine

* comment out openSystemBrowser

Because I dont have the default browser set up correctnly on any of my
machiens

* Add vscode-wasm-typescript dep

And some logging as I figure out how to use it

* remove unused reference to module

* use require reference that linter allows

* Add vscode-wasm-typescript to tsserver.web.js

Use webpack's CopyPlugin transform pattern to do this manually. This is
probably a bad idea! It's just for prototyping purposes.

* Update vscode-wasm-typescript dependency

* Fix minor syntax in webpack hack

Nonetheless required for it to work!

* Fix another typo in webpack hack!

* Fix provided typescript path

Another typo. Guess my local test wasn't running the contents really

* Try to improve module.exports handling in webpack hac

* tsserver.web.js comes from local builds

Also:
- tsserver.js is no longer minified
- log crossOriginIsolated

* First attempt to set up server-side support

* Remove auto-imported identifier

* Move sync-api setup code to serverProcess.browser.ts

Because it's browser-specific

* Reorder webpack hack and clean up unused logging

* Update vscode-wasm/vscode-wasm-typescript dependencies

* Add file watching

* Extract webpack hack

Build only the ts parts of tsserver.web.js, don't rebuild the vscode
extension. This is a lot faster.

* Remove manual verbose logging

Sheetal showed me the correct way to create a verbose logger instead.

* Add vscode-test-web to semantic-supported schemes

And make isWeb support semantic mode.

* Also update the webpack-hack-only build

* Switch to tsserverlibrary

Also paste in some example code for cancellation, which is not finished
at all.

* Remove bogus auto-import and unneeded (?) dep

* remove webpack-like hack

* move code from vscode-wasm-typescript

* Initial prototype of cancellation

It compiles and looks kind of plausible. But I haven't tested it yet.

* Switch tsserver to separate MessageChannel

* Move watches to a separate MessagePort

Further simplifies the message dispatch code by shifting complexity to
setup. And the setup is straight-line code.

* switch vscode-web from in-memory to real filesystem

goto-def is currently broken because some part of main vscode still
needs treat the files as in-memory, though.

* Make toResource translate / -> vscode-test-web

* Encode scheme and authority in TS filenames

Like the previous host did, but without the leading ^ that TS hard-codes
as "in-memory".

The tsserver host needs to know about the encoding, but the translation
is in a single function. This also means that displayed file paths are
prefixed with /scheme/authority (/vscode-test-web/mount in my testing), but I think that's fine.

* Lift parseUri outside createServerHost

I'm not using it to set the schema/authority for getCurrentDirectory
right now, so there's no shared state to mutate.

* Special-case URI of lib*d.ts in webServer.toResource

Similar to the special-casing in typescriptServiceClient.toResource.
Also requires passing in the extensionUri. This feels like it's breaking
through at least one abstraction layer, which might be a problem.

* Improve cancellation

1. Simplify cancellation checking in web tsserver host to match the
checking in typescript's node host.
2. Move cancellation of request in the extension to tryCancelRequest
from sendNextRequests.
3. Only send cancellation via node or web cancellation, not both.

* Pass in current request instead of waiting for a fresh one.

* Address initial PR comments

Also add some TODO comments for the revision to watches.

* Add cancellation bit to each (cancellable) request, locally fix an issue with retrieving the cancellation bit

* Switch to per-file/directory watches

Watching the entire filesystem recursively is supposed to be
inefficient.

Not done yet: there is an error when watching directories, but it works.
And I can't tell whether watching files works yet.

* Parse --serverMode partialSemantic in webServer

Now the syntax server actually runs as a syntax server.

* Simplify logging code

* Cleanup in webServer

1. Remove a little logging.
2. Correct failure return value for getFileSize
3. Reorder some methods and parameters.

* Switch to markdown extension's FileWatcherManager

I'm not sure if it's OK to depend on a module from another extension;
it's probably better to include the files from a central place instead.

* Clean up host methods

1. Copy and adapt implementations from node host where possible.
2. Note questions for the PR elsewhere.
3. Remove logging except for caught exceptions.

* More logging/TODO cleanup

* Remove duplicate dependency

* Add setting to enable/disable semantic mode on web

Also gate it behind a check to `crossOriginIsolated`

* Re-order and re-arrange code to minimise PR diff

It won't minimise it *much*, but I also consolidated some
unnecessarily-spread-out code that will be easier to read in the long
term, and possibly easier to read in diff form as well.

* Copy fileWatchingManager to typescript extension

Copy from markdown extension to typescript extension. I used the
existing dependencies in the typescript extension, but verified that
they would work the same.

* Fix linting of webServer

* Align formatting of catch / else

* Extract isProjectWideIntellisenseOnWebEnabled and keep using in-memory prefix when project wide intellisense is disabled

* Make sure we still work if SharedArrayBuffers aren't supported

* Remove symlink support and fix typo

Symlinks are implicitly supported by the filesystem right now.

* Fix compile errors

Co-authored-by: Johannes <johannes.rieken@gmail.com>
Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-01-12 11:54:39 -08:00
Matt Bierner e14165e0f5 Remove extra space in log message (#171197) 2023-01-12 20:43:08 +01:00
Tyler James Leonhardt 656e526b3e Add EMU to session telemetry (#171186)
* Telemetry for EMU

* comment
2023-01-12 18:51:18 +01:00
David Dossett 1b8ec09a7c Fix active editor line foreground in Light+ V2 (#171185)
Fix active editor line foreground
2023-01-12 18:43:24 +01:00
David Dossett 80f49e72fd Fixi terminal cursor in Light+ V2 (#171184) 2023-01-12 18:41:53 +01:00
David Dossett ea7e0d5cfc Fix badge foreground (#171182) 2023-01-12 18:31:02 +01:00
Joyce Er d61f46dcf7 Support continue in local clone from remote window (#171134) 2023-01-12 08:03:15 -08:00
Christof Marti b7f4d34134 Reference original schema (devcontainers/spec#93) 2023-01-12 14:34:43 +01:00
Ladislau Szomoru 05baad392b 💄 Git - use double quotation mark in the action button tooltip (#171161) 2023-01-12 14:10:49 +01:00
Babak K. Shandiz ea85d0ce72 🖊 Include branch name in commit button popup (#167827)
* 🖊 Include branch name in commit button popup

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🖊 Include branch name in "Publish" button popup

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2023-01-12 13:52:34 +01:00
Alexander Fadeev 82305d3a31 Makefile tests for else ifeq|ifneq|... syntax (#170888) 2023-01-12 13:33:38 +01:00
Martin Aeschlimann f76815d952 dev container schema: use unevaluatedProperties 2023-01-12 11:27:40 +01:00
David Dossett 87d1de6a45 Update various dark+ v2 colors (#171123)
Update dark+ v2 accent and button text colors
2023-01-12 01:44:39 +01:00
Matt Bierner 95f9599d16 Remove typescript.suggest.includeCompletionsWithSnippetText setting (#171098)
Fixes #171091

This setting controls TS Server's behavior and should not be exposed directly. Instead you can use the `includeCompletionsForImportStatements` and  `suggest.classMemberSnippets.enabled` settings to enable/disable individual types of completions
2023-01-11 12:09:32 -08:00