Commit Graph

26 Commits

Author SHA1 Message Date
Alex Burgel c27c1638ec Add swift to supported darwin document types (#159002)
* Add swift to supported darwin document types

* add compilation output

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-08-24 13:06:19 +00:00
Matt Bierner 2a84b0fb6d Enable alwaysStrict for build scripts (#152778)
Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
2022-06-21 19:00:43 +00:00
Benjamin Pasero 9ce2a653c8 macOS: declare folder support (#147686)
* wip

* add utis
2022-04-19 12:56:55 +02:00
Johannes Rieken 4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Paul Köck a06afb22ce chore: update copyright year (#139988)
* Oh, it's already 2022

* Updated copyright to 2022
2022-01-09 19:03:44 -08:00
Harald Kirschner dd95be5247 Remove rhtml as deprecated type 2021-08-17 18:00:32 -07:00
Harald Kirschner 2a59986e99 Adding most frequently used file assocations 2021-08-17 17:57:54 -07:00
João Moreno bb5e8374d9 💄 2021-07-16 13:06:51 +02:00
Tanner Bennett 772f41ff66 Provide more specific file type descriptions
Make use of the changes in the previous commit
2021-03-22 12:01:46 -05:00
Tanner Bennett f1dd6de4e8 Add darwinBundleDocumentTypes
Split darwinBundleDocumentType into two separate functions. The first function is unchanged.

The second function allows you to specify specific names for different groups of extensions while all sharing the same icon. For example, this would allow you to differentiate between a C header and a C source file while using the same icon for both.

Inherently, the second function will generate multiple file type declarations, so it returns an array instead of a single object. As a result we must use the splat operator on it when passing the result to an array literal.
2021-03-22 12:01:46 -05:00
Tanner Bennett 6182ab92ce Refactor darwinBundleDocumentType
Allow the caller to provide a specific file type description.

The new function will not require source changes to existing calls, but will change how the file type description is generated. An unmodified call to darwinBundleDocumentType will use the given icon name as the file type description. All extensions passed to this function continue to use the same icon as before, and all extensions will have the same file type description as before.
2021-03-22 12:01:46 -05:00
Tanner Bennett 35c20b240c Make darwinBundleDocumentType accept a darwin icon
With this change, to define a document type, you need only pass the name (or relative path) of the darwin icon.

So instead of passing 'resources/darwin/css.icns' you would just pass 'css'
2021-03-22 12:01:46 -05:00
Logan Ramos 6dad35394f Update copyright year 2021-02-17 17:02:21 -05:00
João Moreno fc4b40b633 fix type casts 2021-01-04 15:54:59 +01:00
Alexandru Dima c1eb24b027 Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Benjamin Pasero ded9067afa build - fix warnings in TS files
//cc @joaomoreno
2020-10-13 10:48:40 +02:00
João Moreno 6ca91db00a Merge remote-tracking branch 'origin/master' into joao/linux-arm 2020-09-09 08:53:49 +02:00
João Moreno 47d8a25606 build vscode armhf 2020-09-08 09:41:28 +02:00
Caio c45e05e4a6 treat *.c++ and *.h++ files as c++ on macos 2020-08-17 21:40:18 -03:00
Rick van Galen 571b747c28 Containerfile support (#93184)
* Apply Dockerfile highlighting to Containerfile

* Recognize Containerfile in Search Editor highlighting

* Register opening Containerfile files on macOS

* Register opening Containerfile files on Windows
2020-05-27 14:47:27 +02:00
Robo d5372eb159 Reland "fix: use electron-osx-sign instead of manual code signing (#97582)" (#98145)
This reverts commit f291767f09.
2020-05-20 10:06:15 +02:00
deepak1556 f291767f09 Revert "fix: use electron-osx-sign instead of manual code signing (#97582)"
This reverts commit a1ddfae782.
2020-05-19 00:49:44 -07:00
João Moreno a1ddfae782 fix: use electron-osx-sign instead of manual code signing (#97582)
* fix: use electron-osx-sign instead of manual code signing

* build/gulpfile.vscode.darwin.js -> build/darwin/sign.ts

* fix script call in pipeline

* fix incorrect keychain path

* fix update path to entitlements

* sign children first

* move electron-osx-sign deps to build/

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-05-18 08:43:30 -07:00
ZHAO Jinxiang 352d641042 Add .cjs to known JavaScript file extensions (#85460) 2019-11-25 19:46:09 -08:00
Joao Moreno 9289dd7842 remove yarn gulp electron 2019-10-16 15:35:53 +02:00
Joao Moreno 5048816ebf extract yarn electron 2019-10-16 11:15:43 +02:00