Johannes Rieken
c92ce4014f
move extHost.protocol to common, #70319
2019-03-19 15:46:01 +01:00
Johannes Rieken
5c02b50383
extHost.protocol should not depend on extHostTypes, #70319
2019-03-19 15:13:50 +01:00
Johannes Rieken
763ae0943d
eng - some extHost strict-null work
2019-03-06 16:44:15 +01:00
Matt Bierner
52556f9742
Auto converting let -> const where possible in mainthread and extHost
...
Const provides better type guards and can make logic clearer
2019-03-05 16:53:41 -08:00
Matt Bierner
bb64391ec4
Strict null work in exthost
2019-03-05 16:53:40 -08:00
Alex Dima
43f6bf8ff7
Address some null errors ( #60565 )
2019-02-20 12:05:33 +01:00
Matt Bierner
9ee6077373
Strict null work in extHost
2019-02-11 09:31:13 -08:00
Matt Bierner
40c4d2b743
Strict null check work for extHostTypes
2019-02-08 17:16:08 -08:00
Johannes Rieken
653280d133
debt - Thenable -> Promise
2018-12-13 11:31:54 +01:00
Alex Dima
17454d4e88
Organize imports
2018-10-23 09:54:11 +02:00
Matt Bierner
8087b0a8d8
Remove use strict directives in main vs code ts files (part 2)
...
We compile using the alwaysStrict flag so these directives are not needed
This part removes most `use strict` directives that are right after the file header
2018-10-02 16:11:05 -07:00
Johannes Rieken
9496bb79c5
debt - replace asThenable with Promise.resolve
2018-10-01 12:27:43 +02:00
Alex Dima
591e83f8a4
Reduce usage of TPromise in extHost.protocol
2018-09-04 16:04:53 +02:00
Johannes Rieken
40df36b6e5
add proposed api for workspace edit #10659
2018-06-18 17:43:47 +02:00
Benjamin Pasero
026fc297fb
grid - open editors in active group when no ViewColumn is provided
2018-05-22 11:25:02 +02:00
Benjamin Pasero
2bfb2763fd
grid - 💄 for viewcolumn conversion
2018-05-22 08:53:28 +02:00
Benjamin Pasero
249da81b04
grid - move EditorPosition to exthost
2018-05-20 14:09:00 +02:00
Johannes Rieken
c47296282a
type converters, use namespace for ViewColumn
2018-05-04 18:49:40 +02:00
Johannes Rieken
dfb070c277
type converter, use namespace for Range
2018-05-04 18:49:39 +02:00
Johannes Rieken
069bbd81e4
type converters, use namespace for Selection
2018-05-04 18:49:39 +02:00
Matt Bierner
81767beaca
Make Event a named export
...
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Alex Dima
20ed3d9632
Fixes #44424 : Add proposed API - TextEditor.visibleRanges
2018-02-26 21:28:09 +01:00
Alex Dima
6aadb1ad40
Send text editor properties updates in a single event
2018-02-26 16:51:57 +01:00
Matt Bierner
e1f33fbb07
Rename ext host / main thread editor to textEditor
...
Rename to make it more clear that these APIs are for `vscode.TextEditor`
2018-02-15 15:32:16 -08:00
Johannes Rieken
0edcdab82e
undo workspace edit changes for now, #10659
2018-02-01 15:30:41 +01:00
Johannes Rieken
dc31fa213b
support interleaving file and text changes, basically rewrite bulk edit...
2018-01-19 17:54:54 +01:00
Matt Bierner
519b4723d5
Fix potentiall undefined ref
2018-01-12 14:12:52 -08:00
Matt Bierner
e932b8ad9c
Add rename/create/delete file to workspaced edit
...
Fixes #10659
Allows workspace edits to also change files in the workspace
2018-01-12 14:07:24 -08:00
Alex Dima
367dd10413
Rename RPCProtocol.get to RPCProtocol.getProxy ( #36972 )
2017-12-13 16:04:14 +01:00
Matt Bierner
56c9f11046
Mark onDidChangeActiveTextEditor can fire with undefined
...
From #39413
**Bug**
onDidChangeActiveTextEditor may fire with undefined for the editor. This is not currently marked in the API
2017-12-01 11:04:25 -08:00
Johannes Rieken
12439dfbb6
debt - remove obsolete URI casts
2017-10-11 13:01:10 +02:00
Alex Dima
02ee356269
Have workspace.applyEdit correctly account for model version changes and reply with false if a model was loaded and changed in the meantime
2017-09-18 16:56:03 +02:00
Alex Dima
2b3298af79
Use native proxies for renderer <-> ext host RPC communication
2017-08-16 10:26:25 +02:00
Alex Dima
20a45eef3a
Add a mechanism to be a customer of the extension host (share lifecycle) and begin reducing usage of IThreadService
2017-08-15 18:26:51 +02:00
Benjamin Pasero
f381ce961d
Add API to open a file or diff editor on a specific selection range ( fixes #30241 )
2017-07-07 12:20:34 +02:00
Eric Amodio
4f50b29e92
Addresses #26184 - use configuration for pinned default ( #27357 )
...
* Addresses #26184 - use configuration for pinned default
* Honors the preview editor setting above all
* Removes passing undefined to pinned internally
re: requested code review changes
* Removes unnecessary undefined
* feedback
2017-07-06 08:12:39 +02:00
Johannes Rieken
b548d2128d
split things up into api/node and api/electron-browser
2017-05-12 11:24:22 +02:00
Johannes Rieken
358eb92d72
make sure default editor position is set, fixes #25801
2017-05-03 14:42:36 +02:00
Johannes Rieken
936104d88a
rename TextDocumentShowOptions#column to TextDocumentShowOptions#viewColumn
2017-04-25 17:28:32 +02:00
Eric Amodio
c5de5b2df3
Fixes fallthrough with no options
2017-04-25 10:23:16 -04:00
Eric Amodio
ca163e0de1
Changes ShowTextDocumentOptions to TextDocumentShowOptions
...
Changes pinned property to preview
Adds ITextDocumentShowOptions as main-side DTO
2017-04-25 09:33:26 -04:00
Eric Amodio
d44fa8feb1
Adds ShowTextDocumentOptions interface
...
Moves column into the options
Removes overloads from the proxy
2017-04-25 08:51:10 -04:00
Eric Amodio
b5340dbec3
Adds editor options overload to showTextDocument
2017-04-25 08:45:47 -04:00
Joao Moreno
acb29bf425
✨ registerDiffInformationCommand instead of computeDiff
2017-03-24 15:22:43 +01:00
Johannes Rieken
1239cebb70
Merge branch 'joh/editors'
2017-03-06 12:40:47 +01:00