Commit Graph

26 Commits

Author SHA1 Message Date
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