Commit graph

5350 commits

Author SHA1 Message Date
Matt Bierner 43987a99b5 Update js/ts grammar 2018-06-05 12:48:16 -07:00
Matt Bierner ceac75e386 Move all public event definitions together 2018-06-05 12:47:55 -07:00
Matt Bierner c6806020d9 Move buffer sync support into client
This will allow the client to access the known buffers during path normalization
2018-06-05 12:47:55 -07:00
Matt Bierner 9197a53fe8 Move bufferSyncSupport out of language providers
Only register a single buffer syncer per instance. This also gets the code in a better shape for path case handling logic
2018-06-05 12:47:55 -07:00
Matt Bierner fae8e8e91b Prevent multiple calls to listen 2018-06-05 12:47:55 -07:00
Matt Bierner 28b5996f30 Move validate setting checking into bufferSyncSupport 2018-06-05 12:47:55 -07:00
Matt Bierner fe114f8ff1 Split toPath and normalizedPath
Break up the concept of normalizing a path and trying to get the on disk path of a resource. Needed for handling case insensitivity
2018-06-05 12:47:55 -07:00
Matt Bierner 6e76f2fb0e Extract out toKey function 2018-06-05 12:47:54 -07:00
Matt Bierner 3e078b4c00 Hoist fileConfigurationManager up to service client host
This object is shared between all languages
2018-06-05 12:47:54 -07:00
Pine Wu 67456612fe Add instruction to develop css-language-features 2018-06-05 10:06:08 -07:00
Johannes Rieken 9a86a83b50 back to more conventinal api proposal, #34968 2018-06-05 17:05:23 +02:00
Johannes Rieken f0d5c333db unhook provider later, #48192 2018-06-05 14:43:24 +02:00
Martin Aeschlimann 4e66b96599 [default themes] assign entity.name.variable to variables 2018-06-05 09:47:46 +02:00
Rob Lourens dff19fccea Tests and fix for 86e6f5fed9 - #50001 2018-06-04 16:53:09 -07:00
Matt Bierner 3114b9e01a Use ConfigurationDependentRegistration to remove more boilerplate code 2018-06-04 16:08:49 -07:00
Matt Bierner 018ecf70c5 Introduce the concept of a ConfigurationDependentRegistration
Abstract out a registration that depends on config. Use ConfigurationDependentRegistration for formatting registration
2018-06-04 15:59:49 -07:00
Matt Bierner 55d99c82ba Remove unused interface 2018-06-04 15:52:32 -07:00
Matt Bierner 907597e640 Remove old large directory watcher
Always let TS tell us when there are too many files.

The manual large directory watcher is only required for old versions of TS that have very low usage. This code is not tested / maintained
2018-06-04 15:52:21 -07:00
Matt Bierner 82804187b5 Remove boilerplate around VersionDependentRegistrationDelegate 2018-06-04 15:39:41 -07:00
Matt Bierner 8d0d155f00 Change API to use constant values
This helps prevent misuse of the API objects and will allow for more declarative apis
2018-06-04 15:36:09 -07:00
Matt Bierner d328fec640 Update file names to remove 'provider' 2018-06-04 15:21:47 -07:00
Matt Bierner ebab7fdbb6 Move workspace symbol provider to use standard register as well 2018-06-04 15:17:39 -07:00
Matt Bierner 954b93dbc9 Move js and ts code lenses to use standard registrations 2018-06-04 15:17:39 -07:00
Matt Bierner 2b8ba8b38a Moving some version checks to use VersionDependentRegistration instead 2018-06-04 15:17:39 -07:00
Matt Bierner 38e6baa2f1 Move all version dep providers to use generic helper class 2018-06-04 15:17:39 -07:00
Matt Bierner 95f3194922 Extract version dependent provider 2018-06-04 15:17:39 -07:00
Matt Bierner df7425c832 Use manager for registering and unregistering folding provider 2018-06-04 15:17:38 -07:00
Matt Bierner 604beac170 Move formatting provider to use standard registration 2018-06-04 15:17:38 -07:00
Matt Bierner 03563adac6 Moving more providers to use registration method 2018-06-04 15:17:38 -07:00
Matt Bierner 7fadce43d3 Move completion providers to use register method 2018-06-04 15:17:38 -07:00
Matt Bierner 75a64cf2b3 Moving features to use registration method 2018-06-04 15:17:38 -07:00
Matt Bierner 15f61c90ac Use event for ondelete 2018-06-04 15:17:38 -07:00
Matt Bierner 24bf68e3af Use vscode namespace 2018-06-04 15:17:38 -07:00
Rob Lourens 047b88c39c Fix deps for building with node 10 - see #48699 and anodynos/upath#20 2018-06-04 14:28:51 -07:00
Ramya Rao c82fd3819d
Avoid indent after strings with brackets Fixes #50959 (#50960) 2018-06-04 13:27:18 -07:00
Matt Bierner e0ae63888d Extracting common code for getMarkdownDocument 2018-06-04 11:50:04 -07:00
Matt Bierner 7b69194f91 Introduce the concept of a SkinnyTextDocument that provides minimal interface to generate toc 2018-06-04 11:50:04 -07:00
Matt Bierner 7a24ced69f Make sure fenced code blocks properly get line numbers assigned
Fixes #51095
2018-06-04 10:16:58 -07:00
Matt Bierner 2d4dc13260 Move language configurations registration to manager 2018-06-04 09:51:21 -07:00
Matt Bierner 1579821005 Refactoring refactor provider
Steps:

Return undefined instead of empty array

Extract shouldTrigger

Extract convertApplicableRefactors

Extract refactorActionToCodeAction

Move context only check into shouldTrigger
2018-06-04 09:08:39 -07:00
Matt Bierner 45a79e010f Only catch errors on request 2018-06-04 08:55:24 -07:00
Matt Bierner 7f74bb7526 Don't use active text editor for rename
Fixes #50856
2018-06-04 08:51:34 -07:00
João Moreno 4e26c330a8
Merge pull request #46066 from ddruker/ddruker/differentiate-foreground-color-git
[GIT EXTENSION] Add Custom Foreground Color for Files Added to Index
2018-06-04 17:21:14 +02:00
Joao Moreno 32d319c0dd 💄 2018-06-04 16:57:24 +02:00
Joao Moreno 495906f0cf Merge commit 'refs/pull/45254/head' of github.com:Microsoft/vscode into pr/45254 2018-06-04 16:50:58 +02:00
Joao Moreno c693ba29c3 git: 💄 no_push feature 2018-06-04 16:48:47 +02:00
Joao Moreno fb29dd0706 Merge commit 'refs/pull/45341/head' of github.com:Microsoft/vscode into pr/45341 2018-06-04 16:33:06 +02:00
Martin Aeschlimann eb2b51aeb9 associate npmignore with ignore language (for #51026) 2018-06-04 11:42:05 +02:00
Martin Aeschlimann 439ac990c3
Merge pull request #51026 from Hirse/master
Add gitignore language
2018-06-04 11:10:03 +02:00
Erich Gamma b48a89d461 remove commented out lines 2018-06-04 09:42:47 +02:00