Commit 6966209
authored
Use node ipc for TS Server (microsoft#46418)
* Use node ipc for TS Server
For microsoft#46417
This lets us use Node's built-in ipc for passing messages to/from the typescript server instead of using stdio
* Remove extra parse
* Add extra logging when using node IPC
* Split out to subclass
* Extract common writeMessage method
* Baseline accept1 parent e10c912 commit 6966209
File tree
3 files changed
+35
-2
lines changed- src
- server
- tsserver
- tests/baselines/reference/api
3 files changed
+35
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
943 | 947 | | |
944 | 948 | | |
945 | 949 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
762 | 789 | | |
763 | 790 | | |
764 | 791 | | |
765 | 792 | | |
766 | 793 | | |
767 | 794 | | |
| 795 | + | |
768 | 796 | | |
769 | 797 | | |
770 | 798 | | |
| |||
774 | 802 | | |
775 | 803 | | |
776 | 804 | | |
777 | | - | |
| 805 | + | |
778 | 806 | | |
779 | 807 | | |
780 | 808 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10487 | 10487 | | |
10488 | 10488 | | |
10489 | 10489 | | |
| 10490 | + | |
10490 | 10491 | | |
10491 | 10492 | | |
10492 | 10493 | | |
| |||
0 commit comments