Commit Graph
151 Commits
Author SHA1 Message Date
Matt Bierner ab77235bfb Don't show lightbulb if we only have a selection
Removes code action trigger proposal

Fixes #52070
2018-06-15 11:08:22 -07:00
Matt Bierner 36f660424d Add missing file update 2018-06-15 10:27:10 -07:00
Matt Bierner ae7d3eb888 Add workaround for https://github.com/Microsoft/TypeScript/issues/24968 2018-06-15 10:09:27 -07:00
Matt Bierner 30dcf74d92 Show correct directory name in prompt 2018-06-15 10:09:27 -07:00
Matt Bierner dfc4d75c1a Make sure we always re-queue a diagnostic request after changing documents 2018-06-14 10:09:12 -07:00
Matt Bierner a1e58c9ea8 Use type converter to convert location 2018-06-13 18:04:33 -07:00
Matt Bierner 6d075f773b Cleaning up implementations code lens
- Make async
- extract some methods
2018-06-13 18:02:29 -07:00
Matt Bierner 06ea138fbb Use nameSpan for getting basic symbol range
#51176
2018-06-13 18:00:34 -07:00
Matt Bierner 3cdda11bc9 Always normalize resources in resource map for drive letter on windows 2018-06-13 17:33:07 -07:00
Matt Bierner af25bb8d5b Use global scope for checking dependent registrations 2018-06-13 17:32:38 -07:00
Matt Bierner 7ab453370e Using resource map for storing diagnostic 2018-06-13 17:12:33 -07:00
Matt Bierner 29198d7e8a Remove unused api version 2018-06-13 17:05:46 -07:00
Matt Bierner 37232ca3bf Support basic path updates on directory rename
Fixes #50244
2018-06-13 16:43:35 -07:00
Matt Bierner b0a2dfac65 Extract resource map to own file 2018-06-13 13:38:03 -07:00
Matt Bierner c6d90b63fc Extract ResourceMap 2018-06-13 13:38:03 -07:00
Matt Bierner b59926b874 Move case normalization onto SyncedBufferMap 2018-06-13 13:38:02 -07:00
Johannes Rieken ae9063f094 add DocumentSymbol#detail, #34968 2018-06-13 16:14:15 +02:00
Matt Bierner 583f1e4934 Only use one paths rename handler
Fixes #51485
2018-06-12 16:30:17 -07:00
Johannes Rieken cecfdcde22 update proposed API to DocumentSymbol-type, #34968 2018-06-12 12:47:27 +02:00
Matt Bierner 26d5d76a23 Add in experimental support for js/ts multi-line diagnostics
From https://github.com/weswigham/vscode/commit/da48d42acc7b4be254d644b8d894e20608fa3ee3
2018-06-07 16:38:52 -07:00
Matt Bierner 66bfdac850 Remove testing code 2018-06-05 15:27:03 -07:00
Matt Bierner c40a2fd096 Use case-insensitive synced buffer map on case-insensitive file systems
Fixes #51183
Fixes #50505
2018-06-05 15:24:44 -07:00
Matt Bierner 04ca060277 Fix unused import 2018-06-05 14:28:11 -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
Johannes Rieken 9a86a83b50 back to more conventinal api proposal, #34968 2018-06-05 17:05:23 +02: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