Merge branch 'master' into aw/single-file

This commit is contained in:
Ash Wilson 2019-01-14 10:22:51 -05:00
commit 92785ac257
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A
55 changed files with 2393 additions and 117 deletions

142
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "atom",
"version": "1.35.0-dev",
"version": "1.36.0-dev",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -331,7 +331,7 @@
"dependencies": {
"event-kit": {
"version": "1.5.0",
"resolved": "http://registry.npmjs.org/event-kit/-/event-kit-1.5.0.tgz",
"resolved": "https://registry.npmjs.org/event-kit/-/event-kit-1.5.0.tgz",
"integrity": "sha1-Ek72qtgyjcsmtxxHWQtbjmPrxIc=",
"requires": {
"grim": "^1.2.1"
@ -888,9 +888,9 @@
"integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ=="
},
"core-js": {
"version": "2.5.7",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.1.tgz",
"integrity": "sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg=="
},
"home-or-tmp": {
"version": "2.0.0",
@ -936,9 +936,9 @@
},
"dependencies": {
"core-js": {
"version": "2.5.7",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.1.tgz",
"integrity": "sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg=="
}
}
},
@ -1106,8 +1106,8 @@
}
},
"bracket-matcher": {
"version": "https://www.atom.io/api/packages/bracket-matcher/versions/0.90.3/tarball",
"integrity": "sha512-9Vaq1s+Q3WbO+YOHUr4OtxM7LuZVaAbFTPxqEhjBtAJEoxBqTlfRLGMLOhn8ucZJ8byFL5T9oMIF6I6831oFNQ==",
"version": "https://www.atom.io/api/packages/bracket-matcher/versions/0.90.4/tarball",
"integrity": "sha512-vOeFxfxQGwBoNkuK7srzVUN65q7jL8UKN/IuReilfqp7eg46z39NSchQvw87dpgEOAQEkV3N99h/vBcMmIDTuw==",
"requires": {
"first-mate": "^7.0.1",
"underscore-plus": "1.x"
@ -1835,16 +1835,45 @@
}
},
"dugite": {
"version": "1.79.0",
"resolved": "https://registry.npmjs.org/dugite/-/dugite-1.79.0.tgz",
"integrity": "sha512-1iohG+Yj+7wwVNUv+HCWaK5ZeAbqNyxHZf96B65KojBVcvMT29i8Tnh/Ta/KHI7LcI0dQqSqsKJdZozpWjXWKw==",
"version": "1.81.0",
"resolved": "https://registry.npmjs.org/dugite/-/dugite-1.81.0.tgz",
"integrity": "sha512-aH1cVzbEXOHqpiub9PWJUN+R2p7H+tvN+VqyAYHR9Tj/axLDccWJk5aKDN1/US82DkaIYWUZz8x0lAbjfqrq4Q==",
"requires": {
"checksum": "^0.1.1",
"mkdirp": "^0.5.1",
"progress": "^2.0.0",
"progress": "^2.0.3",
"request": "^2.88.0",
"rimraf": "^2.5.4",
"tar": "^4.4.6"
"tar": "^4.4.7"
},
"dependencies": {
"chownr": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz",
"integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g=="
},
"minizlib": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.2.1.tgz",
"integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==",
"requires": {
"minipass": "^2.2.1"
}
},
"tar": {
"version": "4.4.8",
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.8.tgz",
"integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==",
"requires": {
"chownr": "^1.1.1",
"fs-minipass": "^1.2.5",
"minipass": "^2.3.4",
"minizlib": "^1.1.1",
"mkdirp": "^0.5.0",
"safe-buffer": "^5.1.2",
"yallist": "^3.0.2"
}
}
}
},
"duplexer": {
@ -1862,11 +1891,11 @@
}
},
"element-resize-detector": {
"version": "1.1.14",
"resolved": "https://registry.npmjs.org/element-resize-detector/-/element-resize-detector-1.1.14.tgz",
"integrity": "sha1-rwZKCmGKggrVcKlcXuxbd74BKME=",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/element-resize-detector/-/element-resize-detector-1.2.0.tgz",
"integrity": "sha512-UmhNB8sIJVZeg56gEjgmMd6p37sCg8j8trVW0LZM7Wzv+kxQ5CnRHcgRKBTB/kFUSn3e7UP59kl2V2U8Du1hmg==",
"requires": {
"batch-processor": "^1.0.0"
"batch-processor": "1.0.0"
}
},
"emissary": {
@ -2140,8 +2169,8 @@
}
},
"find-and-replace": {
"version": "https://www.atom.io/api/packages/find-and-replace/versions/0.215.14/tarball",
"integrity": "sha512-6TGLE6HQPWeD7jCrtIh5lxoXSoFcSQplbcaFX/HPUmjcUko3/QfuLEuTFmosidwQSWSAcPwUpcQ0Ih3e2KiryA==",
"version": "https://www.atom.io/api/packages/find-and-replace/versions/0.215.15/tarball",
"integrity": "sha512-zDUEyvyYc6nu1QTI0TaDM/3IS9vP+qLKaXr+CD1GtHTQHmOoLqCAimoSNIzRYQSnnxo0lV1c/F1OmuruvDdVxA==",
"requires": {
"binary-search": "^1.3.3",
"element-resize-detector": "^1.1.10",
@ -2478,8 +2507,8 @@
}
},
"github": {
"version": "https://www.atom.io/api/packages/github/versions/0.23.0/tarball",
"integrity": "sha512-VWpKCWY5jsQpEF3XmWCwdlFU5n2S0PQ2PLOD/9WnvuC9U7vtKyrEdd5bqWxS76KNOwpjw6CRoyPmK7WYsKtz6g==",
"version": "https://www.atom.io/api/packages/github/versions/0.24.0/tarball",
"integrity": "sha512-STupVetbztFBB+eGnzUyuX1jbeRL9z9vkkf3t1zbi0+8zr82NDWhSRlyojYyJ0vsT0BbqYxDeKWYl4kQySOfdg==",
"requires": {
"atom-babel6-transpiler": "1.2.0",
"babel-generator": "6.26.1",
@ -2493,7 +2522,7 @@
"classnames": "2.2.6",
"compare-sets": "1.0.1",
"dugite": "^1.79.0",
"event-kit": "2.5.2",
"event-kit": "2.5.3",
"fs-extra": "4.0.3",
"graphql": "0.13.2",
"keytar": "4.2.1",
@ -2507,20 +2536,15 @@
"react-select": "1.2.1",
"react-tabs": "^2.3.0",
"relay-runtime": "1.6.0",
"temp": "0.8.3",
"temp": "0.9.0",
"tinycolor2": "1.4.1",
"tree-kill": "1.2.0",
"tree-kill": "1.2.1",
"underscore-plus": "1.6.8",
"what-the-diff": "0.4.0",
"what-the-diff": "0.5.0",
"what-the-status": "1.0.3",
"yubikiri": "1.0.0"
},
"dependencies": {
"event-kit": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/event-kit/-/event-kit-2.5.2.tgz",
"integrity": "sha512-1w3eEk45CstP8gzQtJdxhNl6kmvT+3dsGMK31VX7Wmt1/hlwS+s2yJY7SeVRhyhhx2W8neomdBfSZ9ACJ9eNeg=="
},
"fs-extra": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz",
@ -2530,6 +2554,14 @@
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
},
"temp": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/temp/-/temp-0.9.0.tgz",
"integrity": "sha512-YfUhPQCJoNQE5N+FJQcdPz63O3x3sdT4Xju69Gj4iZe0lBKOtnAMi0SLj9xKhGkcGhsxThvTJ/usxtFPo438zQ==",
"requires": {
"rimraf": "~2.6.2"
}
}
}
},
@ -3194,10 +3226,10 @@
"integrity": "sha512-kdTsc2efREnuj72WsAfcx28h0RqrVUIGF7BQcS5zy+ZibqbvnaB5DiVunRFYLhefGoaKVkAyTdRkZWMKH/yIWg=="
},
"language-javascript": {
"version": "https://www.atom.io/api/packages/language-javascript/versions/0.129.18/tarball",
"integrity": "sha512-ZCcMHpz7tiBzKCeaDzNGfDcthz504qcleo9hsPFcPkGL0uwOBe4AWpX1xNUz+Uhljf9jHzu7aS3d2G0lvGAMKQ==",
"version": "https://www.atom.io/api/packages/language-javascript/versions/0.129.19/tarball",
"integrity": "sha512-ClPU0dc41WqagaPd+qy5DQ5ahDCVcfFxC1nwppyQSsSXzrzsiE2+FuYzG33OMaSGDA6/zZ6gBkHXnXXPFzWcNA==",
"requires": {
"tree-sitter-javascript": "^0.13.8",
"tree-sitter-javascript": "^0.13.10",
"tree-sitter-jsdoc": "^0.13.4",
"tree-sitter-regex": "^0.13.1"
}
@ -4372,9 +4404,9 @@
"integrity": "sha1-o31zL0JxtKsa0HDTVQjoKQeI/6o="
},
"progress": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.1.tgz",
"integrity": "sha512-OE+a6vzqazc+K6LxJrX5UPyKFvGnL5CYmq2jFGNIBWHpc4QyE49/YOumcrpQFJpfejmvRtbJzgO1zPmMCqlbBg=="
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="
},
"promise": {
"version": "7.3.1",
@ -5064,12 +5096,10 @@
}
},
"solarized-dark-syntax": {
"version": "https://www.atom.io/api/packages/solarized-dark-syntax/versions/1.3.0/tarball",
"integrity": "sha512-2X4Df16sQqna8dmpWnpk2FoL346cXW34Vk2JKJY23fYYCH3t16mGl9G9URB7+S2x+/WmeCjdwIQSMsGvBf/95g=="
"version": "file:packages/solarized-dark-syntax"
},
"solarized-light-syntax": {
"version": "https://www.atom.io/api/packages/solarized-light-syntax/versions/1.3.0/tarball",
"integrity": "sha512-DVl8aJnecUKy5s1WY5mDyN1/3McqyZWfE3cjBVY8U7X4w9Xkp8SPVndVGufSpSWIxh9vY/iSU4kfBxWqUdiW5w=="
"version": "file:packages/solarized-light-syntax"
},
"source-map": {
"version": "0.1.32",
@ -5203,8 +5233,8 @@
"integrity": "sha1-ATl5IuX2Ls8whFUiyVxP4dJefU4="
},
"status-bar": {
"version": "https://www.atom.io/api/packages/status-bar/versions/1.8.16/tarball",
"integrity": "sha512-kGNZQEDV9zjdLfuBJlZJYg90TrMgxFq9G6SAKUnmcHV8TZX1Fqb8L5WKHhj94686brKutwlrxY4ptJKaDIeoKg==",
"version": "https://www.atom.io/api/packages/status-bar/versions/1.8.17/tarball",
"integrity": "sha512-QqUIcKw3QuFtstyl841kJ67oBGewWJGe12q+aEkyv6c6jvWBThfLHrGbnvJxgWqtYWbYQtXuqQdj3Wd//EZk6g==",
"requires": {
"fs-plus": "^3.0.1",
"grim": "^2.0.1",
@ -5532,9 +5562,9 @@
}
},
"tree-kill": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.0.tgz",
"integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg=="
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.1.tgz",
"integrity": "sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q=="
},
"tree-sitter": {
"version": "0.13.23",
@ -5670,9 +5700,9 @@
}
},
"tree-sitter-javascript": {
"version": "0.13.8",
"resolved": "https://registry.npmjs.org/tree-sitter-javascript/-/tree-sitter-javascript-0.13.8.tgz",
"integrity": "sha512-p7u6ZXEX1sIjgGNAiuSNnK6PSl5FiUsQzEV2QOAYVH5GN13cUnUsoa/BiaDMWQ3uddoNXwTdxhB8UwNAolizQQ==",
"version": "0.13.10",
"resolved": "https://registry.npmjs.org/tree-sitter-javascript/-/tree-sitter-javascript-0.13.10.tgz",
"integrity": "sha512-ku/841Nu7k/VXwI2ifm7xxv2cUiiYztLlIeYTYZXpjaIHMfFer5XZRgmZldJHVthTQ9uRMEr7UQ0qeqnWKzOlg==",
"requires": {
"nan": "^2.4.0"
}
@ -5686,9 +5716,9 @@
},
"dependencies": {
"nan": {
"version": "2.11.1",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz",
"integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA=="
"version": "2.12.1",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.12.1.tgz",
"integrity": "sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw=="
}
}
},
@ -5921,9 +5951,9 @@
}
},
"what-the-diff": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/what-the-diff/-/what-the-diff-0.4.0.tgz",
"integrity": "sha512-Aw5OoYs5pY4RcZhD9UrS/brg/YRFm/SRRwJEI3f12PTWYadXzkvmf2eGDggSwcZuH2OH8J5HmtUK6LH+jRc2aA=="
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/what-the-diff/-/what-the-diff-0.5.0.tgz",
"integrity": "sha512-+ZX92uzic8Ufbyvl128Rsi8Hf67lYMKA4MJBOUtDnA3PD+rQY0493G25KAKzb9qQ8NN5TcD6VyV/BqBFq1Ktuw=="
},
"what-the-status": {
"version": "1.0.3",

View File

@ -1,7 +1,7 @@
{
"name": "atom",
"productName": "Atom",
"version": "1.35.0-dev",
"version": "1.36.0-dev",
"description": "A hackable text editor for the 21st Century.",
"main": "./src/main-process/main.js",
"repository": {
@ -38,7 +38,7 @@
"base16-tomorrow-dark-theme": "file:packages/base16-tomorrow-dark-theme",
"base16-tomorrow-light-theme": "file:packages/base16-tomorrow-light-theme",
"bookmarks": "https://www.atom.io/api/packages/bookmarks/versions/0.45.1/tarball",
"bracket-matcher": "https://www.atom.io/api/packages/bracket-matcher/versions/0.90.3/tarball",
"bracket-matcher": "https://www.atom.io/api/packages/bracket-matcher/versions/0.90.4/tarball",
"cached-run-in-this-context": "0.5.0",
"chai": "3.5.0",
"chart.js": "^2.3.0",
@ -55,7 +55,7 @@
"etch": "^0.12.6",
"event-kit": "^2.5.3",
"exception-reporting": "file:packages/exception-reporting",
"find-and-replace": "https://www.atom.io/api/packages/find-and-replace/versions/0.215.14/tarball",
"find-and-replace": "https://www.atom.io/api/packages/find-and-replace/versions/0.215.15/tarball",
"find-parent-dir": "^0.3.0",
"first-mate": "7.1.3",
"focus-trap": "2.4.5",
@ -66,7 +66,7 @@
"fuzzy-finder": "https://www.atom.io/api/packages/fuzzy-finder/versions/1.8.2/tarball",
"git-diff": "file:packages/git-diff",
"git-utils": "5.2.1",
"github": "https://www.atom.io/api/packages/github/versions/0.23.0/tarball",
"github": "https://www.atom.io/api/packages/github/versions/0.24.0/tarball",
"glob": "^7.1.1",
"go-to-line": "file:packages/go-to-line",
"grammar-selector": "file:packages/grammar-selector",
@ -89,7 +89,7 @@
"language-html": "https://www.atom.io/api/packages/language-html/versions/0.51.5/tarball",
"language-hyperlink": "https://www.atom.io/api/packages/language-hyperlink/versions/0.17.0/tarball",
"language-java": "https://www.atom.io/api/packages/language-java/versions/0.31.1/tarball",
"language-javascript": "https://www.atom.io/api/packages/language-javascript/versions/0.129.18/tarball",
"language-javascript": "https://www.atom.io/api/packages/language-javascript/versions/0.129.19/tarball",
"language-json": "https://www.atom.io/api/packages/language-json/versions/0.19.2/tarball",
"language-less": "https://www.atom.io/api/packages/language-less/versions/0.34.3/tarball",
"language-make": "https://www.atom.io/api/packages/language-make/versions/0.23.0/tarball",
@ -148,10 +148,10 @@
"settings-view": "https://www.atom.io/api/packages/settings-view/versions/0.257.3/tarball",
"sinon": "1.17.4",
"snippets": "https://www.atom.io/api/packages/snippets/versions/1.4.0/tarball",
"solarized-dark-syntax": "https://www.atom.io/api/packages/solarized-dark-syntax/versions/1.3.0/tarball",
"solarized-light-syntax": "https://www.atom.io/api/packages/solarized-light-syntax/versions/1.3.0/tarball",
"solarized-dark-syntax": "file:packages/solarized-dark-syntax",
"solarized-light-syntax": "file:packages/solarized-light-syntax",
"spell-check": "https://www.atom.io/api/packages/spell-check/versions/0.74.2/tarball",
"status-bar": "https://www.atom.io/api/packages/status-bar/versions/1.8.16/tarball",
"status-bar": "https://www.atom.io/api/packages/status-bar/versions/1.8.17/tarball",
"styleguide": "https://www.atom.io/api/packages/styleguide/versions/0.49.12/tarball",
"symbols-view": "https://www.atom.io/api/packages/symbols-view/versions/0.118.2/tarball",
"tabs": "https://www.atom.io/api/packages/tabs/versions/0.109.2/tarball",
@ -181,8 +181,8 @@
"one-light-ui": "file:./packages/one-light-ui",
"one-dark-syntax": "file:./packages/one-dark-syntax",
"one-light-syntax": "file:./packages/one-light-syntax",
"solarized-dark-syntax": "1.3.0",
"solarized-light-syntax": "1.3.0",
"solarized-dark-syntax": "file:./packages/solarized-dark-syntax",
"solarized-light-syntax": "file:./packages/solarized-light-syntax",
"about": "file:./packages/about",
"archive-view": "0.65.1",
"autocomplete-atom-api": "0.10.7",
@ -194,16 +194,16 @@
"autosave": "0.24.6",
"background-tips": "0.28.0",
"bookmarks": "0.45.1",
"bracket-matcher": "0.90.3",
"bracket-matcher": "0.90.4",
"command-palette": "0.43.5",
"dalek": "file:./packages/dalek",
"deprecation-cop": "file:./packages/deprecation-cop",
"dev-live-reload": "file:./packages/dev-live-reload",
"encoding-selector": "0.23.9",
"exception-reporting": "file:./packages/exception-reporting",
"find-and-replace": "0.215.14",
"find-and-replace": "0.215.15",
"fuzzy-finder": "1.8.2",
"github": "0.23.0",
"github": "0.24.0",
"git-diff": "file:./packages/git-diff",
"go-to-line": "file:./packages/go-to-line",
"grammar-selector": "file:./packages/grammar-selector",
@ -220,7 +220,7 @@
"settings-view": "0.257.3",
"snippets": "1.4.0",
"spell-check": "0.74.2",
"status-bar": "1.8.16",
"status-bar": "1.8.17",
"styleguide": "0.49.12",
"symbols-view": "0.118.2",
"tabs": "0.109.2",
@ -241,7 +241,7 @@
"language-html": "0.51.5",
"language-hyperlink": "0.17.0",
"language-java": "0.31.1",
"language-javascript": "0.129.18",
"language-javascript": "0.129.19",
"language-json": "0.19.2",
"language-less": "0.34.3",
"language-make": "0.23.0",
@ -270,6 +270,7 @@
"preinstall": "node -e 'process.exit(0)'",
"test": "node script/test"
},
"standard-engine": "./script/node_modules/standard",
"standard": {
"env": {
"atomtest": true,

View File

@ -87,8 +87,8 @@ See [RFC 003](https://github.com/atom/atom/blob/master/docs/rfcs/003-consolidate
| **package-generator** | [`atom/package-generator`][package-generator] | [#18279](https://github.com/atom/atom/issues/18279) |
| **settings-view** | [`atom/settings-view`][settings-view] | |
| **snippets** | [`atom/snippets`][snippets] | |
| **solarized-dark-syntax** | [`atom/solarized-dark-syntax`][solarized-dark-syntax] | [#18280](https://github.com/atom/atom/issues/18280) |
| **solarized-light-syntax** | [`atom/solarized-light-syntax`][solarized-light-syntax] | [#18281](https://github.com/atom/atom/issues/18281) |
| **solarized-dark-syntax** | [`./solarized-dark-syntax`](./solarized-dark-syntax) | [#18280](https://github.com/atom/atom/issues/18280) |
| **solarized-light-syntax** | [`./solarized-light-syntax`](./solarized-light-syntax) | [#18281](https://github.com/atom/atom/issues/18281) |
| **spell-check** | [`atom/spell-check`][spell-check] | |
| **status-bar** | [`atom/status-bar`][status-bar] | [#18282](https://github.com/atom/atom/issues/18282) |
| **styleguide** | [`atom/styleguide`][styleguide] | [#18283](https://github.com/atom/atom/issues/18283) |
@ -158,8 +158,6 @@ See [RFC 003](https://github.com/atom/atom/blob/master/docs/rfcs/003-consolidate
[package-generator]: https://github.com/atom/package-generator
[settings-view]: https://github.com/atom/settings-view
[snippets]: https://github.com/atom/snippets
[solarized-dark-syntax]: https://github.com/atom/solarized-dark-syntax
[solarized-light-syntax]: https://github.com/atom/solarized-light-syntax
[spell-check]: https://github.com/atom/spell-check
[status-bar]: https://github.com/atom/status-bar
[styleguide]: https://github.com/atom/styleguide

View File

@ -0,0 +1,20 @@
Copyright (c) 2014 GitHub Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,9 @@
# Solarized Dark Syntax theme
Atom theme using the ever popular dark [solarized](http://ethanschoonover.com/solarized) colors.
<img alt="screenshot" src="https://cloud.githubusercontent.com/assets/378023/12602908/9c252b08-c4f0-11e5-8833-6aad91b8fa34.png" srcset="https://cloud.githubusercontent.com/assets/378023/12602909/9c25b366-c4f0-11e5-9f5d-aa6a517f7d7e.png 2x">
This theme is installed by default with Atom and can be activated by going to
the _Themes_ section in the Settings view (`cmd-,`) and selecting it from the
_Syntax Themes_ dropdown menu.

View File

@ -0,0 +1,22 @@
// Solarized Syntax Theme
@import "styles/syntax-variables.less";
// Editor
@import "styles/editor.less";
// Languages
@import "styles/syntax/_base.less";
@import "styles/syntax/c.less";
@import "styles/syntax/coffee.less";
@import "styles/syntax/css.less";
@import "styles/syntax/go.less";
@import "styles/syntax/java.less";
@import "styles/syntax/javascript.less";
@import "styles/syntax/markdown.less";
@import "styles/syntax/markup.less";
@import "styles/syntax/php.less";
@import "styles/syntax/python.less";
@import "styles/syntax/ruby.less";
@import "styles/syntax/scala.less";
@import "styles/syntax/typescript.less";

View File

@ -0,0 +1,11 @@
{
"name": "solarized-dark-syntax",
"theme": "syntax",
"version": "1.3.0",
"description": "A dark syntax theme using the solarized colors",
"repository": "https://github.com/atom/atom",
"license": "MIT",
"engines": {
"atom": ">0.50.0"
}
}

View File

@ -0,0 +1,27 @@
// Solarized color scheme
// http://ethanschoonover.com/solarized#the-values
// Background/Foreground Tones
@base03: #002b36;
@base02: #073642;
// Content Tones
@base01: #586e75;
@base00: #657b83;
@base0: #839496;
@base1: #93a1a1;
// Background/Foreground Tones
@base2: #eee8d5;
@base3: #fdf6e3;
// Accent Colors
@yellow: #b58900;
@orange: #cb4b16;
@red: #dc322f;
@magenta: #d33682;
@violet: #6c71c4;
@blue: #268bd2;
@cyan: #2aa198;
@green: #859900;

View File

@ -0,0 +1,44 @@
atom-text-editor {
color: @syntax-text-color;
background-color: @syntax-background-color;
.gutter {
color: @syntax-gutter-text-color;
background-color: @syntax-gutter-background-color;
.line-number {
&.cursor-line {
background-color: @syntax-gutter-background-color-selected;
}
}
}
.invisible-character {
color: @syntax-invisible-character-color;
}
.indent-guide {
color: @syntax-indent-guide-color;
}
.cursor {
border-color: @syntax-cursor-color;
}
.cursor-line {
background-color: @syntax-cursor-line;
}
.selection .region {
background-color: @syntax-selection-color;
}
.fold-marker:after,
.gutter .line-number.folded {
color: @magenta;
}
.bracket-matcher .region {
border-color: @magenta;
}
}

View File

@ -0,0 +1,55 @@
@import "colors.less";
// This defines all syntax variables that syntax themes must implement when they
// include a syntax-variables.less file.
// General colors
@syntax-text-color: @base0;
@syntax-cursor-color: @base3;
@syntax-selection-color: lighten(@base02, 1%);
@syntax-selection-flash-color: @base1;
@syntax-background-color: @base03;
// Guide colors
@syntax-wrap-guide-color: lighten(@base02, 6%);
@syntax-indent-guide-color: lighten(@base02, 6%);
@syntax-invisible-character-color: lighten(@base02, 6%);
// For find and replace markers
@syntax-result-marker-color: @cyan;
@syntax-result-marker-color-selected: @base3;
// Gutter colors
@syntax-gutter-text-color: @base0;
@syntax-gutter-text-color-selected: @base2;
@syntax-gutter-background-color: @base02;
@syntax-gutter-background-color-selected: lighten(@base02, 6%);
// For git diff info. i.e. in the gutter
@syntax-color-added: @green;
@syntax-color-renamed: @blue;
@syntax-color-modified: @yellow;
@syntax-color-removed: @red;
// For language entity colors
@syntax-color-variable: @blue;
@syntax-color-constant: @yellow;
@syntax-color-property: @yellow;
@syntax-color-value: @cyan;
@syntax-color-function: @blue;
@syntax-color-method: @blue;
@syntax-color-class: @blue;
@syntax-color-keyword: @green;
@syntax-color-tag: @blue;
@syntax-color-attribute: @syntax-comment-color;
@syntax-color-import: @red;
@syntax-color-snippet: @syntax-color-keyword;
// Custom variables
// Warning: Don't use in packages
@syntax-comment-color: @base01;
@syntax-subtle-color: @base00;
@syntax-emphasized-color: @base1;
@syntax-cursor-line: fade(lighten(@syntax-background-color, 30%), 8%); // needs to be semi-transparent

View File

@ -0,0 +1,100 @@
.syntax--comment {
color: @syntax-comment-color;
font-style: italic;
.syntax--markup.syntax--link {
color: @syntax-comment-color;
}
}
.syntax--string {
color: @cyan;
&.syntax--regexp {
color: @red;
}
}
.syntax--constant {
&.syntax--numeric {
color: @magenta;
}
&.syntax--language {
color: @yellow;
}
&.syntax--character,
&.syntax--other,
&.syntax--support {
color: @orange;
}
}
.syntax--variable {
color: @blue;
}
.syntax--keyword {
color: @green;
}
.syntax--storage {
color: @green;
}
.syntax--meta.syntax--class {
color: @blue;
}
.syntax--entity {
&.syntax--name {
&.syntax--class,
&.syntax--function,
&.syntax--section,
&.syntax--type {
color: @blue;
}
}
&.syntax--other.syntax--attribute-name {
color: @syntax-subtle-color;
}
}
.syntax--support {
&.syntax--function {
color: @blue;
&.syntax--builtin {
color: @green;
}
}
&.syntax--type,
&.syntax--class {
color: @green;
}
}
.syntax--tag {
&.syntax--entity.syntax--name {
color: @blue;
}
&.syntax--punctuation.syntax--definition {
&.syntax--html,
&.syntax--begin,
&.syntax--end {
color: @syntax-comment-color;
}
}
}
.syntax--invalid {
&.syntax--deprecated {
color: @yellow;
text-decoration: underline;
}
&.syntax--illegal {
color: @red;
text-decoration: underline;
}
}
.syntax--none {
color: @syntax-text-color;
}

View File

@ -0,0 +1,44 @@
.syntax--source.syntax--c,
.syntax--source.syntax--cpp {
.syntax--meta.syntax--preprocessor {
color: @red;
}
.syntax--keyword.syntax--control.syntax--directive {
color: @orange;
}
.syntax--punctuation.syntax--string {
color: @cyan;
}
.syntax--constant {
color: @orange;
&.syntax--numeric, &.syntax--language.syntax--c {
color: @cyan;
}
}
.syntax--storage {
color: @yellow;
}
.syntax--entity {
color: @syntax-text-color;
&.syntax--name.syntax--function.syntax--preprocessor {
color: @red;
}
}
.syntax--support.syntax--type {
color: @yellow;
&.syntax--posix-reserved {
color: @syntax-text-color;
}
}
.syntax--variable {
&.syntax--other.syntax--dot-access {
color: @syntax-text-color;
}
&.syntax--parameter.syntax--preprocessor {
color: @red;
}
}
}

View File

@ -0,0 +1,58 @@
.syntax--source.syntax--coffee {
.syntax--support.syntax--class {
color: @green;
}
.syntax--variable,
.syntax--entity.syntax--name.syntax--function,
.syntax--entity.syntax--name.syntax--class {
color: @blue;
}
.syntax--variable.syntax--parameter.syntax--function {
color: @syntax-text-color;
}
.syntax--variable.syntax--other.syntax--readwrite {
color: @green;
}
.syntax--storage.syntax--type.syntax--function {
color: @green;
}
.syntax--entity.syntax--name {
color: @syntax-text-color;
}
.syntax--meta.syntax--brace {
&.syntax--round,
&.syntax--square {
color: @syntax-text-color;
}
}
.syntax--meta.syntax--delimiter {
color: @syntax-text-color;
}
.syntax--storage.syntax--type.syntax--class {
color: @green;
}
.syntax--punctuation.syntax--terminator {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--section.syntax--embedded {
color: @red;
}
.syntax--embedded.syntax--source {
color: @syntax-text-color;
}
.syntax--constant.syntax--numeric {
color: @magenta;
}
.syntax--constant.syntax--language.syntax--boolean {
color: @yellow;
}
}

View File

@ -0,0 +1,63 @@
.syntax--source.syntax--css {
.syntax--punctuation {
&.syntax--separator,
&.syntax--terminator {
color: @syntax-text-color;
}
&.syntax--property-list.syntax--begin,
&.syntax--property-list.syntax--end {
color: @red;
}
&.syntax--section.syntax--function {
color: @cyan;
}
}
.syntax--entity.syntax--name {
color: @green;
}
.syntax--attribute-name.syntax--class,
.syntax--id {
color: @blue;
}
.syntax--pseudo-element,
.syntax--pseudo-class {
color: @orange;
}
.syntax--property-value {
color: @cyan;
}
.syntax--constant.syntax--numeric {
color: @cyan;
.syntax--unit {
color: @cyan;
}
}
.syntax--rgb-value {
color: @cyan;
}
.syntax--support.syntax--constant {
color: @cyan;
&.syntax--media {
color: @red;
}
}
.syntax--keyword.syntax--important {
color: @red;
}
}
// Less/Sass should have their own files,
// but for just a single override, here should be fine too
.syntax--source.syntax--less,
.syntax--source.syntax--scss {
.syntax--keyword.syntax--unit {
color: @cyan;
}
}

View File

@ -0,0 +1,10 @@
.syntax--source.syntax--go {
.syntax--operator {
color: @syntax-text-color;
&.syntax--assignment {
color: @green;
}
}
}

View File

@ -0,0 +1,47 @@
.syntax--source.syntax--java {
.syntax--keyword.syntax--operator{
color:@green;
}
.syntax--keyword.syntax--import{
color: @orange;
}
.syntax--storage.syntax--modifier.syntax--import{
color: @syntax-comment-color;
}
.syntax--meta.syntax--class{
.syntax--storage.syntax--modifier{
color: @yellow;
}
.syntax--meta.syntax--class.syntax--identifier{
.syntax--entity.syntax--name.syntax--type.syntax--class{
color: @blue;
}
}
}
.syntax--storage.syntax--type.syntax--primitive.syntax--array{
color:@green;
}
.syntax--constant.syntax--numeric{
color:@magenta;
}
.syntax--constant.syntax--other{
color:@orange;
}
.syntax--storage.syntax--type{
color:@green;
}
.syntax--meta.syntax--method-call{
//@ibocon: method parameter's color
color:@red;
//@ibocon: method and variable use different hightlight
.syntax--meta.syntax--method{
color:@violet;
}
.syntax--punctuation.syntax--definition.syntax--seperator.syntax--parameter{
color:@green;
}
}
.syntax--punctuation.syntax--definition.syntax--method-parameters{
color: @syntax-emphasized-color;
}
}

View File

@ -0,0 +1,128 @@
.syntax--source.syntax--js {
.syntax--comma {
color: @syntax-text-color;
}
.syntax--support.syntax--class {
color: @green;
}
.syntax--entity {
&.syntax--name.syntax--type {
color: @yellow;
}
&.syntax--name {
color: @syntax-text-color;
&.syntax--function {
color: @blue;
}
}
&.syntax--name.syntax--tag {
color: @blue;
}
&.syntax--other.syntax--attribute-name {
color: @yellow;
}
}
.syntax--meta.syntax--brace {
color: @syntax-text-color;
}
.syntax--keyword {
color: @syntax-text-color;
}
.syntax--keyword.syntax--operator.syntax--new {
color: @green;
}
.syntax--keyword.syntax--control {
color: @orange;
}
.syntax--keyword.syntax--control.syntax--regexp {
color: @cyan;
}
.syntax--variable {
color: @syntax-text-color;
}
.syntax--variable.syntax--dom {
color: @green;
}
.syntax--delimiter + .syntax--dom {
color: @syntax-text-color;
}
.syntax--name {
color: @syntax-text-color;
}
.syntax--variable.syntax--language {
color: @blue;
}
.syntax--variable.syntax--parameter {
color: @syntax-text-color;
}
.syntax--regexp {
color: @cyan;
}
.syntax--support.syntax--function {
color: @syntax-text-color;
}
.syntax--support.syntax--constant {
color: @syntax-text-color;
}
.syntax--storage.syntax--modifier {
color: @yellow;
}
.syntax--punctuation.syntax--terminator.syntax--statement {
color: @syntax-text-color;
}
.syntax--meta.syntax--delimiter.syntax--method.syntax--period {
color: @syntax-text-color;
}
.syntax--meta.syntax--brace.syntax--square {
color: @blue;
}
.syntax--meta.syntax--brace.syntax--curly {
color: @blue;
}
.syntax--string.syntax--quoted.syntax--template {
.syntax--embedded.syntax--source {
color: @syntax-text-color;
& > .syntax--embedded.syntax--punctuation {
color: @red;
}
}
}
&.syntax--embedded .syntax--entity.syntax--name.syntax--tag {
color: @blue;
}
.syntax--import {
.syntax--control {
color: @orange;
}
}
}
// JavaScript (Rails) language-ruby-on-rails
.syntax--source.syntax--js.syntax--rails {
.syntax--instance {
color: @blue;
}
.syntax--class {
color: @yellow;
}
}

View File

@ -0,0 +1,26 @@
.syntax--md,
.syntax--gfm {
.syntax--link .syntax--entity {
color: @violet;
}
.syntax--list {
&.syntax--ordered {
color: @green;
}
&.syntax--unordered {
color: @yellow;
}
}
.syntax--raw {
font-style: italic;
}
&.syntax--support {
color:@syntax-comment-color;
&.syntax--quote {
color: @violet;
}
}
}

View File

@ -0,0 +1,30 @@
.syntax--markup {
&.syntax--bold {
font-weight: bold;
}
&.syntax--italic {
font-style: italic;
}
&.syntax--heading {
color: @blue;
}
&.syntax--link {
color: @cyan;
}
&.syntax--deleted {
color: @red;
}
&.syntax--changed {
color: @yellow;
}
&.syntax--inserted {
color: @cyan;
}
}

View File

@ -0,0 +1,67 @@
.syntax--source.syntax--php {
.syntax--storage {
&.syntax--type {
&.syntax--class {
color: @yellow;
}
&.syntax--function {
color: @orange;
}
}
&.syntax--modifier {
color: @yellow;
}
}
.syntax--entity {
&.syntax--name {
&.syntax--type.syntax--class {
color: @syntax-text-color;
}
&.syntax--function {
color: @syntax-text-color;
}
}
&.syntax--other {
color: @syntax-text-color;
}
}
.syntax--variable {
color: @blue;
}
.syntax--punctuation.syntax--definition {
color: @syntax-text-color;
&.syntax--comment {
color: @syntax-comment-color;
}
&.syntax--array {
color: @red;
}
&.syntax--string {
color: @syntax-text-color;
}
&.syntax--variable {
color: @green;
}
}
.syntax--support.syntax--function {
&.syntax--construct {
color: @yellow;
}
&.syntax--array {
color: @green;
}
}
.syntax--keyword {
&.syntax--operator {
&.syntax--class {
color: @yellow;
}
&.syntax--assignment {
color: @green;
}
}
&.syntax--other {
color: @red;
}
}
}

View File

@ -0,0 +1,100 @@
.syntax--source.syntax--python {
.syntax--entity {
color: @syntax-text-color;
&.syntax--name {
color: @blue;
}
&.syntax--other {
color: @blue;
}
}
.syntax--function {
color: @blue;
&.syntax--magic {
color: @blue;
}
}
.syntax--punctuation.syntax--string {
color: @cyan;
}
.syntax--keyword {
&.syntax--operator {
color: @syntax-text-color;
&.syntax--quantifier {
color: @cyan;
}
&.syntax--logical {
color: @green;
}
}
&.syntax--control.syntax--import {
color: @orange;
}
&.syntax--other {
color: @green;
}
}
.syntax--constant {
&.syntax--language {
color: @blue;
}
&.syntax--character {
color: @cyan;
}
&.syntax--other {
color: @red;
}
}
.syntax--entity.syntax--name.syntax--type.syntax--class {
color: @blue;
}
.syntax--variable {
color: @syntax-text-color;
}
.syntax--support {
&.syntax--function.syntax--builtin {
color: @blue;
}
&.syntax--type {
&.syntax--exception.syntax--python {
color: @yellow;
}
&.syntax--python {
color: @blue;
}
}
}
.syntax--storage.syntax--type.syntax--string {
color: @cyan;
}
.syntax--storage.syntax--type.syntax--class {
color: @green;
&.syntax--todo {
color: @magenta;
}
}
.syntax--storage.syntax--type.syntax--function {
color: @green;
}
.syntax--punctuation.syntax--definition.syntax--parameters {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--section.syntax--function.syntax--begin {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--separator.syntax--parameters {
color: @syntax-text-color;
}
}

View File

@ -0,0 +1,129 @@
.syntax--source.syntax--ruby {
.syntax--meta.syntax--embedded {
.syntax--punctuation.syntax--section {
color: @red;
}
}
.syntax--punctuation.syntax--definition {
color: @syntax-text-color;
&.syntax--string {
color: @red;
}
}
.syntax--punctuation.syntax--definition.syntax--comment {
color: @syntax-comment-color;
}
.syntax--entity.syntax--inherited-class {
color: @yellow;
}
.syntax--variable {
&.syntax--parameter {
color: @syntax-text-color;
}
}
.syntax--variable.syntax--constant {
color: @yellow;
}
.syntax--constant.syntax--boolean {
color: @cyan;
}
.syntax--instance {
.syntax--punctuation.syntax--definition {
color: @blue;
}
}
.syntax--class {
color: @yellow;
&.syntax--control {
color: @syntax-text-color;
}
}
.syntax--module {
color: @yellow;
}
.syntax--require {
.syntax--keyword.syntax--other.syntax--special-method {
color: @orange;
}
}
.syntax--keyword.syntax--other.syntax--special-method {
color: @orange;
}
.syntax--keyword.syntax--other {
color: @green;
}
.syntax--keyword.syntax--control {
color: @green;
}
.syntax--keyword.syntax--operator {
color: @syntax-text-color;
}
.syntax--special-method {
color: @blue;
}
.syntax--symbol {
color: @cyan;
.syntax--punctuation.syntax--definition {
color: @cyan;
}
}
.syntax--hashkey {
color: @red;
.syntax--punctuation.syntax--definition {
color: @red;
}
}
.syntax--string.syntax--regexp {
color: @red;
}
.syntax--todo {
color: @magenta;
}
.syntax--variable.syntax--ruby.syntax--global {
color: @blue;
.syntax--punctuation {
color: @blue;
}
}
.syntax--variable.syntax--block {
color: @blue;
}
.syntax--variable.syntax--self {
color: @cyan;
}
.syntax--punctuation.syntax--separator {
color: @syntax-text-color;
}
.syntax--numeric {
color: @cyan;
}
.syntax--punctuation.syntax--section.syntax--regexp {
color: @red;
}
.syntax--string.syntax--interpolated {
color: @cyan;
}
.syntax--string.syntax--interpolated {
.syntax--embedded.syntax--line.syntax--ruby {
.syntax--punctuation {
.syntax--source.syntax--ruby {
color: @red;
}
}
.syntax--source.syntax--ruby {
.syntax--punctuation.syntax--array,
.syntax--punctuation.syntax--function {
color: @syntax-text-color;
}
color: @syntax-text-color;
}
}
}
.syntax--support.syntax--function {
color: @syntax-text-color;
}
.syntax--support.syntax--function.syntax--kernel {
color: @green;
}
}

View File

@ -0,0 +1,79 @@
.syntax--source.syntax--scala {
.syntax--variable {
color: @syntax-emphasized-color;
}
.syntax--declaration {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--comparison {
color: @syntax-emphasized-color;
}
.syntax--class, .syntax--type {
color: @yellow;
}
.syntax--val {
font-weight: normal;
}
.syntax--variable {
font-weight: bold;
}
.syntax--variable.syntax--parameter {
color: @violet;
font-weight: normal;
}
.syntax--control.syntax--flow {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--constant.syntax--language {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--function.syntax--declaration {
color: @violet;
}
.syntax--modifier.syntax--other {
font-weight: bold;
}
.syntax--package {
color: @syntax-emphasized-color;
}
.syntax--variable.syntax--import {
font-weight: normal;
}
.syntax--type {
.syntax--bounds, .syntax--class {
color: @violet;
}
}
.syntax--documentation {
:not(.syntax--embedded) {
// out of scope ?
// https://github.syntax--com/atom/link
&.syntax--link.syntax--entity {
color: @blue;
text-decoration: underline;
}
.syntax--class, .syntax--parameter {
color: @syntax-emphasized-color;
}
.syntax--description {
color: @syntax-comment-color;
}
}
}
.syntax--embedded {
color: darken(@syntax-emphasized-color, 15%);
// so we dont confused it with normal expressions
font-style: italic;
.syntax--margin, .syntax--delimiters {
font-style: normal;
}
}
}

View File

@ -0,0 +1,22 @@
.syntax--source.syntax--ts,
.syntax--source.syntax--tsx {
.syntax--import {
.syntax--control {
color: @orange;
}
}
.syntax--entity {
&.syntax--name.syntax--type {
color: @yellow;
}
&.syntax--inherited-class {
color: @yellow;
}
}
.syntax--support.syntax--type {
color: @yellow;
}
}

View File

@ -0,0 +1,20 @@
Copyright (c) 2014 GitHub Inc.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,9 @@
# Solarized Light Syntax theme
Atom theme using the ever popular light [solarized](http://ethanschoonover.com/solarized) colors.
<img alt="screenshot" src="https://cloud.githubusercontent.com/assets/378023/12602186/87edab3e-c4ea-11e5-8f4a-4b7defda283b.png" srcset="https://cloud.githubusercontent.com/assets/378023/12602177/78d568da-c4ea-11e5-836d-e922ca5c850a.png 2x">
This theme is installed by default with Atom and can be activated by going to
the _Themes_ section in the Settings view (`cmd-,`) and selecting it from the
_Syntax Themes_ dropdown menu.

View File

@ -0,0 +1,22 @@
// Solarized Syntax Theme
@import "styles/syntax-variables.less";
// Editor
@import "styles/editor.less";
// Languages
@import "styles/syntax/_base.less";
@import "styles/syntax/c.less";
@import "styles/syntax/coffee.less";
@import "styles/syntax/css.less";
@import "styles/syntax/go.less";
@import "styles/syntax/java.less";
@import "styles/syntax/javascript.less";
@import "styles/syntax/markdown.less";
@import "styles/syntax/markup.less";
@import "styles/syntax/php.less";
@import "styles/syntax/python.less";
@import "styles/syntax/ruby.less";
@import "styles/syntax/scala.less";
@import "styles/syntax/typescript.less";

View File

@ -0,0 +1,11 @@
{
"name": "solarized-light-syntax",
"theme": "syntax",
"version": "1.3.0",
"description": "A light syntax theme using the solarized colors",
"repository": "https://github.com/atom/atom",
"license": "MIT",
"engines": {
"atom": ">0.50.0"
}
}

View File

@ -0,0 +1,27 @@
// Solarized color scheme
// http://ethanschoonover.com/solarized#the-values
// Background/Foreground Tones
@base03: #002b36;
@base02: #073642;
// Content Tones
@base01: #586e75;
@base00: #657b83;
@base0: #839496;
@base1: #93a1a1;
// Background/Foreground Tones
@base2: #eee8d5;
@base3: #fdf6e3;
// Accent Colors
@yellow: #b58900;
@orange: #cb4b16;
@red: #dc322f;
@magenta: #d33682;
@violet: #6c71c4;
@blue: #268bd2;
@cyan: #2aa198;
@green: #859900;

View File

@ -0,0 +1,44 @@
atom-text-editor {
color: @syntax-text-color;
background-color: @syntax-background-color;
.gutter {
color: @syntax-gutter-text-color;
background-color: @syntax-gutter-background-color;
.line-number {
&.cursor-line {
background-color: @syntax-gutter-background-color-selected;
}
}
}
.invisible-character {
color: @syntax-invisible-character-color;
}
.indent-guide {
color: @syntax-indent-guide-color;
}
.cursor {
border-color: @syntax-cursor-color;
}
.cursor-line {
background-color: @syntax-cursor-line;
}
.selection .region {
background-color: @syntax-selection-color;
}
.fold-marker:after,
.gutter .line-number.folded {
color: @magenta;
}
.bracket-matcher .region {
border-color: @magenta;
}
}

View File

@ -0,0 +1,55 @@
@import "colors.less";
// This defines all syntax variables that syntax themes must implement when they
// include a syntax-variables.less file.
// General colors
@syntax-text-color: @base00;
@syntax-cursor-color: @base03;
@syntax-selection-color: @base2;
@syntax-selection-flash-color: @base0;
@syntax-background-color: @base3;
// Guide colors
@syntax-wrap-guide-color: darken(@base2, 12%);
@syntax-indent-guide-color: darken(@base2, 12%);
@syntax-invisible-character-color: darken(@base2, 12%);
// For find and replace markers
@syntax-result-marker-color: @base1;
@syntax-result-marker-color-selected: @base03;
// Gutter colors
@syntax-gutter-text-color: @base00;
@syntax-gutter-text-color-selected: @base03;
@syntax-gutter-background-color: @base2;
@syntax-gutter-background-color-selected: darken(@syntax-gutter-background-color, 10%);
// For git diff info. i.e. in the gutter
@syntax-color-added: @green;
@syntax-color-renamed: @blue;
@syntax-color-modified: @yellow;
@syntax-color-removed: @red;
// For language entity colors
@syntax-color-variable: @blue;
@syntax-color-constant: @yellow;
@syntax-color-property: @yellow;
@syntax-color-value: @cyan;
@syntax-color-function: @blue;
@syntax-color-method: @blue;
@syntax-color-class: @blue;
@syntax-color-keyword: @green;
@syntax-color-tag: @blue;
@syntax-color-attribute: @syntax-comment-color;
@syntax-color-import: @red;
@syntax-color-snippet: @syntax-color-keyword;
// Custom variables
// Warning: Don't use in packages
@syntax-comment-color: @base1;
@syntax-subtle-color: @base00;
@syntax-emphasized-color: @base01;
@syntax-cursor-line: fade(darken(@syntax-background-color, 30%), 15%); // needs to be semi-transparent

View File

@ -0,0 +1,100 @@
.syntax--comment {
color: @syntax-comment-color;
font-style: italic;
.syntax--markup.syntax--link {
color: @syntax-comment-color;
}
}
.syntax--string {
color: @cyan;
&.syntax--regexp {
color: @red;
}
}
.syntax--constant {
&.syntax--numeric {
color: @magenta;
}
&.syntax--language {
color: @yellow;
}
&.syntax--character,
&.syntax--other,
&.syntax--support {
color: @orange;
}
}
.syntax--variable {
color: @blue;
}
.syntax--keyword {
color: @green;
}
.syntax--storage {
color: @green;
}
.syntax--meta.syntax--class {
color: @blue;
}
.syntax--entity {
&.syntax--name {
&.syntax--class,
&.syntax--function,
&.syntax--section,
&.syntax--type {
color: @blue;
}
}
&.syntax--other.syntax--attribute-name {
color: @syntax-subtle-color;
}
}
.syntax--support {
&.syntax--function {
color: @blue;
&.syntax--builtin {
color: @green;
}
}
&.syntax--type,
&.syntax--class {
color: @green;
}
}
.syntax--tag {
&.syntax--entity.syntax--name {
color: @blue;
}
&.syntax--punctuation.syntax--definition {
&.syntax--html,
&.syntax--begin,
&.syntax--end {
color: @syntax-comment-color;
}
}
}
.syntax--invalid {
&.syntax--deprecated {
color: @yellow;
text-decoration: underline;
}
&.syntax--illegal {
color: @red;
text-decoration: underline;
}
}
.syntax--none {
color: @syntax-text-color;
}

View File

@ -0,0 +1,44 @@
.syntax--source.syntax--c,
.syntax--source.syntax--cpp {
.syntax--meta.syntax--preprocessor {
color: @red;
}
.syntax--keyword.syntax--control.syntax--directive {
color: @orange;
}
.syntax--punctuation.syntax--string {
color: @cyan;
}
.syntax--constant {
color: @orange;
&.syntax--numeric, &.syntax--language.syntax--c {
color: @cyan;
}
}
.syntax--storage {
color: @yellow;
}
.syntax--entity {
color: @syntax-text-color;
&.syntax--name.syntax--function.syntax--preprocessor {
color: @red;
}
}
.syntax--support.syntax--type {
color: @yellow;
&.syntax--posix-reserved {
color: @syntax-text-color;
}
}
.syntax--variable {
&.syntax--other.syntax--dot-access {
color: @syntax-text-color;
}
&.syntax--parameter.syntax--preprocessor {
color: @red;
}
}
}

View File

@ -0,0 +1,58 @@
.syntax--source.syntax--coffee {
.syntax--support.syntax--class {
color: @green;
}
.syntax--variable,
.syntax--entity.syntax--name.syntax--function,
.syntax--entity.syntax--name.syntax--class {
color: @blue;
}
.syntax--variable.syntax--parameter.syntax--function {
color: @syntax-text-color;
}
.syntax--variable.syntax--other.syntax--readwrite {
color: @green;
}
.syntax--storage.syntax--type.syntax--function {
color: @green;
}
.syntax--entity.syntax--name {
color: @syntax-text-color;
}
.syntax--meta.syntax--brace {
&.syntax--round,
&.syntax--square {
color: @syntax-text-color;
}
}
.syntax--meta.syntax--delimiter {
color: @syntax-text-color;
}
.syntax--storage.syntax--type.syntax--class {
color: @green;
}
.syntax--punctuation.syntax--terminator {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--section.syntax--embedded {
color: @red;
}
.syntax--embedded.syntax--source {
color: @syntax-text-color;
}
.syntax--constant.syntax--numeric {
color: @magenta;
}
.syntax--constant.syntax--language.syntax--boolean {
color: @yellow;
}
}

View File

@ -0,0 +1,63 @@
.syntax--source.syntax--css {
.syntax--punctuation {
&.syntax--separator,
&.syntax--terminator {
color: @syntax-text-color;
}
&.syntax--property-list.syntax--begin,
&.syntax--property-list.syntax--end {
color: @red;
}
&.syntax--section.syntax--function {
color: @cyan;
}
}
.syntax--entity.syntax--name {
color: @green;
}
.syntax--attribute-name.syntax--class,
.syntax--id {
color: @blue;
}
.syntax--pseudo-element,
.syntax--pseudo-class {
color: @orange;
}
.syntax--property-value {
color: @cyan;
}
.syntax--constant.syntax--numeric {
color: @cyan;
.syntax--unit {
color: @cyan;
}
}
.syntax--rgb-value {
color: @cyan;
}
.syntax--support.syntax--constant {
color: @cyan;
&.syntax--media {
color: @red;
}
}
.syntax--keyword.syntax--important {
color: @red;
}
}
// Less/Sass should have their own files,
// but for just a single override, here should be fine too
.syntax--source.syntax--less,
.syntax--source.syntax--scss {
.syntax--keyword.syntax--unit {
color: @cyan;
}
}

View File

@ -0,0 +1,10 @@
.syntax--source.syntax--go {
.syntax--operator {
color: @syntax-text-color;
&.syntax--assignment {
color: @green;
}
}
}

View File

@ -0,0 +1,47 @@
.syntax--source.syntax--java {
.syntax--keyword.syntax--operator{
color:@green;
}
.syntax--keyword.syntax--import{
color: @orange;
}
.syntax--storage.syntax--modifier.syntax--import{
color: @syntax-comment-color;
}
.syntax--meta.syntax--class{
.syntax--storage.syntax--modifier{
color: @yellow;
}
.syntax--meta.syntax--class.syntax--identifier{
.syntax--entity.syntax--name.syntax--type.syntax--class{
color: @blue;
}
}
}
.syntax--storage.syntax--type.syntax--primitive.syntax--array{
color:@green;
}
.syntax--constant.syntax--numeric{
color:@magenta;
}
.syntax--constant.syntax--other{
color:@orange;
}
.syntax--storage.syntax--type{
color:@green;
}
.syntax--meta.syntax--method-call{
//@ibocon: method parameter's color
color:@red;
//@ibocon: method and variable use different hightlight
.syntax--meta.syntax--method{
color:@violet;
}
.syntax--punctuation.syntax--definition.syntax--seperator.syntax--parameter{
color:@green;
}
}
.syntax--punctuation.syntax--definition.syntax--method-parameters{
color: @syntax-emphasized-color;
}
}

View File

@ -0,0 +1,128 @@
.syntax--source.syntax--js {
.syntax--comma {
color: @syntax-text-color;
}
.syntax--support.syntax--class {
color: @green;
}
.syntax--entity {
&.syntax--name.syntax--type {
color: @yellow;
}
&.syntax--name {
color: @syntax-text-color;
&.syntax--function {
color: @blue;
}
}
&.syntax--name.syntax--tag {
color: @blue;
}
&.syntax--other.syntax--attribute-name {
color: @yellow;
}
}
.syntax--meta.syntax--brace {
color: @syntax-text-color;
}
.syntax--keyword {
color: @syntax-text-color;
}
.syntax--keyword.syntax--operator.syntax--new {
color: @green;
}
.syntax--keyword.syntax--control {
color: @orange;
}
.syntax--keyword.syntax--control.syntax--regexp {
color: @cyan;
}
.syntax--variable {
color: @syntax-text-color;
}
.syntax--variable.syntax--dom {
color: @green;
}
.syntax--delimiter + .syntax--dom {
color: @syntax-text-color;
}
.syntax--name {
color: @syntax-text-color;
}
.syntax--variable.syntax--language {
color: @blue;
}
.syntax--variable.syntax--parameter {
color: @syntax-text-color;
}
.syntax--regexp {
color: @cyan;
}
.syntax--support.syntax--function {
color: @syntax-text-color;
}
.syntax--support.syntax--constant {
color: @syntax-text-color;
}
.syntax--storage.syntax--modifier {
color: @yellow;
}
.syntax--punctuation.syntax--terminator.syntax--statement {
color: @syntax-text-color;
}
.syntax--meta.syntax--delimiter.syntax--method.syntax--period {
color: @syntax-text-color;
}
.syntax--meta.syntax--brace.syntax--square {
color: @blue;
}
.syntax--meta.syntax--brace.syntax--curly {
color: @blue;
}
.syntax--string.syntax--quoted.syntax--template {
.syntax--embedded.syntax--source {
color: @syntax-text-color;
& > .syntax--embedded.syntax--punctuation {
color: @red;
}
}
}
&.syntax--embedded .syntax--entity.syntax--name.syntax--tag {
color: @blue;
}
.syntax--import {
.syntax--control {
color: @orange;
}
}
}
// JavaScript (Rails) language-ruby-on-rails
.syntax--source.syntax--js.syntax--rails {
.syntax--instance {
color: @blue;
}
.syntax--class {
color: @yellow;
}
}

View File

@ -0,0 +1,26 @@
.syntax--md,
.syntax--gfm {
.syntax--link .syntax--entity {
color: @violet;
}
.syntax--list {
&.syntax--ordered {
color: @green;
}
&.syntax--unordered {
color: @yellow;
}
}
.syntax--raw {
font-style: italic;
}
&.syntax--support {
color:@syntax-comment-color;
&.syntax--quote {
color: @violet;
}
}
}

View File

@ -0,0 +1,30 @@
.syntax--markup {
&.syntax--bold {
font-weight: bold;
}
&.syntax--italic {
font-style: italic;
}
&.syntax--heading {
color: @blue;
}
&.syntax--link {
color: @cyan;
}
&.syntax--deleted {
color: @red;
}
&.syntax--changed {
color: @yellow;
}
&.syntax--inserted {
color: @cyan;
}
}

View File

@ -0,0 +1,67 @@
.syntax--source.syntax--php {
.syntax--storage {
&.syntax--type {
&.syntax--class {
color: @yellow;
}
&.syntax--function {
color: @orange;
}
}
&.syntax--modifier {
color: @yellow;
}
}
.syntax--entity {
&.syntax--name {
&.syntax--type.syntax--class {
color: @syntax-text-color;
}
&.syntax--function {
color: @syntax-text-color;
}
}
&.syntax--other {
color: @syntax-text-color;
}
}
.syntax--variable {
color: @blue;
}
.syntax--punctuation.syntax--definition {
color: @syntax-text-color;
&.syntax--comment {
color: @syntax-comment-color;
}
&.syntax--array {
color: @red;
}
&.syntax--string {
color: @syntax-text-color;
}
&.syntax--variable {
color: @green;
}
}
.syntax--support.syntax--function {
&.syntax--construct {
color: @yellow;
}
&.syntax--array {
color: @green;
}
}
.syntax--keyword {
&.syntax--operator {
&.syntax--class {
color: @yellow;
}
&.syntax--assignment {
color: @green;
}
}
&.syntax--other {
color: @red;
}
}
}

View File

@ -0,0 +1,100 @@
.syntax--source.syntax--python {
.syntax--entity {
color: @syntax-text-color;
&.syntax--name {
color: @blue;
}
&.syntax--other {
color: @blue;
}
}
.syntax--function {
color: @blue;
&.syntax--magic {
color: @blue;
}
}
.syntax--punctuation.syntax--string {
color: @cyan;
}
.syntax--keyword {
&.syntax--operator {
color: @syntax-text-color;
&.syntax--quantifier {
color: @cyan;
}
&.syntax--logical {
color: @green;
}
}
&.syntax--control.syntax--import {
color: @orange;
}
&.syntax--other {
color: @green;
}
}
.syntax--constant {
&.syntax--language {
color: @blue;
}
&.syntax--character {
color: @cyan;
}
&.syntax--other {
color: @red;
}
}
.syntax--entity.syntax--name.syntax--type.syntax--class {
color: @blue;
}
.syntax--variable {
color: @syntax-text-color;
}
.syntax--support {
&.syntax--function.syntax--builtin {
color: @blue;
}
&.syntax--type {
&.syntax--exception.syntax--python {
color: @yellow;
}
&.syntax--python {
color: @blue;
}
}
}
.syntax--storage.syntax--type.syntax--string {
color: @cyan;
}
.syntax--storage.syntax--type.syntax--class {
color: @green;
&.syntax--todo {
color: @magenta;
}
}
.syntax--storage.syntax--type.syntax--function {
color: @green;
}
.syntax--punctuation.syntax--definition.syntax--parameters {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--section.syntax--function.syntax--begin {
color: @syntax-text-color;
}
.syntax--punctuation.syntax--separator.syntax--parameters {
color: @syntax-text-color;
}
}

View File

@ -0,0 +1,129 @@
.syntax--source.syntax--ruby {
.syntax--meta.syntax--embedded {
.syntax--punctuation.syntax--section {
color: @red;
}
}
.syntax--punctuation.syntax--definition {
color: @syntax-text-color;
&.syntax--string {
color: @red;
}
}
.syntax--punctuation.syntax--definition.syntax--comment {
color: @syntax-comment-color;
}
.syntax--entity.syntax--inherited-class {
color: @yellow;
}
.syntax--variable {
&.syntax--parameter {
color: @syntax-text-color;
}
}
.syntax--variable.syntax--constant {
color: @yellow;
}
.syntax--constant.syntax--boolean {
color: @cyan;
}
.syntax--instance {
.syntax--punctuation.syntax--definition {
color: @blue;
}
}
.syntax--class {
color: @yellow;
&.syntax--control {
color: @syntax-text-color;
}
}
.syntax--module {
color: @yellow;
}
.syntax--require {
.syntax--keyword.syntax--other.syntax--special-method {
color: @orange;
}
}
.syntax--keyword.syntax--other.syntax--special-method {
color: @orange;
}
.syntax--keyword.syntax--other {
color: @green;
}
.syntax--keyword.syntax--control {
color: @green;
}
.syntax--keyword.syntax--operator {
color: @syntax-text-color;
}
.syntax--special-method {
color: @blue;
}
.syntax--symbol {
color: @cyan;
.syntax--punctuation.syntax--definition {
color: @cyan;
}
}
.syntax--hashkey {
color: @red;
.syntax--punctuation.syntax--definition {
color: @red;
}
}
.syntax--string.syntax--regexp {
color: @red;
}
.syntax--todo {
color: @magenta;
}
.syntax--variable.syntax--ruby.syntax--global {
color: @blue;
.syntax--punctuation {
color: @blue;
}
}
.syntax--variable.syntax--block {
color: @blue;
}
.syntax--variable.syntax--self {
color: @cyan;
}
.syntax--punctuation.syntax--separator {
color: @syntax-text-color;
}
.syntax--numeric {
color: @cyan;
}
.syntax--punctuation.syntax--section.syntax--regexp {
color: @red;
}
.syntax--string.syntax--interpolated {
color: @cyan;
}
.syntax--string.syntax--interpolated {
.syntax--embedded.syntax--line.syntax--ruby {
.syntax--punctuation {
.syntax--source.syntax--ruby {
color: @red;
}
}
.syntax--source.syntax--ruby {
.syntax--punctuation.syntax--array,
.syntax--punctuation.syntax--function {
color: @syntax-text-color;
}
color: @syntax-text-color;
}
}
}
.syntax--support.syntax--function {
color: @syntax-text-color;
}
.syntax--support.syntax--function.syntax--kernel {
color: @green;
}
}

View File

@ -0,0 +1,79 @@
.syntax--source.syntax--scala {
.syntax--variable {
color: @syntax-emphasized-color;
}
.syntax--declaration {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--comparison {
color: @syntax-emphasized-color;
}
.syntax--class, .syntax--type {
color: @yellow;
}
.syntax--val {
font-weight: normal;
}
.syntax--variable {
font-weight: bold;
}
.syntax--variable.syntax--parameter {
color: @violet;
font-weight: normal;
}
.syntax--control.syntax--flow {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--constant.syntax--language {
color: @syntax-emphasized-color;
font-weight: bold;
}
.syntax--function.syntax--declaration {
color: @violet;
}
.syntax--modifier.syntax--other {
font-weight: bold;
}
.syntax--package {
color: @syntax-emphasized-color;
}
.syntax--variable.syntax--import {
font-weight: normal;
}
.syntax--type {
.syntax--bounds, .syntax--class {
color: @violet;
}
}
.syntax--documentation {
:not(.syntax--embedded) {
// out of scope ?
// https://github.syntax--com/atom/link
&.syntax--link.syntax--entity {
color: @blue;
text-decoration: underline;
}
.syntax--class, .syntax--parameter {
color: @syntax-emphasized-color;
}
.syntax--description {
color: @syntax-comment-color;
}
}
}
.syntax--embedded {
color: darken(@syntax-emphasized-color, 15%);
// so we dont confused it with normal expressions
font-style: italic;
.syntax--margin, .syntax--delimiters {
font-style: normal;
}
}
}

View File

@ -0,0 +1,22 @@
.syntax--source.syntax--ts,
.syntax--source.syntax--tsx {
.syntax--import {
.syntax--control {
color: @orange;
}
}
.syntax--entity {
&.syntax--name.syntax--type {
color: @yellow;
}
&.syntax--inherited-class {
color: @yellow;
}
}
.syntax--support.syntax--type {
color: @yellow;
}
}

View File

@ -3,10 +3,12 @@ const path = require('path')
const CONFIG = require('../config')
module.exports = function () {
// We can't require fs-extra if `script/bootstrap` has never been run, because
// it's a third party module. This is okay because cleaning dependencies only
// makes sense if dependencies have been installed at least once.
// We can't require fs-extra or glob if `script/bootstrap` has never been run,
// because they are third party modules. This is okay because cleaning
// dependencies only makes sense if dependencies have been installed at least
// once.
const fs = require('fs-extra')
const glob = require('glob')
const apmDependenciesPath = path.join(CONFIG.apmRootPath, 'node_modules')
console.log(`Cleaning ${apmDependenciesPath}`)
@ -19,4 +21,9 @@ module.exports = function () {
const scriptDependenciesPath = path.join(CONFIG.scriptRootPath, 'node_modules')
console.log(`Cleaning ${scriptDependenciesPath}`)
fs.removeSync(scriptDependenciesPath)
const bundledPackageDependenciesPaths = path.join(CONFIG.repositoryRootPath, 'packages', '**', 'node_modules')
for (const bundledPackageDependencyPath of glob.sync(bundledPackageDependenciesPaths)) {
fs.removeSync(bundledPackageDependencyPath)
}
}

View File

@ -37,6 +37,7 @@ module.exports = function (packagedAppPath) {
requiredModuleRelativePath.endsWith(path.join('node_modules', 'minimatch', 'minimatch.js')) ||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'request', 'index.js')) ||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'request', 'request.js')) ||
requiredModuleRelativePath.endsWith(path.join('node_modules', 'temp', 'lib', 'temp.js')) ||
requiredModuleRelativePath === path.join('..', 'exports', 'atom.js') ||
requiredModuleRelativePath === path.join('..', 'src', 'electron-shims.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'atom-keymap', 'lib', 'command-event.js') ||
@ -60,7 +61,6 @@ module.exports = function (packagedAppPath) {
requiredModuleRelativePath === path.join('..', 'node_modules', 'spelling-manager', 'node_modules', 'natural', 'lib', 'natural', 'index.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'tar', 'tar.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'ls-archive', 'node_modules', 'tar', 'tar.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'temp', 'lib', 'temp.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'tmp', 'lib', 'tmp.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'tree-sitter', 'index.js') ||
requiredModuleRelativePath === path.join('..', 'node_modules', 'yauzl', 'index.js') ||

View File

@ -649,9 +649,9 @@
}
},
"bindings": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz",
"integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw=="
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.1.tgz",
"integrity": "sha512-i47mqjF9UbjxJhxGf+pZ6kSxrnI3wBLlnGI2ArWJ4r0VrvDS7ZYXkprq/pLaBWYq4GM0r4zdHY+NNRqEMU7uew=="
},
"bl": {
"version": "1.2.2",
@ -921,9 +921,9 @@
"integrity": "sha512-7I/xceXfKyUJmSAn/jw8ve/9DyOP7XxufNYLI9Px7CmsKgEUaZLUTax6nZxGQtaoiZCjpu6cHPj20xC/vqRReQ=="
},
"chownr": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz",
"integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE="
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.1.tgz",
"integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g=="
},
"chromium-pickle-js": {
"version": "0.1.0",
@ -1732,13 +1732,13 @@
}
},
"electron-link": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/electron-link/-/electron-link-0.2.2.tgz",
"integrity": "sha1-uWvx/MrowwyAuiaTBq+UVOYtP2U=",
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/electron-link/-/electron-link-0.3.2.tgz",
"integrity": "sha512-V7QmtujzWgvrW5BI2CKmIRF+q+pkrFO5Lecd8TpibbBz+FfW5WQ4kCN0sZjNaUOMtGGroCib721OqIDEynjwgA==",
"requires": {
"ast-util": "^0.6.0",
"encoding-down": "~5.0.0",
"indent-string": "^2.1.0",
"indent-string": "^3.2.0",
"leveldown": "~4.0.0",
"levelup": "~3.0.0",
"recast": "^0.12.6",
@ -1752,15 +1752,20 @@
"integrity": "sha512-UY7+9DPzlJ9VM8eY0b2TUZcZvF+1pO0hzMtAyjBYKhOmnvRlqYNYnWdtsMj0V16CGaMlpL0G1jnLbLo4AyotuQ=="
},
"core-js": {
"version": "2.5.7",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.1.tgz",
"integrity": "sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg=="
},
"esprima": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
},
"indent-string": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz",
"integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok="
},
"recast": {
"version": "0.12.9",
"resolved": "https://registry.npmjs.org/recast/-/recast-0.12.9.tgz",
@ -4718,17 +4723,17 @@
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
},
"node-abi": {
"version": "2.4.3",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.4.3.tgz",
"integrity": "sha512-b656V5C0628gOOA2kwcpNA/bxdlqYF9FvxJ+qqVX0ctdXNVZpS8J6xEUYir3WAKc7U0BH/NRlSpNbGsy+azjeg==",
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.5.1.tgz",
"integrity": "sha512-oDbFc7vCFx0RWWCweTer3hFm1u+e60N5FtGnmRV6QqvgATGFH/XRR6vqWIeBVosCYCqt6YdIr2L0exLZuEdVcQ==",
"requires": {
"semver": "^5.4.1"
},
"dependencies": {
"semver": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
"integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA=="
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
"integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg=="
}
}
},
@ -9874,16 +9879,16 @@
}
},
"tar-stream": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.1.tgz",
"integrity": "sha512-IFLM5wp3QrJODQFPm6/to3LJZrONdBY/otxcvDIQzu217zKye6yVR3hhi9lAjrC2Z+m/j5oDxMPb1qcd8cIvpA==",
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz",
"integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==",
"requires": {
"bl": "^1.0.0",
"buffer-alloc": "^1.1.0",
"buffer-alloc": "^1.2.0",
"end-of-stream": "^1.0.0",
"fs-constants": "^1.0.0",
"readable-stream": "^2.3.0",
"to-buffer": "^1.1.0",
"to-buffer": "^1.1.1",
"xtend": "^4.0.0"
},
"dependencies": {

View File

@ -10,7 +10,7 @@
"colors": "1.1.2",
"donna": "1.0.16",
"electron-chromedriver": "~2.0",
"electron-link": "0.2.2",
"electron-link": "0.3.2",
"electron-mksnapshot": "~2.0",
"electron-packager": "7.3.0",
"electron-winstaller": "2.6.4",

View File

@ -3,7 +3,36 @@
'use strict'
require('colors')
const argv = require('yargs').argv
const argv = require('yargs')
.option('core-main', {
describe: 'Run core main process tests',
boolean: true,
default: false
})
.option('skip-main', {
describe: 'Skip main process tests if they would otherwise run on your platform',
boolean: true,
default: false,
conflicts: 'core-main'
})
.option('core-renderer', {
describe: 'Run core renderer process tests',
boolean: true,
default: false
})
.option('core-benchmark', {
describe: 'Run core benchmarks',
boolean: true,
default: false
})
.option('package', {
describe: 'Run bundled package specs',
boolean: true,
default: false
})
.help()
.argv
const assert = require('assert')
const async = require('async')
const childProcess = require('child_process')
@ -148,10 +177,27 @@ function runBenchmarkTests (callback) {
cp.on('close', exitCode => { callback(null, exitCode) })
}
let testSuitesToRun = testSuitesForPlatform(process.platform)
let testSuitesToRun = requestedTestSuites() || testSuitesForPlatform(process.platform)
function requestedTestSuites () {
const suites = []
if (argv.coreMain) {
suites.push(runCoreMainProcessTests)
}
if (argv.coreRenderer) {
suites.push(runCoreRenderProcessTests)
}
if (argv.coreBenchmark) {
suites.push(runBenchmarkTests)
}
if (argv.package) {
suites.push(...packageTestSuites)
}
return suites.length > 0 ? suites : null
}
function testSuitesForPlatform (platform) {
let suites = [];
let suites = []
switch (platform) {
case 'darwin':
suites = [runCoreMainProcessTests, runCoreRenderProcessTests, runBenchmarkTests].concat(packageTestSuites)
@ -167,10 +213,10 @@ function testSuitesForPlatform (platform) {
}
if (argv.skipMainProcessTests) {
suites = suites.filter(suite => suite !== runCoreMainProcessTests);
suites = suites.filter(suite => suite !== runCoreMainProcessTests)
}
return suites;
return suites
}
async.series(testSuitesToRun, function (err, exitCodes) {

View File

@ -407,7 +407,7 @@ describe('TreeSitterLanguageMode', () => {
scopes: {
'identifier': 'variable',
'call_expression > identifier': 'function',
'new_expression > call_expression > identifier': 'constructor'
'new_expression > identifier': 'constructor'
}
})

View File

@ -1013,6 +1013,7 @@ class AtomEnvironment {
// window.alert('bummer')
// }
// })
// ```
//
// ```js
// // Legacy sync version

View File

@ -282,7 +282,7 @@ class PaneContainer {
this.cancelStoppedChangingActivePaneItemTimeout()
// `setTimeout()` isn't available during the snapshotting phase, but that's okay.
if (typeof setTimeout === 'function') {
if (!global.isGeneratingSnapshot) {
this.stoppedChangingActivePaneItemTimeout = setTimeout(() => {
this.stoppedChangingActivePaneItemTimeout = null
this.emitter.emit('did-stop-changing-active-pane-item', activeItem)

View File

@ -959,9 +959,6 @@ class TextEditor {
return this.decorationManager.onDidUpdateDecorations(callback)
}
// Essential: Retrieves the current {TextBuffer}.
getBuffer () { return this.buffer }
// Retrieves the current buffer's URI.
getURI () { return this.buffer.getUri() }
@ -1076,6 +1073,15 @@ class TextEditor {
}
}
/*
Section: Buffer
*/
// Essential: Retrieves the current {TextBuffer}.
getBuffer () {
return this.buffer
}
/*
Section: File Details
*/

View File

@ -10,7 +10,7 @@ let Tooltip = null
//
// The essence of displaying a tooltip
//
// ```javascript
// ```js
// // display it
// const disposable = atom.tooltips.add(div, {title: 'This is a tooltip'})
//
@ -21,7 +21,7 @@ let Tooltip = null
// In practice there are usually multiple tooltips. So we add them to a
// CompositeDisposable
//
// ```javascript
// ```js
// const {CompositeDisposable} = require('atom')
// const subscriptions = new CompositeDisposable()
//
@ -37,7 +37,7 @@ let Tooltip = null
// You can display a key binding in the tooltip as well with the
// `keyBindingCommand` option.
//
// ```javascript
// ```js
// disposable = atom.tooltips.add(this.caseOptionButton, {
// title: 'Match Case',
// keyBindingCommand: 'find-and-replace:toggle-case-option',