Commit graph

12627 commits

Author SHA1 Message Date
Matt Bierner 32f5e49082
Move MD diagnostics to language server (#155653)
* Move MD diagnostics to language server

This switches us to using the LSP pull diagnostic model with a new version of the language service

* Bump package version

* Delete unused file
2022-07-19 16:34:09 -07:00
Ladislau Szomoru 03c16c9c00
Git - The git.sync command should use the git.rebaseWhenSync setting (#155511)
The git.sync command should use the git.rebaseWhenSync setting
2022-07-18 18:38:58 +02:00
Ladislau Szomoru b3218963c4
Git - Do not show SmartCommit dialog when using "Commit All" (#155486)
Do not show SmartCommit dialog when using "Commit All"
2022-07-18 16:55:41 +02:00
Johannes Rieken 8bada27fdd
Merge pull request #155148 from microsoft/joh/double-barnacle
joh/double barnacle
2022-07-18 16:45:00 +02:00
Joyce Er 73b34320c1
Add ability to continue desktop edit session in vscode.dev 2022-07-15 15:51:51 -07:00
Martin Aeschlimann e225afee30
Add syntax highlighting for .env files without extensions (#155298)
Add syntax highlighting for .env files without extensions. Fixes #154111
2022-07-15 12:24:40 +00:00
Matt Bierner 394eaa9fa3
Fix md document links for untitled files (#155248) 2022-07-14 18:15:13 -07:00
Joyce Er a0c9ebe6b4
Disable chunking to prevent importScripts calls in web (#155226) 2022-07-14 18:55:38 +00:00
Johannes Rieken 1878583319
read REBASE_HEAD when rebasing, swap yours/theirs (label, sides) as well (#155208)
https://github.com/microsoft/vscode/issues/153737
2022-07-14 09:23:44 -07:00
Ladislau Szomoru ee18db8144
Sync Changes button - only show when local branch is ahead/behind the remote branch (#155192)
Only show Sync Changes button when local branch is ahead/behind the remote branch
2022-07-14 13:51:47 +00:00
Ladislau Szomoru 70a1ebd595
Git - Add events to IPostCommitCommandsProviderRegistry (#155051)
* Add events to IPostCommitCommandsProviderRegistry

* Pull request feedback
2022-07-14 10:46:57 +02:00
Johannes 0f0101be5f
use TabInputTextMerge in git extensions
For now only when checking for tabs, not yet for opening tabs
2022-07-14 09:41:54 +02:00
Ladislau Szomoru f6332bd86d
Git - Use cloud icon for remote branches (#155140)
Use cloud icon for remote branches
2022-07-14 08:55:29 +02:00
Matt Bierner 9ee8961347
Move MD references, rename, and definition support to md LS (#155127) 2022-07-14 08:32:27 +02:00
Matt Bierner 867acc336f
Remove references to finalized drop api (#155128) 2022-07-14 08:27:25 +02:00
Matt Bierner 50056f3e78
Finalize drop into editor api (#155102)
Fixes #142990
Fixes #149779
2022-07-13 12:54:52 -07:00
Matt Bierner bec36ce756
Move md path completions and document links to language server (#155100) 2022-07-13 12:49:37 -07:00
Ladislau Szomoru bc51adde6f
git - Add localization comment for Publish Branch action button (#155053)
* Add localization comment for Publish Branch action button

* Pull request feedback
2022-07-13 14:39:18 +00:00
Rich Chiodo 052d5b0027
Fix issue with kernel preselection being overridden by view state (#154968)
* Fix view state overriding selected kernel

* Add test to verify correct kernel is used
2022-07-12 18:03:49 -07:00
Matt Bierner 75e231ad82
Clean up document link resolve (#154959)
- Move vscode scheme normalization to the DocumentLinkProvider
- Remove extra function since we already recognize uri-like links
2022-07-12 15:55:21 -07:00
Matt Bierner 8f4d1a97f3
Clean up HtmlRenderingHook (#154961)
- Pass `HtmlRenderingHook` to hook
-  Rename register function to make it clear it is experimental
- Add docs
2022-07-12 11:27:47 -07:00
Raymond Zhao d627aa4606
Emmet: Add back trigger character arguments (#154940)
Fixes #154375
2022-07-12 09:15:01 -07:00
Ladislau Szomoru c7c0acd2ce
Git - Commit action button extension api (#154555) 2022-07-12 17:06:16 +02:00
Matt Bierner eeb8d49317
Move md workspace symbol search to language service (#154874)
* Move md workspace symbol search to language service

Also implements more of IWorkspace for the server

* Revert extra change
2022-07-12 10:04:25 -04:00
Alexander Fadeev 491a83446e
Add Makefile tests for upgraded grammar: comma, comment, shebang (#154625)
Add Makefile tests for upgraded grammar: comma, comment, shebang.

1. Add comma separator for function calls and conditions.
2. Escaping a comment with an odd count of backslashes (\#, \\\#).
3. Match debian/rules files based on shebang.

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-07-12 13:11:36 +02:00
Ladislau Szomoru acd1db24f2
Git - fix edge case with Windows mapped drives (#154342)
* Fix an edge case with computing relative path on Windows

* Refactor the fix
2022-07-12 12:20:41 +02:00
Johannes Rieken c46640d635
remove obsolete API proposal name from api-tests, fyi @Tyriar (#154902) 2022-07-12 11:35:56 +02:00
Matt Bierner c9bf4393d5
Rename drop API interface (#154876)
Makes the names more consistent
2022-07-12 11:33:13 +02:00
Matt Bierner 3a9292f23f
Remove extra files from build (#154875)
These server files should not be included
2022-07-12 11:31:43 +02:00
Aiday Marlen Kyzy 47a1f80c65
Adding keepLines feature to the settings (#154790)
* Adding the keepLines feature into the settings so the user can format while keeping the original line positions in json documents

* update service

* update dependencies

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-12 09:59:33 +02:00
Matt Bierner e02c71e3c6
Fix range of reference links (#154819)
Fixes #150921
2022-07-11 17:46:15 +02:00
Matt Bierner 82687c84ee
Add hook for extending built-in html renderer (#154316)
Fixes #153836

Lets extension register a hook that is invoked after the html element is renderered
2022-07-11 08:21:02 -07:00
Daniel Imms ded49a19ef
Merge branch 'main' into proposal-130231 2022-07-11 07:06:18 -07:00
Alex Ross 473c57e261
Update make grammar (#154789) 2022-07-11 12:14:40 +02:00
Ladislau Szomoru 5d18f94bb0
Git - Maintain spaces in the arguments (#154685)
Maintain spaces in the arguments
2022-07-11 02:28:57 -07:00
Ladislau Szomoru f2a475346f
Fix compilation error (#154699) 2022-07-10 07:50:17 -07:00
Daniel Imms 741b3cace8
Merge branch 'main' into proposal-130231 2022-07-10 07:40:11 -07:00
Matt Bierner 2b3912fa29
Fix markdown extension path (#154656)
Fixes #154645
Fixes #154653
2022-07-10 14:25:45 +02:00
jeanp413 318bdcc4cc Fix tests 2022-07-08 00:16:11 -05:00
Ladislau Szomoru eb2e5d8558
Git - Commit action button should use smart commit settings (#154169)
Consider smart commit settings when rendering the commit action button
2022-07-07 21:31:10 +02:00
Matt Bierner 2fb56e9d62
Move smart select and folding to md language server (#154334)
* Move smart select and folding to md language server

Also fixes a few minor issues:

- Don't log to web console
- Remove convert code since it is no longer needed
- Use correct extension id

* bump cache

* Bump package version

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-07-07 07:30:03 -07:00
Johannes Rieken e5f5a16b74
joh/issue145374 (#154360)
* enroll more places into `snippetWorkspaceEdit` proposal,

https://github.com/microsoft/vscode/issues/145374

* tweak API proposal for snippet edits, make this `WorkspaceEdit` only, remove old proposal bit

https://github.com/microsoft/vscode/issues/145374
2022-07-07 12:55:51 +00:00
João Moreno b4525a77fb
update yarn.lock (#154336) 2022-07-07 09:26:12 +02:00
Logan Ramos a20329d291
Switch extensions to 1DS (#154299)
* Move extensions to 1DS

* Switch extensions to 1DS
2022-07-06 17:18:41 -07:00
Matt Bierner ad9675f099
Scaffold out basic markdown language server (#154293)
* Scaffold out basic markdown lsp

This scaffolds out a new markdown language server and then uses it to implement document symbols. After the change, the markdown extension will have the following structure:

- languageService — Where all the LSP language stuff will eventually land
- server — The actual language server. Consumes ` languageService`
- src — The current extension that launches the server and implements VS Code specific functions

* Adding build scripts

* a

* Use language service from github

* Remove ls build scripts

* Bump versions

* Only build ext

* Enable for web

* Fixing for browser
2022-07-06 16:03:24 -07:00
Connor Peet d88ab38f1b npm: remove icon from localization
For #153743
2022-07-06 10:57:16 -07:00
Peng Lyu f9f353c90b
support vscode.dev link generation in notebook editor (#154183)
* support vscode.dev link generation in notebook editor

* Update comments.
2022-07-06 17:53:12 +02:00
Ladislau Szomoru 6624aea0d0
GitHub - Add translation comment not to translate the $(github) codicon (#154269)
* Add translation comment not to translate the $(github) codicon

* Add an additional comment
2022-07-06 08:11:44 -07:00
Martin Aeschlimann ac74e9d093
[html] unresolved import error in embedded JavaScript (#154261)
[html] unresolved import error in embedded JavaScript #154002
2022-07-06 15:09:06 +02:00
Johannes Rieken 71c221c532
joh/theoretical quokka (#154157)
* add `SnippetController#apply(ISnippetEdit[])`

This replaces the initial ugly trick with a more sound implementation of arbitrary snippet edits. A snippet edit can cover disconnected regions, each will be applied as separate text edit but everything will become a single `OneSnippet` instance

* add integration test for SnippetString-text edit inside workspace edit
2022-07-05 12:30:01 -07:00