Commit Graph

6 Commits

Author SHA1 Message Date
Matt Bierner
c2dafddbae Add splitLines helper function (#109869)
* Add splitLines helper  function

I noticed there are a lot of places in our codebase what split strings using a hardcoded `/\r\n|\r|\n/` regular expression. This change extracts that to a new `strings.splitLines` helper

* Update snippetSession.ts
2020-11-04 12:13:28 -08:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
João Moreno
e15a88875a Fixes #78949 (#78950) 2019-08-12 14:12:18 +02:00
Johannes Rieken
d0fcf07040 debt - better check for reserved schemes 2019-07-09 17:03:39 +02:00
Johannes Rieken
6b519e5bc2 remove unused dispose 2019-07-05 13:04:56 +02:00
Johannes Rieken
c0821aa5e9 move extHost-files to common 2019-04-10 10:26:52 +02:00