新增webIDE

This commit is contained in:
何童崇 2022-09-02 16:15:14 +08:00
parent 35bce10781
commit 1354c05d86
42 changed files with 8264 additions and 2521 deletions

74
package-lock.json generated
View File

@ -719,7 +719,7 @@
},
"abbrev": {
"version": "1.1.1",
"resolved": "http://173.15.15.82:8081/repository/npm-all/abbrev/-/abbrev-1.1.1.tgz",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
"dev": true
},
@ -4890,7 +4890,7 @@
},
"dom-closest": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/dom-closest/-/dom-closest-0.2.0.tgz",
"resolved": "https://registry.npm.taobao.org/dom-closest/download/dom-closest-0.2.0.tgz",
"integrity": "sha1-69n5HRvyLo1vR3h2u80+yQIWwM8=",
"requires": {
"dom-matches": ">=1.0.1"
@ -4934,7 +4934,7 @@
},
"dom-matches": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/dom-matches/-/dom-matches-2.0.0.tgz",
"resolved": "https://registry.npm.taobao.org/dom-matches/download/dom-matches-2.0.0.tgz",
"integrity": "sha1-0nKLQWqHUzmA6wibhI0lPPI6dYw="
},
"dom-scroll-into-view": {
@ -5186,7 +5186,7 @@
},
"enquire.js": {
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/enquire.js/-/enquire.js-2.1.6.tgz",
"resolved": "https://registry.npm.taobao.org/enquire.js/download/enquire.js-2.1.6.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fenquire.js%2Fdownload%2Fenquire.js-2.1.6.tgz",
"integrity": "sha1-PoeAybi4NQhMP2DhZtvDwqPImBQ="
},
"entities": {
@ -5711,7 +5711,7 @@
},
"eventlistener": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/eventlistener/-/eventlistener-0.0.1.tgz",
"resolved": "https://registry.npm.taobao.org/eventlistener/download/eventlistener-0.0.1.tgz",
"integrity": "sha1-7Suqu4UiJ68rz4iRUscsY8pTLrg="
},
"events": {
@ -7245,7 +7245,8 @@
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -7662,7 +7663,8 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -7718,6 +7720,7 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -7761,18 +7764,20 @@
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"optional": true
},
"yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
"optional": true
}
}
},
"fstream": {
"version": "1.0.12",
"resolved": "http://173.15.15.82:8081/repository/npm-all/fstream/-/fstream-1.0.12.tgz",
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
"integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
"dev": true,
"requires": {
@ -7832,7 +7837,7 @@
},
"gaze": {
"version": "1.1.3",
"resolved": "http://173.15.15.82:8081/repository/npm-all/gaze/-/gaze-1.1.3.tgz",
"resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",
"integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",
"dev": true,
"requires": {
@ -8040,7 +8045,7 @@
},
"hammerjs": {
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz",
"resolved": "https://registry.npm.taobao.org/hammerjs/download/hammerjs-2.0.8.tgz",
"integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE="
},
"handle-thing": {
@ -8854,10 +8859,15 @@
},
"image-size": {
"version": "0.5.5",
"resolved": "http://173.15.15.82:8081/repository/npm-all/image-size/-/image-size-0.5.5.tgz",
"resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
"integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==",
"optional": true
},
"immediate": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
"integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="
},
"immer": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/immer/-/immer-1.10.0.tgz",
@ -8873,7 +8883,7 @@
},
"immutable": {
"version": "3.7.6",
"resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz",
"resolved": "https://registry.npm.taobao.org/immutable/download/immutable-3.7.6.tgz",
"integrity": "sha1-E7TTyxK++hVIKib+Gy665kAHHks="
},
"import-fresh": {
@ -8972,7 +8982,7 @@
},
"in-publish": {
"version": "2.0.1",
"resolved": "http://173.15.15.82:8081/repository/npm-all/in-publish/-/in-publish-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz",
"integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==",
"dev": true
},
@ -10363,7 +10373,7 @@
},
"less-loader": {
"version": "4.1.0",
"resolved": "http://173.15.15.82:8081/repository/npm-all/less-loader/-/less-loader-4.1.0.tgz",
"resolved": "https://registry.npmjs.org/less-loader/-/less-loader-4.1.0.tgz",
"integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==",
"requires": {
"clone": "^2.1.1",
@ -10373,7 +10383,7 @@
"dependencies": {
"pify": {
"version": "3.0.0",
"resolved": "http://173.15.15.82:8081/repository/npm-all/pify/-/pify-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
"integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg=="
}
}
@ -10392,6 +10402,14 @@
"type-check": "~0.3.2"
}
},
"lie": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
"integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==",
"requires": {
"immediate": "~3.0.5"
}
},
"load-json-file": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
@ -10435,6 +10453,14 @@
}
}
},
"localforage": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",
"integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",
"requires": {
"lie": "3.1.1"
}
},
"locate-path": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
@ -10520,7 +10546,7 @@
},
"lodash.throttle": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
"resolved": "https://registry.npm.taobao.org/lodash.throttle/download/lodash.throttle-4.1.1.tgz",
"integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
},
"lodash.uniq": {
@ -11201,7 +11227,7 @@
},
"node-gyp": {
"version": "3.8.0",
"resolved": "http://173.15.15.82:8081/repository/npm-all/node-gyp/-/node-gyp-3.8.0.tgz",
"resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz",
"integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",
"dev": true,
"requires": {
@ -11390,7 +11416,7 @@
},
"npmlog": {
"version": "4.1.2",
"resolved": "http://173.15.15.82:8081/repository/npm-all/npmlog/-/npmlog-4.1.2.tgz",
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
"integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
"dev": true,
"requires": {
@ -11699,7 +11725,7 @@
},
"osenv": {
"version": "0.1.5",
"resolved": "http://173.15.15.82:8081/repository/npm-all/osenv/-/osenv-0.1.5.tgz",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"dev": true,
"requires": {
@ -17245,7 +17271,7 @@
},
"stdout-stream": {
"version": "1.4.1",
"resolved": "http://173.15.15.82:8081/repository/npm-all/stdout-stream/-/stdout-stream-1.4.1.tgz",
"resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz",
"integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==",
"dev": true,
"requires": {
@ -17783,7 +17809,7 @@
},
"tar": {
"version": "2.2.2",
"resolved": "http://173.15.15.82:8081/repository/npm-all/tar/-/tar-2.2.2.tgz",
"resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
"integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
"dev": true,
"requires": {
@ -18193,7 +18219,7 @@
},
"true-case-path": {
"version": "1.0.3",
"resolved": "http://173.15.15.82:8081/repository/npm-all/true-case-path/-/true-case-path-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz",
"integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",
"dev": true,
"requires": {

View File

@ -54,6 +54,7 @@
"katex": "^0.11.1",
"less": "^3.13.1",
"less-loader": "^4.1.0",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"loglevel": "^1.6.8",
"marked": "^1.0.0",

View File

@ -10,7 +10,7 @@
<meta name="theme-color" content="#000000">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link href="https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.13/bundle/alex.all.global.min.css" rel="stylesheet"/>
<link href="https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.15/bundle/alex.all.global.min.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/iconfont.css">
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/edu-purge.css">
<link rel="stylesheet" type="text/css" href="%PUBLIC_URL%css/editormd.min.css">
@ -31,7 +31,7 @@
<script src="%PUBLIC_URL%js/editormd/editormd.min.js"></script>
<script src="%PUBLIC_URL%js/codemirror/merge/merge.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/moment/2.29.4/moment.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.13/bundle/alex.all.global.min.js"></script>
<script src="https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.15/bundle/alex.all.global.min.js"></script>
<%= htmlWebpackPlugin.tags.bodyTags %>
</body>

View File

@ -140,3 +140,4 @@ body {
min-height: calc(100% - 60px) !important;
}
}

View File

@ -119,7 +119,10 @@ const Glcc = Loadable({
loader : () => import("./glcc"),
loading: Loading,
})
const WebIDE = Loadable({
loader: () => import('./forge/Newfile/webIDE'),
loading: Loading,
});
// const CreateMerge = Loadable({
// loader: () => import('./forge/Merge/NewMerge'),
// loading: Loading,
@ -304,6 +307,13 @@ class App extends Component {
}
} />
{/* webIDE */}
<Route path="/:owner/:projectsId/webIDE/tree/:branchName"
render={
(props) => (<WebIDE {...this.props} {...props} {...this.state} />)
}
></Route>
{/* 项目PR */}
<Route path="/:owner/:projectsId/compare"
render={

View File

@ -25,7 +25,7 @@ if (isDev) {
}
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'student'
}
window._debugType = debugType;
export function initAxiosInterceptors(props) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -94,8 +94,9 @@ function CoderDepot(props){
},[details])
useEffect(()=>{
console.log('treeValue:'+treeValue);
if(treeValue){
setTreeValuePath(treeValue.split('/'));
setTreeValuePath(decodeURIComponent(treeValue).split('/'));
}else{
setTreeValuePath(undefined);
}
@ -333,8 +334,6 @@ function CoderDepot(props){
}
}
let n = fileInfo && fileInfo.name;
const mdFlag = n && n.substring(n.length-3,n.length) === ".md";
@ -458,6 +457,8 @@ function CoderDepot(props){
</Dropdown>
}
<Link className='newBtn' to={`/${owner}/${projectsId}/webIDE/tree/master`} target="_blank">Web IDE <div className='newBtnImg'></div></Link>
<Dropdown overlay={downloadMenu} placement="bottomRight" trigger={['click']}>
<Button type={'primary'}>下载 <i className="iconfont icon-sanjiaoxing-down ml3 font-14 color-white mr-3"></i></Button>
</Dropdown>
@ -514,7 +515,7 @@ function CoderDepot(props){
readOnly={readOnly}
md={mdFlag}
onEdit={onEdit}
currentBranch={branchName || defaultBranch}
branch={branchName || defaultBranch}
type={projectDetail.type}
></CoderRootFileDetail>
}

View File

@ -154,6 +154,10 @@ const Review = Loadable({
loader: () => import('../Newfile/codeReview'),
loading: Loading,
});
// const WebIDE = Loadable({
// loader: () => import('../Newfile/webIDE'),
// loading: Loading,
// });
/**
* permissionManager:管理员Reporter报告人员(只有读取权限)Developer开发人员除不能设置仓库信息外
*/
@ -828,6 +832,12 @@ class Detail extends Component {
(props) => (<Review {...this.props} {...props} {...this.state} {...common} />)
}
></Route>
{/* webIDE */}
{/* <Route path="/:owner/:projectsId/webIDE/tree/:branchName"
render={
(props) => (<WebIDE {...this.props} {...props} {...this.state} {...common} />)
}
></Route> */}
<Route path="/:owner/:projectsId/pulls/:mergeId"
render={
(props) => (<MessageCount {...this.props} {...props} {...this.state} {...common} />)

View File

@ -164,12 +164,14 @@
line-height: 30px;
background: #fff;
border: 1px solid #D0D0D0;
margin-right: 10px;
margin-right: 14px;
text-align: center;
&:hover,&:active{
background: #F3F4F6;
}
}
}
.infoCount{
display: inline-block;
@ -519,3 +521,7 @@
}
}
}

View File

@ -88,8 +88,8 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur
item.menu_name === "devops" ?
<li className={pathname==="devops" ? "active" : ""}>
{/* <Link to={{ pathname: `/${owner}/${projectsId}/devops${open_devops ? `/dispose`:""}`, state }}> */}
<Link to={{ pathname: `/${owner}/${projectsId}/devops`, state:{...state,open_devops} }}>
<i className="iconfont icon-gongzuoliuicon font-13 mr5 color-grey-3"></i>引擎(Engine)
<Link className='newTab' to={{ pathname: `/${owner}/${projectsId}/devops`, state:{...state,open_devops} }}>
<i className="iconfont icon-gongzuoliuicon font-13 mr5 color-grey-3"></i>引擎(Engine)<div className='newBtnImg'></div>
{projectDetail && projectDetail.ops_count ? <span>{projectDetail.ops_count}</span> : ""}
</Link>
</li>
@ -127,9 +127,10 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur
{
item.menu_name === "services" &&
<li className={pathname === "server" ? "active" : ""}>
<Link to={{ pathname: `/${owner}/${projectsId}/server`, state }}>
<Link className='newTab' to={{ pathname: `/${owner}/${projectsId}/server`, state }}>
<i className={"iconfont icon-fuwuicon color-grey-3 mr5 font-15"} style={{marginTop:"1px"}}></i>
<span>服务</span>
<div className='newBtnImg'></div>
</Link>
</li>
}

View File

@ -460,10 +460,11 @@ class MessageCount extends Component {
<Button
type="blue"
ghost
className="ml20"
className="ml20 newBtn"
onClick={this.codeReview}
>
代码评审
<div className='newBtnImg'></div>
</Button>
)}

View File

@ -11,7 +11,7 @@ import ideTheme from './extensions/alex-ext-public.ide-dark-theme.js';
import CodeBlame from './extensions/alex-ext-public.editor-plugin-blame.js';
import { getUrl, returnbar } from 'educoder';
import changeThemePlugin from './changeTheme';
import IDEPlugin, { ExtensionCommand } from './ide-plugin';
import IDEPlugin, { ExtensionCommand } from './plugins/idePlugin';
// import { FileOperationArea } from './components/file-operation-area';
import { repoService } from './codeReview/mock/repo.service';
@ -96,7 +96,7 @@ function CloudIDE({ download_url, params: { owner, projectsId, branchName }, fil
if (!e.target.checked) {
plugin.current.commands.executeCommand(ExtensionCommand.toggleBlame);
} else {
const res = await repoService.getCodeBlame(projectsId, owner, { sha: branchName, filepath })
const res = await repoService.getCodeBlame(projectsId, owner, { sha:decodeURIComponent(branchName), filepath })
plugin.current.commands.executeCommand(ExtensionCommand.toggleBlame, res);
}
};

View File

@ -0,0 +1,41 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-c-sharp",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-c-sharp",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-c-sharp",
"description": "C# for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-c_sharp.wasm",
"languageId": "csharp",
"extensions": [
"cs"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"ms-dotnettools.csharp"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,72 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-cpp",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-cpp",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-cpp",
"description": "C/C++ for Anycode",
"contributes": {
"anycodeLanguages": [
{
"grammarPath": "./tree-sitter-c.wasm",
"languageId": "c",
"extensions": [
"c",
"i"
],
"queryPaths": {
"comments": "./queries/c/comments.scm",
"identifiers": "./queries/c/identifiers.scm",
"outline": "./queries/c/outline.scm"
},
"suppressedBy": [
"ms-vscode.cpptools"
]
},
{
"grammarPath": "./tree-sitter-cpp.wasm",
"languageId": "cpp",
"extensions": [
"cpp",
"cc",
"cxx",
"c++",
"hpp",
"hh",
"hxx",
"h++",
"h",
"ii",
"ino",
"inl",
"ipp",
"ixx",
"hpp.in",
"h.in"
],
"queryPaths": {
"comments": "./queries/cpp/comments.scm",
"identifiers": "./queries/cpp/identifiers.scm",
"outline": "./queries/cpp/outline.scm"
},
"suppressedBy": [
"ms-vscode.cpptools"
]
}
]
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,41 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-go",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-go",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-go",
"description": "Go for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-go.wasm",
"languageId": "go",
"extensions": [
"go"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"golang.Go"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,42 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-java",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-java",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-java",
"description": "Java for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-java.wasm",
"languageId": "java",
"extensions": [
"java"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"folding": "./queries/folding.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"redhat.java"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,45 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-php",
"version": "0.0.6"
},
"packageJSON": {
"name": "anycode-php",
"publisher": "ms-vscode",
"version": "0.0.6",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-php",
"description": "PHP for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-php.wasm",
"languageId": "php",
"extensions": [
"php",
"php4",
"php5",
"phtml",
"ctp"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"bmewburn.vscode-intelephense-client"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,48 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-python",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-python",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-python",
"description": "Python for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-python.wasm",
"languageId": "python",
"extensions": [
"py",
"rpy",
"pyw",
"cpy",
"gyp",
"gypi",
"pyi",
"ipy"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"ms-python.python"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,42 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-rust",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-rust",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-rust",
"description": "Rust for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-rust.wasm",
"languageId": "rust",
"extensions": [
"rs"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"folding": "./queries/folding.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"rust-lang.rust"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,41 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode-typescript",
"version": "0.0.5"
},
"packageJSON": {
"name": "anycode-typescript",
"publisher": "ms-vscode",
"version": "0.0.5",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode-typescript",
"description": "TypeScript for Anycode",
"contributes": {
"anycodeLanguages": {
"grammarPath": "./tree-sitter-typescript.wasm",
"languageId": "typescript",
"extensions": [
"ts"
],
"queryPaths": {
"comments": "./queries/comments.scm",
"identifiers": "./queries/identifiers.scm",
"locals": "./queries/locals.scm",
"outline": "./queries/outline.scm",
"references": "./queries/references.scm"
},
"suppressedBy": [
"vscode.typescript-language-features"
]
}
}
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,90 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "anycode",
"version": "0.0.67"
},
"packageJSON": {
"name": "anycode",
"publisher": "ms-vscode",
"version": "0.0.67",
"repository": {
"url": "https://github.com/microsoft/vscode-anycode"
},
"displayName": "anycode",
"description": "",
"activationEvents": [
"onStartupFinished",
"onCommand:workbench.action.showAllSymbols"
],
"contributes": {
"configuration": {
"title": "Anycode",
"properties": {
"anycode.symbolIndexSize": {
"type": "number",
"default": 500,
"minimum": 0,
"markdownDescription": "Size of the index that is used for features like symbol search and go to definition."
},
"anycode.language.features": {
"markdownDescription": "Control the language features that anycode offers. This can be configured for each supported language: [Learn How to Do That](https://code.visualstudio.com/docs/getstarted/settings#_languagespecific-editor-settings)",
"type": "object",
"scope": "language-overridable",
"additionalProperties": false,
"properties": {
"definitions": {
"type": "boolean",
"description": "Go to Definition based on identifiers and local variables"
},
"references": {
"type": "boolean",
"description": "Find References based on identifiers and local variables"
},
"workspaceSymbols": {
"type": "boolean",
"description": "Add symbols to workspace symbol search"
},
"highlights": {
"type": "boolean",
"description": "Highlight Occurrences of identifiers and local variables"
},
"outline": {
"type": "boolean",
"description": "Populate Outline, Quick-outline, and Breadcrumbs"
},
"completions": {
"type": "boolean",
"description": "Completions based on identifiers and symbol names"
},
"folding": {
"type": "boolean",
"description": "Fold sections of codes to a single line"
},
"diagnostics": {
"type": "boolean",
"description": "(experimental) Parse errors show as problems"
}
},
"default": {
"completions": true,
"definitions": true,
"references": true,
"highlights": true,
"outline": true,
"workspaceSymbols": true,
"folding": false,
"diagnostics": false
}
}
}
}
},
"browser": "./dist/anycode.extension.browser.js"
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

View File

@ -0,0 +1,55 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "code-runner-for-web",
"version": "0.1.5-patch.1"
},
"packageJSON": {
"name": "code-runner-for-web",
"publisher": "formulahendry",
"version": "0.1.5-patch.1",
"repository": {
"type": "git",
"url": "https://github.com/formulahendry/vscode-code-runner-for-web.git"
},
"displayName": "Code Runner for Web",
"description": "Run Code (Python) in browser",
"icon": "images/logo.png",
"activationEvents": [
"onCommand:code-runner-for-web.run"
],
"contributes": {
"commands": [
{
"command": "code-runner-for-web.run",
"title": "Run Code in Web",
"icon": "$(play)"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == python && !inOutput",
"command": "code-runner-for-web.run",
"group": "navigation"
}
],
"editor/title/run": [
{
"when": "resourceLangId == python",
"command": "code-runner-for-web.run",
"group": "navigation"
}
]
}
},
"browser": "./dist/web/extension.js"
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json"
],
"mode": "public"
}

View File

@ -0,0 +1,417 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "codeswing",
"version": "0.0.21"
},
"packageJSON": {
"name": "codeswing",
"publisher": "codespaces-contrib",
"version": "0.0.21",
"repository": {
"type": "git",
"url": "https://github.com/lostintangent/codeswing"
},
"displayName": "CodeSwing",
"description": "Interactive coding playground for building web applications (aka swings).",
"icon": "images/icon.png",
"activationEvents": [
"onCommand:codeswing.newSwing",
"onCommand:codeswing.newSwingDirectory",
"onCommand:codeswing.newSwingFromLastTemplate",
"onCommand:codeswing.openSwing",
"onCommand:codeswing.openSwingInNewWindow",
"workspaceContains:codeswing.json",
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "codeswing.addLibrary",
"title": "Add Library",
"category": "CodeSwing",
"icon": "$(library)"
},
{
"command": "codeswing.addSwingFile",
"title": "Add File",
"icon": "$(add)"
},
{
"command": "codeswing.changeLayout",
"title": "Change Layout",
"category": "CodeSwing",
"icon": "$(editor-layout)"
},
{
"command": "codeswing.deleteSwingFile",
"title": "Delete File"
},
{
"command": "codeswing.exportToCodePen",
"title": "Export to CodePen",
"category": "CodeSwing"
},
{
"command": "codeswing.initializeWorkspace",
"title": "Initialize Workspace as Swing",
"category": "CodeSwing"
},
{
"command": "codeswing.newSwingDirectory",
"title": "New Swing in Directory...",
"category": "CodeSwing"
},
{
"command": "codeswing.newSwing",
"title": "New Swing...",
"category": "CodeSwing"
},
{
"command": "codeswing.newSwingFromLastTemplate",
"title": "New Swing from Last Template",
"category": "CodeSwing"
},
{
"command": "codeswing.openConsole",
"title": "Open Console",
"category": "CodeSwing",
"icon": "$(terminal)"
},
{
"command": "codeswing.openDeveloperTools",
"title": "Open Dev Tools",
"category": "CodeSwing",
"icon": "$(tools)"
},
{
"command": "codeswing.openSwing",
"title": "Open Swing...",
"category": "CodeSwing"
},
{
"command": "codeswing.openSwingInNewWindow",
"title": "Open Swing in New Window...",
"category": "CodeSwing"
},
{
"command": "codeswing.openWorkspaceSwing",
"title": "Re-Open Workspace Swing",
"category": "CodeSwing"
},
{
"command": "codeswing.recordCodeTour",
"title": "Record CodeTour"
},
{
"command": "codeswing.renameSwingFile",
"title": "Rename File"
},
{
"command": "codeswing.run",
"title": "Run Swing",
"category": "CodeSwing",
"icon": "$(play)"
},
{
"command": "codeswing.saveCurrentSwing",
"title": "Save Current Swing As...",
"category": "CodeSwing"
},
{
"command": "codeswing.uploadSwingFile",
"title": "Upload File(s)",
"icon": "$(cloud-upload)"
}
],
"views": {
"explorer": [
{
"id": "codeswing.activeSwing",
"name": "CodeSwing",
"when": "codeswing:inSwing && !codeswing:inSwingWorkspace"
}
]
},
"menus": {
"commandPalette": [
{
"command": "codeswing.addLibrary",
"when": "codeswing:inSwing"
},
{
"command": "codeswing.changeLayout",
"when": "codeswing:inSwing"
},
{
"command": "codeswing.exportToCodePen",
"when": "codeswing:inSwing"
},
{
"command": "codeswing.initializeWorkspace",
"when": "!codeswing:inSwingWorkspace && !codeswing:inSwing"
},
{
"command": "codeswing.openConsole",
"when": "codeswing:inSwing"
},
{
"command": "codeswing.newSwingFromLastTemplate",
"when": "codeswing:hasTemplateMRU"
},
{
"command": "codeswing.openDeveloperTools",
"when": "codeswing:inSwing && !isWeb"
},
{
"command": "codeswing.openWorkspaceSwing",
"when": "codeswing:inSwingWorkspace && !codeswing:inSwing"
},
{
"command": "codeswing.run",
"when": "codeswing:inSwing"
},
{
"command": "codeswing.saveCurrentSwing",
"when": "codeswing:inSwing"
},
{
"command": "codeswing.addSwingFile",
"when": "false"
},
{
"command": "codeswing.deleteSwingFile",
"when": "false"
},
{
"command": "codeswing.recordCodeTour",
"when": "false"
},
{
"command": "codeswing.renameSwingFile",
"when": "false"
},
{
"command": "codeswing.uploadSwingFile",
"when": "false"
}
],
"editor/title": [
{
"command": "codeswing.run",
"when": "codeswing:inSwing",
"group": "navigation@1"
},
{
"command": "codeswing.openConsole",
"when": "codeswing:inSwing",
"group": "navigation@2"
},
{
"command": "codeswing.changeLayout",
"when": "codeswing:inSwing",
"group": "navigation@3"
},
{
"command": "codeswing.addLibrary",
"when": "codeswing:inSwing",
"group": "navigation@4"
},
{
"command": "codeswing.openDeveloperTools",
"when": "codeswing:inSwing && !isWeb",
"group": "navigation@5"
},
{
"command": "codeswing.recordCodeTour",
"when": "codeswing:inSwing && codeswing:codeTourEnabled",
"group": "codetour@1"
}
],
"view/title": [
{
"command": "codeswing.uploadSwingFile",
"when": "view == codeswing.activeSwing",
"group": "navigation@1"
},
{
"command": "codeswing.addSwingFile",
"when": "view == codeswing.activeSwing",
"group": "navigation@2"
}
],
"view/item/context": [
{
"command": "codeswing.addSwingFile",
"when": "viewItem == swing.directory",
"group": "mutation@1"
},
{
"command": "codeswing.uploadSwingFile",
"when": "viewItem == swing.directory",
"group": "mutation@2"
},
{
"command": "codeswing.renameSwingFile",
"when": "viewItem == swing.file",
"group": "mutation@1"
},
{
"command": "codeswing.deleteSwingFile",
"when": "viewItem == swing.file",
"group": "mutation@2"
}
]
},
"jsonValidation": [
{
"fileMatch": "codeswing.json",
"url": "https://gist.githubusercontent.com/lostintangent/21727eab0d79c7b9fd0dde92df7b1f50/raw/schema.json"
},
{
"fileMatch": "gallery.json",
"url": "https://gist.githubusercontent.com/lostintangent/091c0eec1f6443b526566d1cd3a85294/raw/schema.json"
}
],
"configuration": {
"type": "object",
"title": "CodeSwing",
"properties": {
"codeswing.autoRun": {
"default": "onEdit",
"enum": [
"onEdit",
"onSave",
"never"
],
"description": "Specifies when to automatically run the code for a swing."
},
"codeswing.autoSave": {
"default": false,
"type": "boolean",
"description": "Specifies whether to automatically save your swing files (every 30s)."
},
"codeswing.clearConsoleOnRun": {
"default": true,
"type": "boolean",
"description": "Specifies whether to automatically clear the console when running a swing."
},
"codeswing.launchBehavior": {
"default": "openSwing",
"enum": [
"newSwing",
"none",
"openSwing"
],
"description": "Specifies how CodeSwing should behave when you open a swing workspace."
},
"codeswing.layout": {
"default": "splitLeft",
"enum": [
"grid",
"preview",
"splitBottom",
"splitLeft",
"splitLeftTabbed",
"splitRight",
"splitRightTabbed",
"splitTop"
],
"description": "Specifies how to layout the editor windows when opening a swing."
},
"codeswing.readmeBehavior": {
"default": "none",
"enum": [
"none",
"previewFooter",
"previewHeader"
],
"description": "Specifies how the swing's readme content should be displayed."
},
"codeswing.rootDirectory": {
"default": null,
"type": "string",
"description": "Specifies the directory to create swings in within the open workspace."
},
"codeswing.showConsole": {
"default": false,
"type": "boolean",
"description": "Specifies whether to automatically show the console when opening a swing."
},
"codeswing.templateGalleries": {
"default": [
"web:basic",
"web:components",
"web:languages"
],
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"web:basic",
"web:components",
"web:languages"
]
},
{
"type": "string",
"format": "uri"
}
]
},
"description": "Specifies one or more URLs that point of template galleries for creating swings."
},
"codeswing.themePreview": {
"default": false,
"type": "boolean",
"description": "Specifies whether to apply Visual Studio Code theme to the preview window."
}
}
},
"languages": [
{
"id": "typescriptreact",
"filenames": [
"script.babel"
]
},
{
"id": "yaml",
"filenames": [
".block"
]
}
],
"keybindings": [
{
"command": "codeswing.run",
"when": "codeswing:inSwing",
"key": "cmd+shift+b",
"win": "ctrl+shift+b"
}
],
"codeswing.templateGalleries": [
{
"id": "web:basic",
"url": "https://cdn.jsdelivr.net/gh/codespaces-contrib/codeswing@HEAD/templates/basic.json"
},
{
"id": "web:languages",
"url": "https://cdn.jsdelivr.net/gh/codespaces-contrib/codeswing@HEAD/templates/languages.json"
},
{
"id": "web:components",
"url": "https://cdn.jsdelivr.net/gh/codespaces-contrib/codeswing@main/templates/components.json"
}
]
},
"browser": "./dist/extension-web.js"
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [],
"mode": "public"
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,566 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "emmet",
"version": "1.0.0"
},
"packageJSON": {
"name": "emmet",
"publisher": "vscode",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
},
"displayName": "Emmet",
"description": "%description%",
"icon": "images/icon.png",
"activationEvents": [
"onCommand:emmet.expandAbbreviation",
"onCommand:editor.emmet.action.wrapWithAbbreviation",
"onCommand:editor.emmet.action.removeTag",
"onCommand:editor.emmet.action.updateTag",
"onCommand:editor.emmet.action.matchTag",
"onCommand:editor.emmet.action.balanceIn",
"onCommand:editor.emmet.action.balanceOut",
"onCommand:editor.emmet.action.prevEditPoint",
"onCommand:editor.emmet.action.nextEditPoint",
"onCommand:editor.emmet.action.mergeLines",
"onCommand:editor.emmet.action.selectPrevItem",
"onCommand:editor.emmet.action.selectNextItem",
"onCommand:editor.emmet.action.splitJoinTag",
"onCommand:editor.emmet.action.toggleComment",
"onCommand:editor.emmet.action.evaluateMathExpression",
"onCommand:editor.emmet.action.updateImageSize",
"onCommand:editor.emmet.action.incrementNumberByOneTenth",
"onCommand:editor.emmet.action.incrementNumberByOne",
"onCommand:editor.emmet.action.incrementNumberByTen",
"onCommand:editor.emmet.action.decrementNumberByOneTenth",
"onCommand:editor.emmet.action.decrementNumberByOne",
"onCommand:editor.emmet.action.decrementNumberByTen",
"onCommand:editor.emmet.action.reflectCSSValue",
"onCommand:workbench.action.showEmmetCommands",
"onStartupFinished"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Emmet",
"properties": {
"emmet.showExpandedAbbreviation": {
"type": [
"string"
],
"enum": [
"never",
"always",
"inMarkupAndStylesheetFilesOnly"
],
"default": "always",
"markdownDescription": "%emmetShowExpandedAbbreviation%"
},
"emmet.showAbbreviationSuggestions": {
"type": "boolean",
"default": true,
"markdownDescription": "%emmetShowAbbreviationSuggestions%"
},
"emmet.includeLanguages": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {},
"scope": "resource",
"markdownDescription": "%emmetIncludeLanguages%"
},
"emmet.variables": {
"type": "object",
"properties": {
"lang": {
"type": "string",
"default": "en"
},
"charset": {
"type": "string",
"default": "UTF-8"
}
},
"additionalProperties": {
"type": "string"
},
"default": {},
"scope": "resource",
"markdownDescription": "%emmetVariables%"
},
"emmet.syntaxProfiles": {
"type": "object",
"default": {},
"scope": "resource",
"markdownDescription": "%emmetSyntaxProfiles%"
},
"emmet.excludeLanguages": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"markdown"
],
"scope": "resource",
"markdownDescription": "%emmetExclude%"
},
"emmet.extensionsPath": {
"type": "array",
"items": {
"type": "string",
"markdownDescription": "%emmetExtensionsPathItem%"
},
"default": [],
"scope": "machine-overridable",
"markdownDescription": "%emmetExtensionsPath%"
},
"emmet.triggerExpansionOnTab": {
"type": "boolean",
"default": false,
"markdownDescription": "%emmetTriggerExpansionOnTab%"
},
"emmet.preferences": {
"type": "object",
"default": {},
"scope": "resource",
"markdownDescription": "%emmetPreferences%",
"properties": {
"css.intUnit": {
"type": "string",
"default": "px",
"markdownDescription": "%emmetPreferencesIntUnit%"
},
"css.floatUnit": {
"type": "string",
"default": "em",
"markdownDescription": "%emmetPreferencesFloatUnit%"
},
"css.propertyEnd": {
"type": "string",
"default": ";",
"markdownDescription": "%emmetPreferencesCssAfter%"
},
"sass.propertyEnd": {
"type": "string",
"default": "",
"markdownDescription": "%emmetPreferencesSassAfter%"
},
"stylus.propertyEnd": {
"type": "string",
"default": "",
"markdownDescription": "%emmetPreferencesStylusAfter%"
},
"css.valueSeparator": {
"type": "string",
"default": ": ",
"markdownDescription": "%emmetPreferencesCssBetween%"
},
"sass.valueSeparator": {
"type": "string",
"default": ": ",
"markdownDescription": "%emmetPreferencesSassBetween%"
},
"stylus.valueSeparator": {
"type": "string",
"default": " ",
"markdownDescription": "%emmetPreferencesStylusBetween%"
},
"bem.elementSeparator": {
"type": "string",
"default": "__",
"markdownDescription": "%emmetPreferencesBemElementSeparator%"
},
"bem.modifierSeparator": {
"type": "string",
"default": "_",
"markdownDescription": "%emmetPreferencesBemModifierSeparator%"
},
"filter.commentBefore": {
"type": "string",
"default": "",
"markdownDescription": "%emmetPreferencesFilterCommentBefore%"
},
"filter.commentAfter": {
"type": "string",
"default": "\n<!-- /[#ID][.CLASS] -->",
"markdownDescription": "%emmetPreferencesFilterCommentAfter%"
},
"filter.commentTrigger": {
"type": "array",
"default": [
"id",
"class"
],
"markdownDescription": "%emmetPreferencesFilterCommentTrigger%"
},
"format.noIndentTags": {
"type": "array",
"default": [
"html"
],
"markdownDescription": "%emmetPreferencesFormatNoIndentTags%"
},
"format.forceIndentationForTags": {
"type": "array",
"default": [
"body"
],
"markdownDescription": "%emmetPreferencesFormatForceIndentTags%"
},
"profile.allowCompactBoolean": {
"type": "boolean",
"default": false,
"markdownDescription": "%emmetPreferencesAllowCompactBoolean%"
},
"css.webkitProperties": {
"type": "string",
"default": null,
"markdownDescription": "%emmetPreferencesCssWebkitProperties%"
},
"css.mozProperties": {
"type": "string",
"default": null,
"markdownDescription": "%emmetPreferencesCssMozProperties%"
},
"css.oProperties": {
"type": "string",
"default": null,
"markdownDescription": "%emmetPreferencesCssOProperties%"
},
"css.msProperties": {
"type": "string",
"default": null,
"markdownDescription": "%emmetPreferencesCssMsProperties%"
},
"css.fuzzySearchMinScore": {
"type": "number",
"default": 0.3,
"markdownDescription": "%emmetPreferencesCssFuzzySearchMinScore%"
},
"output.inlineBreak": {
"type": "number",
"default": 0,
"markdownDescription": "%emmetPreferencesOutputInlineBreak%"
},
"output.reverseAttributes": {
"type": "boolean",
"default": false,
"markdownDescription": "%emmetPreferencesOutputReverseAttributes%"
},
"output.selfClosingStyle": {
"type": "string",
"enum": [
"html",
"xhtml",
"xml"
],
"default": "html",
"markdownDescription": "%emmetPreferencesOutputSelfClosingStyle%"
},
"css.color.short": {
"type": "boolean",
"default": true,
"markdownDescription": "%emmetPreferencesCssColorShort%"
}
}
},
"emmet.showSuggestionsAsSnippets": {
"type": "boolean",
"default": false,
"markdownDescription": "%emmetShowSuggestionsAsSnippets%"
},
"emmet.optimizeStylesheetParsing": {
"type": "boolean",
"default": true,
"markdownDescription": "%emmetOptimizeStylesheetParsing%"
}
}
},
"commands": [
{
"command": "editor.emmet.action.wrapWithAbbreviation",
"title": "%command.wrapWithAbbreviation%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.removeTag",
"title": "%command.removeTag%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.updateTag",
"title": "%command.updateTag%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.matchTag",
"title": "%command.matchTag%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.balanceIn",
"title": "%command.balanceIn%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.balanceOut",
"title": "%command.balanceOut%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.prevEditPoint",
"title": "%command.prevEditPoint%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.nextEditPoint",
"title": "%command.nextEditPoint%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.mergeLines",
"title": "%command.mergeLines%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.selectPrevItem",
"title": "%command.selectPrevItem%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.selectNextItem",
"title": "%command.selectNextItem%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.splitJoinTag",
"title": "%command.splitJoinTag%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.toggleComment",
"title": "%command.toggleComment%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.evaluateMathExpression",
"title": "%command.evaluateMathExpression%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.updateImageSize",
"title": "%command.updateImageSize%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.incrementNumberByOneTenth",
"title": "%command.incrementNumberByOneTenth%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.incrementNumberByOne",
"title": "%command.incrementNumberByOne%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.incrementNumberByTen",
"title": "%command.incrementNumberByTen%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.decrementNumberByOneTenth",
"title": "%command.decrementNumberByOneTenth%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.decrementNumberByOne",
"title": "%command.decrementNumberByOne%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.decrementNumberByTen",
"title": "%command.decrementNumberByTen%",
"category": "Emmet"
},
{
"command": "editor.emmet.action.reflectCSSValue",
"title": "%command.reflectCSSValue%",
"category": "Emmet"
},
{
"command": "workbench.action.showEmmetCommands",
"title": "%command.showEmmetCommands%",
"category": ""
}
],
"menus": {
"commandPalette": [
{
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.removeTag",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.updateTag",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.matchTag",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.balanceIn",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.balanceOut",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.prevEditPoint",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.nextEditPoint",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.mergeLines",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.selectPrevItem",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.selectNextItem",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.splitJoinTag",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.toggleComment",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.evaluateMathExpression",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.updateImageSize",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.incrementNumberByOneTenth",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.incrementNumberByOne",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.incrementNumberByTen",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.decrementNumberByOneTenth",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.decrementNumberByOne",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.decrementNumberByTen",
"when": "!activeEditorIsReadonly"
},
{
"command": "editor.emmet.action.reflectCSSValue",
"when": "!activeEditorIsReadonly"
}
]
}
},
"browser": "./dist/browser/emmetBrowserMain"
},
"defaultPkgNlsJSON": {
"description": "Emmet support for VS Code",
"command.wrapWithAbbreviation": "Wrap with Abbreviation",
"command.removeTag": "Remove Tag",
"command.updateTag": "Update Tag",
"command.matchTag": "Go to Matching Pair",
"command.balanceIn": "Balance (inward)",
"command.balanceOut": "Balance (outward)",
"command.prevEditPoint": "Go to Previous Edit Point",
"command.nextEditPoint": "Go to Next Edit Point",
"command.mergeLines": "Merge Lines",
"command.selectPrevItem": "Select Previous Item",
"command.selectNextItem": "Select Next Item",
"command.splitJoinTag": "Split/Join Tag",
"command.toggleComment": "Toggle Comment",
"command.evaluateMathExpression": "Evaluate Math Expression",
"command.updateImageSize": "Update Image Size",
"command.reflectCSSValue": "Reflect CSS Value",
"command.incrementNumberByOne": "Increment by 1",
"command.decrementNumberByOne": "Decrement by 1",
"command.incrementNumberByOneTenth": "Increment by 0.1",
"command.decrementNumberByOneTenth": "Decrement by 0.1",
"command.incrementNumberByTen": "Increment by 10",
"command.decrementNumberByTen": "Decrement by 10",
"command.showEmmetCommands": "Show Emmet Commands",
"emmetSyntaxProfiles": "Define profile for specified syntax or use your own profile with specific rules.",
"emmetExclude": "An array of languages where Emmet abbreviations should not be expanded.",
"emmetExtensionsPath": "An array of paths, where each path can contain Emmet syntaxProfiles and/or snippet files.\nIn case of conflicts, the profiles/snippets of later paths will override those of earlier paths.\nSee https://code.visualstudio.com/docs/editor/emmet for more information and an example snippet file.",
"emmetExtensionsPathItem": "A path containing Emmet syntaxProfiles and/or snippets.",
"emmetShowExpandedAbbreviation": "Shows expanded Emmet abbreviations as suggestions.\nThe option `\"inMarkupAndStylesheetFilesOnly\"` applies to html, haml, jade, slim, xml, xsl, css, scss, sass, less and stylus.\nThe option `\"always\"` applies to all parts of the file regardless of markup/css.",
"emmetShowAbbreviationSuggestions": "Shows possible Emmet abbreviations as suggestions. Not applicable in stylesheets or when emmet.showExpandedAbbreviation is set to `\"never\"`.",
"emmetIncludeLanguages": "Enable Emmet abbreviations in languages that are not supported by default. Add a mapping here between the language and Emmet supported language.\n For example: `{\"vue-html\": \"html\", \"javascript\": \"javascriptreact\"}`",
"emmetVariables": "Variables to be used in Emmet snippets.",
"emmetTriggerExpansionOnTab": "When enabled, Emmet abbreviations are expanded when pressing TAB.",
"emmetPreferences": "Preferences used to modify behavior of some actions and resolvers of Emmet.",
"emmetPreferencesIntUnit": "Default unit for integer values.",
"emmetPreferencesFloatUnit": "Default unit for float values.",
"emmetPreferencesCssAfter": "Symbol to be placed at the end of CSS property when expanding CSS abbreviations.",
"emmetPreferencesSassAfter": "Symbol to be placed at the end of CSS property when expanding CSS abbreviations in Sass files.",
"emmetPreferencesStylusAfter": "Symbol to be placed at the end of CSS property when expanding CSS abbreviations in Stylus files.",
"emmetPreferencesCssBetween": "Symbol to be placed at the between CSS property and value when expanding CSS abbreviations.",
"emmetPreferencesSassBetween": "Symbol to be placed at the between CSS property and value when expanding CSS abbreviations in Sass files.",
"emmetPreferencesStylusBetween": "Symbol to be placed at the between CSS property and value when expanding CSS abbreviations in Stylus files.",
"emmetShowSuggestionsAsSnippets": "If `true`, then Emmet suggestions will show up as snippets allowing you to order them as per `#editor.snippetSuggestions#` setting.",
"emmetPreferencesBemElementSeparator": "Element separator used for classes when using the BEM filter.",
"emmetPreferencesBemModifierSeparator": "Modifier separator used for classes when using the BEM filter.",
"emmetPreferencesFilterCommentBefore": "A definition of comment that should be placed before matched element when comment filter is applied.",
"emmetPreferencesFilterCommentAfter": "A definition of comment that should be placed after matched element when comment filter is applied.",
"emmetPreferencesFilterCommentTrigger": "A comma-separated list of attribute names that should exist in the abbreviation for the comment filter to be applied.",
"emmetPreferencesFormatNoIndentTags": "An array of tag names that should never get inner indentation.",
"emmetPreferencesFormatForceIndentTags": "An array of tag names that should always get inner indentation.",
"emmetPreferencesAllowCompactBoolean": "If `true`, compact notation of boolean attributes are produced.",
"emmetPreferencesCssWebkitProperties": "Comma separated CSS properties that get the 'webkit' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'webkit' prefix.",
"emmetPreferencesCssMozProperties": "Comma separated CSS properties that get the 'moz' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'moz' prefix.",
"emmetPreferencesCssOProperties": "Comma separated CSS properties that get the 'o' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'o' prefix.",
"emmetPreferencesCssMsProperties": "Comma separated CSS properties that get the 'ms' vendor prefix when used in Emmet abbreviation that starts with `-`. Set to empty string to always avoid the 'ms' prefix.",
"emmetPreferencesCssFuzzySearchMinScore": "The minimum score (from 0 to 1) that fuzzy-matched abbreviation should achieve. Lower values may produce many false-positive matches, higher values may reduce possible matches.",
"emmetOptimizeStylesheetParsing": "When set to `false`, the whole file is parsed to determine if current position is valid for expanding Emmet abbreviations. When set to `true`, only the content around the current position in CSS/SCSS/Less files is parsed.",
"emmetPreferencesOutputInlineBreak": "The number of sibling inline elements needed for line breaks to be placed between those elements. If `0`, inline elements are always expanded onto a single line.",
"emmetPreferencesOutputReverseAttributes": "If `true`, reverses attribute merging directions when resolving snippets.",
"emmetPreferencesOutputSelfClosingStyle": "Style of self-closing tags: html (`<br>`), xml (`<br/>`) or xhtml (`<br />`).",
"emmetPreferencesCssColorShort": "If `true`, color values like `#f` will be expanded to `#fff` instead of `#ffffff`."
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json"
],
"mode": "public"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,273 +1,284 @@
module.exports = {
extension: {
publisher: 'alex-ext-public',
name: 'html-language-features-worker',
version: '1.53.0-patch.1',
"extension": {
"publisher": "alex-ext-public",
"name": "html-language-features-worker",
"version": "1.53.0-patch.1"
},
packageJSON: {
name: 'html-language-features-worker',
publisher: 'alex',
version: '1.53.0-patch.1',
displayName: '%displayName%',
description: '%description%',
icon: 'icons/html.png',
activationEvents: ['onLanguage:html', 'onLanguage:handlebars'],
kaitianContributes: {
workerMain: 'client/dist/browser/htmlClientMain.js',
},
contributes: {
configuration: {
id: 'html',
order: 20,
type: 'object',
title: 'HTML',
properties: {
'html.customData': {
type: 'array',
markdownDescription: '%html.customData.desc%',
default: [],
items: {
type: 'string',
},
scope: 'resource',
},
'html.format.enable': {
type: 'boolean',
scope: 'window',
default: true,
description: '%html.format.enable.desc%',
},
'html.format.wrapLineLength': {
type: 'integer',
scope: 'resource',
default: 120,
description: '%html.format.wrapLineLength.desc%',
},
'html.format.unformatted': {
type: ['string', 'null'],
scope: 'resource',
default: 'wbr',
markdownDescription: '%html.format.unformatted.desc%',
},
'html.format.contentUnformatted': {
type: ['string', 'null'],
scope: 'resource',
default: 'pre,code,textarea',
markdownDescription: '%html.format.contentUnformatted.desc%',
},
'html.format.indentInnerHtml': {
type: 'boolean',
scope: 'resource',
default: false,
markdownDescription: '%html.format.indentInnerHtml.desc%',
},
'html.format.preserveNewLines': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.format.preserveNewLines.desc%',
},
'html.format.maxPreserveNewLines': {
type: ['number', 'null'],
scope: 'resource',
default: null,
markdownDescription: '%html.format.maxPreserveNewLines.desc%',
},
'html.format.indentHandlebars': {
type: 'boolean',
scope: 'resource',
default: false,
markdownDescription: '%html.format.indentHandlebars.desc%',
},
'html.format.endWithNewline': {
type: 'boolean',
scope: 'resource',
default: false,
description: '%html.format.endWithNewline.desc%',
},
'html.format.extraLiners': {
type: ['string', 'null'],
scope: 'resource',
default: 'head, body, /html',
markdownDescription: '%html.format.extraLiners.desc%',
},
'html.format.wrapAttributes': {
type: 'string',
scope: 'resource',
default: 'auto',
enum: [
'auto',
'force',
'force-aligned',
'force-expand-multiline',
'aligned-multiple',
'preserve',
'preserve-aligned',
"packageJSON": {
"name": "html-language-features-worker",
"publisher": "alex",
"version": "1.53.0-patch.1",
"displayName": "%displayName%",
"description": "%description%",
"icon": "icons/html.png",
"activationEvents": [
"onLanguage:html",
"onLanguage:handlebars"
],
enumDescriptions: [
'%html.format.wrapAttributes.auto%',
'%html.format.wrapAttributes.force%',
'%html.format.wrapAttributes.forcealign%',
'%html.format.wrapAttributes.forcemultiline%',
'%html.format.wrapAttributes.alignedmultiple%',
'%html.format.wrapAttributes.preserve%',
'%html.format.wrapAttributes.preservealigned%',
"kaitianContributes": {
"workerMain": "client/dist/browser/htmlClientMain.js"
},
"contributes": {
"configuration": {
"id": "html",
"order": 20,
"type": "object",
"title": "HTML",
"properties": {
"html.customData": {
"type": "array",
"markdownDescription": "%html.customData.desc%",
"default": [],
"items": {
"type": "string"
},
"scope": "resource"
},
"html.format.enable": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "%html.format.enable.desc%"
},
"html.format.wrapLineLength": {
"type": "integer",
"scope": "resource",
"default": 120,
"description": "%html.format.wrapLineLength.desc%"
},
"html.format.unformatted": {
"type": [
"string",
"null"
],
description: '%html.format.wrapAttributes.desc%',
"scope": "resource",
"default": "wbr",
"markdownDescription": "%html.format.unformatted.desc%"
},
'html.format.wrapAttributesIndentSize': {
type: ['number', 'null'],
scope: 'resource',
default: null,
description: '%html.format.wrapAttributesIndentSize.desc%',
"html.format.contentUnformatted": {
"type": [
"string",
"null"
],
"scope": "resource",
"default": "pre,code,textarea",
"markdownDescription": "%html.format.contentUnformatted.desc%"
},
'html.format.templating': {
type: ['boolean'],
scope: 'resource',
default: false,
description: '%html.format.templating.desc%',
"html.format.indentInnerHtml": {
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "%html.format.indentInnerHtml.desc%"
},
'html.format.unformattedContentDelimiter': {
type: ['string'],
scope: 'resource',
default: '',
markdownDescription:
'%html.format.unformattedContentDelimiter.desc%',
"html.format.preserveNewLines": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.format.preserveNewLines.desc%"
},
'html.suggest.html5': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.suggest.html5.desc%',
"html.format.maxPreserveNewLines": {
"type": [
"number",
"null"
],
"scope": "resource",
"default": null,
"markdownDescription": "%html.format.maxPreserveNewLines.desc%"
},
'html.validate.scripts': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.validate.scripts%',
"html.format.indentHandlebars": {
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "%html.format.indentHandlebars.desc%"
},
'html.validate.styles': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.validate.styles%',
"html.format.endWithNewline": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "%html.format.endWithNewline.desc%"
},
'html.autoClosingTags': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.autoClosingTags%',
"html.format.extraLiners": {
"type": [
"string",
"null"
],
"scope": "resource",
"default": "head, body, /html",
"markdownDescription": "%html.format.extraLiners.desc%"
},
'html.hover.documentation': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.hover.documentation%',
"html.format.wrapAttributes": {
"type": "string",
"scope": "resource",
"default": "auto",
"enum": [
"auto",
"force",
"force-aligned",
"force-expand-multiline",
"aligned-multiple",
"preserve",
"preserve-aligned"
],
"enumDescriptions": [
"%html.format.wrapAttributes.auto%",
"%html.format.wrapAttributes.force%",
"%html.format.wrapAttributes.forcealign%",
"%html.format.wrapAttributes.forcemultiline%",
"%html.format.wrapAttributes.alignedmultiple%",
"%html.format.wrapAttributes.preserve%",
"%html.format.wrapAttributes.preservealigned%"
],
"description": "%html.format.wrapAttributes.desc%"
},
'html.hover.references': {
type: 'boolean',
scope: 'resource',
default: true,
description: '%html.hover.references%',
"html.format.wrapAttributesIndentSize": {
"type": [
"number",
"null"
],
"scope": "resource",
"default": null,
"description": "%html.format.wrapAttributesIndentSize.desc%"
},
'html.mirrorCursorOnMatchingTag': {
type: 'boolean',
scope: 'resource',
default: false,
description: '%html.mirrorCursorOnMatchingTag%',
deprecationMessage:
'%html.mirrorCursorOnMatchingTagDeprecationMessage%',
"html.format.templating": {
"type": [
"boolean"
],
"scope": "resource",
"default": false,
"description": "%html.format.templating.desc%"
},
'html.trace.server': {
type: 'string',
scope: 'window',
enum: ['off', 'messages', 'verbose'],
default: 'off',
description: '%html.trace.server.desc%',
"html.format.unformattedContentDelimiter": {
"type": [
"string"
],
"scope": "resource",
"default": "",
"markdownDescription": "%html.format.unformattedContentDelimiter.desc%"
},
"html.suggest.html5": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.suggest.html5.desc%"
},
"html.validate.scripts": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.validate.scripts%"
},
configurationDefaults: {
'[html]': {
'editor.suggest.insertMode': 'replace',
"html.validate.styles": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.validate.styles%"
},
'[handlebars]': {
'editor.suggest.insertMode': 'replace',
"html.autoClosingTags": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.autoClosingTags%"
},
"html.hover.documentation": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.hover.documentation%"
},
jsonValidation: [
"html.hover.references": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "%html.hover.references%"
},
"html.mirrorCursorOnMatchingTag": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "%html.mirrorCursorOnMatchingTag%",
"deprecationMessage": "%html.mirrorCursorOnMatchingTagDeprecationMessage%"
},
"html.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "%html.trace.server.desc%"
}
}
},
"configurationDefaults": {
"[html]": {
"editor.suggest.insertMode": "replace"
},
"[handlebars]": {
"editor.suggest.insertMode": "replace"
}
},
"jsonValidation": [
{
fileMatch: '*.html-data.json',
url: 'https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/master/docs/customData.schema.json',
"fileMatch": "*.html-data.json",
"url": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/master/docs/customData.schema.json"
},
{
fileMatch: 'package.json',
url: './schemas/package.schema.json',
},
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
}
],
workerMain: 'client/dist/browser/htmlClientMain.js',
"workerMain": "client/dist/browser/htmlClientMain.js"
},
"browser": "./client/dist/browser/htmlClientMain"
},
defaultPkgNlsJSON: {
displayName: 'HTML Language Features',
description: 'Provides rich language support for HTML and Handlebar files',
'html.customData.desc':
'A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.',
'html.format.enable.desc': 'Enable/disable default HTML formatter.',
'html.format.wrapLineLength.desc':
'Maximum amount of characters per line (0 = disable).',
'html.format.unformatted.desc':
"List of tags, comma separated, that shouldn't be reformatted. `null` defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.",
'html.format.contentUnformatted.desc':
"List of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.",
'html.format.indentInnerHtml.desc':
'Indent `<head>` and `<body>` sections.',
'html.format.preserveNewLines.desc':
'Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.',
'html.format.maxPreserveNewLines.desc':
'Maximum number of line breaks to be preserved in one chunk. Use `null` for unlimited.',
'html.format.indentHandlebars.desc':
'Format and indent `{{#foo}}` and `{{/foo}}`.',
'html.format.endWithNewline.desc': 'End with a newline.',
'html.format.extraLiners.desc':
'List of tags, comma separated, that should have an extra newline before them. `null` defaults to `"head, body, /html"`.',
'html.format.wrapAttributes.desc': 'Wrap attributes.',
'html.format.wrapAttributes.auto':
'Wrap attributes only when line length is exceeded.',
'html.format.wrapAttributes.force': 'Wrap each attribute except first.',
'html.format.wrapAttributes.forcealign':
'Wrap each attribute except first and keep aligned.',
'html.format.wrapAttributes.forcemultiline': 'Wrap each attribute.',
'html.format.wrapAttributes.alignedmultiple':
'Wrap when line length is exceeded, align attributes vertically.',
'html.format.wrapAttributes.preserve': 'Preserve wrapping of attributes',
'html.format.wrapAttributes.preservealigned':
'Preserve wrapping of attributes but align.',
'html.format.templating.desc':
'Honor django, erb, handlebars and php templating language tags.',
'html.format.unformattedContentDelimiter.desc':
'Keep text content together between this string.',
'html.format.wrapAttributesIndentSize.desc':
"Alignment size when using 'force aligned' and 'aligned multiple' in `#html.format.wrapAttributes#` or `null` to use the default indent size.",
'html.suggest.html5.desc':
'Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.',
'html.trace.server.desc':
'Traces the communication between VS Code and the HTML language server.',
'html.validate.scripts':
'Controls whether the built-in HTML language support validates embedded scripts.',
'html.validate.styles':
'Controls whether the built-in HTML language support validates embedded styles.',
'html.autoClosingTags': 'Enable/disable autoclosing of HTML tags.',
'html.mirrorCursorOnMatchingTag':
'Enable/disable mirroring cursor on matching HTML tag.',
'html.mirrorCursorOnMatchingTagDeprecationMessage':
'Deprecated in favor of `editor.linkedEditing`',
'html.hover.documentation':
'Show tag and attribute documentation in hover.',
'html.hover.references': 'Show references to MDN in hover.',
"defaultPkgNlsJSON": {
"displayName": "HTML Language Features",
"description": "Provides rich language support for HTML and Handlebar files",
"html.customData.desc": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
"html.format.enable.desc": "Enable/disable default HTML formatter.",
"html.format.wrapLineLength.desc": "Maximum amount of characters per line (0 = disable).",
"html.format.unformatted.desc": "List of tags, comma separated, that shouldn't be reformatted. `null` defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.",
"html.format.contentUnformatted.desc": "List of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.",
"html.format.indentInnerHtml.desc": "Indent `<head>` and `<body>` sections.",
"html.format.preserveNewLines.desc": "Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.",
"html.format.maxPreserveNewLines.desc": "Maximum number of line breaks to be preserved in one chunk. Use `null` for unlimited.",
"html.format.indentHandlebars.desc": "Format and indent `{{#foo}}` and `{{/foo}}`.",
"html.format.endWithNewline.desc": "End with a newline.",
"html.format.extraLiners.desc": "List of tags, comma separated, that should have an extra newline before them. `null` defaults to `\"head, body, /html\"`.",
"html.format.wrapAttributes.desc": "Wrap attributes.",
"html.format.wrapAttributes.auto": "Wrap attributes only when line length is exceeded.",
"html.format.wrapAttributes.force": "Wrap each attribute except first.",
"html.format.wrapAttributes.forcealign": "Wrap each attribute except first and keep aligned.",
"html.format.wrapAttributes.forcemultiline": "Wrap each attribute.",
"html.format.wrapAttributes.alignedmultiple": "Wrap when line length is exceeded, align attributes vertically.",
"html.format.wrapAttributes.preserve": "Preserve wrapping of attributes",
"html.format.wrapAttributes.preservealigned": "Preserve wrapping of attributes but align.",
"html.format.templating.desc": "Honor django, erb, handlebars and php templating language tags.",
"html.format.unformattedContentDelimiter.desc": "Keep text content together between this string.",
"html.format.wrapAttributesIndentSize.desc": "Alignment size when using 'force aligned' and 'aligned multiple' in `#html.format.wrapAttributes#` or `null` to use the default indent size.",
"html.suggest.html5.desc": "Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.",
"html.trace.server.desc": "Traces the communication between VS Code and the HTML language server.",
"html.validate.scripts": "Controls whether the built-in HTML language support validates embedded scripts.",
"html.validate.styles": "Controls whether the built-in HTML language support validates embedded styles.",
"html.autoClosingTags": "Enable/disable autoclosing of HTML tags.",
"html.mirrorCursorOnMatchingTag": "Enable/disable mirroring cursor on matching HTML tag.",
"html.mirrorCursorOnMatchingTagDeprecationMessage": "Deprecated in favor of `editor.linkedEditing`",
"html.hover.documentation": "Show tag and attribute documentation in hover.",
"html.hover.references": "Show references to MDN in hover."
},
pkgNlsJSON: {},
nlsList: [],
extendConfig: {},
mode: 'public',
};
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json",
"server/dist/browser/htmlServerMain.js",
"README.md",
"icons/html.png",
"https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/master/docs/customData.schema.json",
"schemas/package.schema.json",
"client/dist/browser/htmlClientMain.js"
],
"mode": "public"
}

View File

@ -0,0 +1,88 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "image-preview",
"version": "1.53.0-patch.1"
},
"packageJSON": {
"name": "image-preview",
"publisher": "alex-ext-public",
"version": "1.53.0-patch.1",
"displayName": "%displayName%",
"description": "%description%",
"icon": "icon.png",
"activationEvents": [
"onCustomEditor:imagePreview.previewEditor",
"onCommand:imagePreview.zoomIn",
"onCommand:imagePreview.zoomOut"
],
"kaitianContributes": {
"workerMain": "./dist/browser/extension.js"
},
"contributes": {
"customEditors": [
{
"viewType": "imagePreview.previewEditor",
"displayName": "%customEditors.displayName%",
"priority": "builtin",
"selector": [
{
"filenamePattern": "*.{jpg,jpe,jpeg,png,bmp,gif,ico,webp}"
}
]
}
],
"commands": [
{
"command": "imagePreview.zoomIn",
"title": "%command.zoomIn%",
"category": "Image Preview"
},
{
"command": "imagePreview.zoomOut",
"title": "%command.zoomOut%",
"category": "Image Preview"
}
],
"menus": {
"commandPalette": [
{
"command": "imagePreview.zoomIn",
"when": "imagePreviewFocus",
"group": "1_imagePreview"
},
{
"command": "imagePreview.zoomOut",
"when": "imagePreviewFocus",
"group": "1_imagePreview"
}
]
},
"workerMain": "./dist/browser/extension.js"
},
"browser": "./dist/browser/extension.js"
},
"defaultPkgNlsJSON": {
"displayName": "Image Preview",
"description": "Provides VS Code's built-in image preview",
"customEditors.displayName": "Image Preview",
"command.zoomIn": "Zoom in",
"command.zoomOut": "Zoom out"
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json",
"media/main.js",
"media/main.css",
"media/loading.svg",
"media/loading-dark.svg",
"media/loading-hc.svg",
"README.md",
"icon.png",
"icon.svg",
"dist/browser/extension.js"
],
"mode": "public"
}

View File

@ -1,147 +1,156 @@
module.exports = {
extension: {
publisher: 'alex-ext-public',
name: 'json-language-features-worker',
version: '1.53.0-patch.1',
},
packageJSON: {
name: 'json-language-features-worker',
publisher: 'alex',
version: '1.53.0-patch.1',
displayName: '%displayName%',
description: '%description%',
icon: 'icons/json.png',
activationEvents: ['onLanguage:json', 'onLanguage:jsonc'],
kaitianContributes: {
workerMain: 'client/dist/browser/jsonClientMain.js',
},
contributes: {
configuration: {
id: 'json',
order: 20,
type: 'object',
title: 'JSON',
properties: {
'json.schemas': {
type: 'array',
scope: 'resource',
description: '%json.schemas.desc%',
items: {
type: 'object',
default: {
fileMatch: ['/myfile'],
url: 'schemaURL',
},
properties: {
url: {
type: 'string',
default: '/user.schema.json',
description: '%json.schemas.url.desc%',
},
fileMatch: {
type: 'array',
items: {
type: 'string',
default: 'MyFile.json',
description: '%json.schemas.fileMatch.item.desc%',
},
minItems: 1,
description: '%json.schemas.fileMatch.desc%',
},
schema: {
$ref: 'http://json-schema.org/draft-07/schema#',
description: '%json.schemas.schema.desc%',
},
},
},
},
'json.format.enable': {
type: 'boolean',
scope: 'window',
default: true,
description: '%json.format.enable.desc%',
},
'json.trace.server': {
type: 'string',
scope: 'window',
enum: ['off', 'messages', 'verbose'],
default: 'off',
description: '%json.tracing.desc%',
},
'json.colorDecorators.enable': {
type: 'boolean',
scope: 'window',
default: true,
description: '%json.colorDecorators.enable.desc%',
deprecationMessage:
'%json.colorDecorators.enable.deprecationMessage%',
},
'json.maxItemsComputed': {
type: 'number',
default: 5000,
description: '%json.maxItemsComputed.desc%',
},
'json.schemaDownload.enable': {
type: 'boolean',
default: true,
description: '%json.enableSchemaDownload.desc%',
tags: ['usesOnlineServices'],
},
},
},
configurationDefaults: {
'[json]': {
'editor.quickSuggestions': {
strings: true,
},
'editor.suggest.insertMode': 'replace',
},
'[jsonc]': {
'editor.quickSuggestions': {
strings: true,
},
'editor.suggest.insertMode': 'replace',
},
},
jsonValidation: [
{
fileMatch: '*.schema.json',
url: 'http://json-schema.org/draft-07/schema#',
"extension": {
"publisher": "alex-ext-public",
"name": "json-language-features-worker",
"version": "1.53.0-patch.1"
},
"packageJSON": {
"name": "json-language-features-worker",
"publisher": "alex",
"version": "1.53.0-patch.1",
"displayName": "%displayName%",
"description": "%description%",
"icon": "icons/json.png",
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
],
workerMain: 'client/dist/browser/jsonClientMain.js',
"kaitianContributes": {
"workerMain": "client/dist/browser/jsonClientMain.js"
},
"contributes": {
"configuration": {
"id": "json",
"order": 20,
"type": "object",
"title": "JSON",
"properties": {
"json.schemas": {
"type": "array",
"scope": "resource",
"description": "%json.schemas.desc%",
"items": {
"type": "object",
"default": {
"fileMatch": [
"/myfile"
],
"url": "schemaURL"
},
defaultPkgNlsJSON: {
displayName: 'JSON Language Features',
description: 'Provides rich language support for JSON files.',
'json.schemas.desc':
'Associate schemas to JSON files in the current project',
'json.schemas.url.desc':
'A URL to a schema or a relative path to a schema in the current directory',
'json.schemas.fileMatch.desc':
"An array of file patterns to match against when resolving JSON files to schemas. `*` can be used as a wildcard. Exclusion patterns can also be defined and start with '!'. A file matches when there is at least one matching pattern and the last matching pattern is not an exclusion pattern.",
'json.schemas.fileMatch.item.desc':
"A file pattern that can contain '*' to match against when resolving JSON files to schemas.",
'json.schemas.schema.desc':
'The schema definition for the given URL. The schema only needs to be provided to avoid accesses to the schema URL.',
'json.format.enable.desc': 'Enable/disable default JSON formatter',
'json.tracing.desc':
'Traces the communication between VS Code and the JSON language server.',
'json.colorDecorators.enable.desc': 'Enables or disables color decorators',
'json.colorDecorators.enable.deprecationMessage':
'The setting `json.colorDecorators.enable` has been deprecated in favor of `editor.colorDecorators`.',
'json.schemaResolutionErrorMessage': 'Unable to resolve schema.',
'json.clickToRetry': 'Click to retry.',
'json.maxItemsComputed.desc':
'The maximum number of outline symbols and folding regions computed (limited for performance reasons).',
'json.maxItemsExceededInformation.desc':
'Show notification when exceeding the maximum number of outline symbols and folding regions.',
'json.enableSchemaDownload.desc':
'When enabled, JSON schemas can be fetched from http and https locations.',
"properties": {
"url": {
"type": "string",
"default": "/user.schema.json",
"description": "%json.schemas.url.desc%"
},
pkgNlsJSON: {},
nlsList: [],
extendConfig: {},
mode: 'public',
};
"fileMatch": {
"type": "array",
"items": {
"type": "string",
"default": "MyFile.json",
"description": "%json.schemas.fileMatch.item.desc%"
},
"minItems": 1,
"description": "%json.schemas.fileMatch.desc%"
},
"schema": {
"$ref": "http://json-schema.org/draft-07/schema#",
"description": "%json.schemas.schema.desc%"
}
}
}
},
"json.format.enable": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "%json.format.enable.desc%"
},
"json.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "%json.tracing.desc%"
},
"json.colorDecorators.enable": {
"type": "boolean",
"scope": "window",
"default": true,
"description": "%json.colorDecorators.enable.desc%",
"deprecationMessage": "%json.colorDecorators.enable.deprecationMessage%"
},
"json.maxItemsComputed": {
"type": "number",
"default": 5000,
"description": "%json.maxItemsComputed.desc%"
},
"json.schemaDownload.enable": {
"type": "boolean",
"default": true,
"description": "%json.enableSchemaDownload.desc%",
"tags": [
"usesOnlineServices"
]
}
}
},
"configurationDefaults": {
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"[jsonc]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
}
},
"jsonValidation": [
{
"fileMatch": "*.schema.json",
"url": "http://json-schema.org/draft-07/schema#"
}
],
"workerMain": "client/dist/browser/jsonClientMain.js"
},
"browser": "./client/dist/browser/jsonClientMain"
},
"defaultPkgNlsJSON": {
"displayName": "JSON Language Features",
"description": "Provides rich language support for JSON files.",
"json.schemas.desc": "Associate schemas to JSON files in the current project",
"json.schemas.url.desc": "A URL to a schema or a relative path to a schema in the current directory",
"json.schemas.fileMatch.desc": "An array of file patterns to match against when resolving JSON files to schemas. `*` can be used as a wildcard. Exclusion patterns can also be defined and start with '!'. A file matches when there is at least one matching pattern and the last matching pattern is not an exclusion pattern.",
"json.schemas.fileMatch.item.desc": "A file pattern that can contain '*' to match against when resolving JSON files to schemas.",
"json.schemas.schema.desc": "The schema definition for the given URL. The schema only needs to be provided to avoid accesses to the schema URL.",
"json.format.enable.desc": "Enable/disable default JSON formatter",
"json.tracing.desc": "Traces the communication between VS Code and the JSON language server.",
"json.colorDecorators.enable.desc": "Enables or disables color decorators",
"json.colorDecorators.enable.deprecationMessage": "The setting `json.colorDecorators.enable` has been deprecated in favor of `editor.colorDecorators`.",
"json.schemaResolutionErrorMessage": "Unable to resolve schema.",
"json.clickToRetry": "Click to retry.",
"json.maxItemsComputed.desc": "The maximum number of outline symbols and folding regions computed (limited for performance reasons).",
"json.maxItemsExceededInformation.desc": "Show notification when exceeding the maximum number of outline symbols and folding regions.",
"json.enableSchemaDownload.desc": "When enabled, JSON schemas can be fetched from http and https locations."
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json",
"server/dist/browser/jsonServerMain.js",
"README.md",
"icons/json.png",
"http://json-schema.org/draft-07/schema#",
"client/dist/browser/jsonClientMain.js"
],
"mode": "public"
}

View File

@ -1,346 +1,351 @@
module.exports = {
extension: {
publisher: 'alex-ext-public',
name: 'markdown-language-features-worker',
version: '1.53.0-patch.1',
"extension": {
"publisher": "alex-ext-public",
"name": "markdown-language-features-worker",
"version": "1.53.0-patch.1"
},
packageJSON: {
name: 'markdown-language-features-worker',
publisher: 'alex',
version: '1.53.0-patch.1',
displayName: '%displayName%',
description: '%description%',
icon: 'icon.png',
activationEvents: [
'onLanguage:markdown',
'onCommand:markdown.preview.toggleLock',
'onCommand:markdown.preview.refresh',
'onCommand:markdown.showPreview',
'onCommand:markdown.showPreviewToSide',
'onCommand:markdown.showLockedPreviewToSide',
'onCommand:markdown.showSource',
'onCommand:markdown.showPreviewSecuritySelector',
'onCommand:markdown.api.render',
'onWebviewPanel:markdown.preview',
'onCustomEditor:vscode.markdown.preview.editor',
"packageJSON": {
"name": "markdown-language-features-worker",
"publisher": "alex",
"version": "1.53.0-patch.1",
"displayName": "%displayName%",
"description": "%description%",
"icon": "icon.png",
"activationEvents": [
"onLanguage:markdown",
"onCommand:markdown.preview.toggleLock",
"onCommand:markdown.preview.refresh",
"onCommand:markdown.showPreview",
"onCommand:markdown.showPreviewToSide",
"onCommand:markdown.showLockedPreviewToSide",
"onCommand:markdown.showSource",
"onCommand:markdown.showPreviewSecuritySelector",
"onCommand:markdown.api.render",
"onWebviewPanel:markdown.preview",
"onCustomEditor:vscode.markdown.preview.editor"
],
kaitianContributes: {
workerMain: './dist/browser/extension.js',
"kaitianContributes": {
"workerMain": "./dist/browser/extension.js"
},
contributes: {
commands: [
"contributes": {
"commands": [
{
command: 'markdown.showPreview',
title: '%markdown.preview.title%',
category: 'Markdown',
icon: {
light: './media/preview-light.svg',
dark: './media/preview-dark.svg',
},
"command": "markdown.showPreview",
"title": "%markdown.preview.title%",
"category": "Markdown",
"icon": {
"light": "./media/preview-light.svg",
"dark": "./media/preview-dark.svg"
}
},
{
command: 'markdown.showPreviewToSide',
title: '%markdown.previewSide.title%',
category: 'Markdown',
icon: '$(open-preview)',
"command": "markdown.showPreviewToSide",
"title": "%markdown.previewSide.title%",
"category": "Markdown",
"icon": "$(open-preview)"
},
{
command: 'markdown.showLockedPreviewToSide',
title: '%markdown.showLockedPreviewToSide.title%',
category: 'Markdown',
icon: '$(open-preview)',
"command": "markdown.showLockedPreviewToSide",
"title": "%markdown.showLockedPreviewToSide.title%",
"category": "Markdown",
"icon": "$(open-preview)"
},
{
command: 'markdown.showSource',
title: '%markdown.showSource.title%',
category: 'Markdown',
icon: '$(go-to-file)',
"command": "markdown.showSource",
"title": "%markdown.showSource.title%",
"category": "Markdown",
"icon": "$(go-to-file)"
},
{
command: 'markdown.showPreviewSecuritySelector',
title: '%markdown.showPreviewSecuritySelector.title%',
category: 'Markdown',
"command": "markdown.showPreviewSecuritySelector",
"title": "%markdown.showPreviewSecuritySelector.title%",
"category": "Markdown"
},
{
command: 'markdown.preview.refresh',
title: '%markdown.preview.refresh.title%',
category: 'Markdown',
"command": "markdown.preview.refresh",
"title": "%markdown.preview.refresh.title%",
"category": "Markdown"
},
{
command: 'markdown.preview.toggleLock',
title: '%markdown.preview.toggleLock.title%',
category: 'Markdown',
},
"command": "markdown.preview.toggleLock",
"title": "%markdown.preview.toggleLock.title%",
"category": "Markdown"
}
],
menus: {
'editor/title': [
"menus": {
"editor/title": [
{
command: 'markdown.showPreviewToSide',
when: 'editorLangId == markdown && !notebookEditorFocused',
alt: 'markdown.showPreview',
group: 'navigation',
"command": "markdown.showPreviewToSide",
"when": "editorLangId == markdown && !notebookEditorFocused",
"alt": "markdown.showPreview",
"group": "navigation"
},
{
command: 'markdown.showSource',
when: 'markdownPreviewFocus',
group: 'navigation',
"command": "markdown.showSource",
"when": "markdownPreviewFocus",
"group": "navigation"
},
{
command: 'markdown.preview.refresh',
when: 'markdownPreviewFocus',
group: '1_markdown',
"command": "markdown.preview.refresh",
"when": "markdownPreviewFocus",
"group": "1_markdown"
},
{
command: 'markdown.preview.toggleLock',
when: 'markdownPreviewFocus',
group: '1_markdown',
"command": "markdown.preview.toggleLock",
"when": "markdownPreviewFocus",
"group": "1_markdown"
},
{
command: 'markdown.showPreviewSecuritySelector',
when: 'markdownPreviewFocus',
group: '1_markdown',
},
"command": "markdown.showPreviewSecuritySelector",
"when": "markdownPreviewFocus",
"group": "1_markdown"
}
],
'explorer/context': [
"explorer/context": [
{
command: 'markdown.showPreview',
when: 'resourceLangId == markdown',
group: 'navigation',
},
"command": "markdown.showPreview",
"when": "resourceLangId == markdown",
"group": "navigation"
}
],
'editor/title/context': [
"editor/title/context": [
{
command: 'markdown.showPreview',
when: 'resourceLangId == markdown',
group: '1_open',
},
"command": "markdown.showPreview",
"when": "resourceLangId == markdown",
"group": "1_open"
}
],
commandPalette: [
"commandPalette": [
{
command: 'markdown.showPreview',
when: 'editorLangId == markdown && !notebookEditorFocused',
group: 'navigation',
"command": "markdown.showPreview",
"when": "editorLangId == markdown && !notebookEditorFocused",
"group": "navigation"
},
{
command: 'markdown.showPreviewToSide',
when: 'editorLangId == markdown && !notebookEditorFocused',
group: 'navigation',
"command": "markdown.showPreviewToSide",
"when": "editorLangId == markdown && !notebookEditorFocused",
"group": "navigation"
},
{
command: 'markdown.showLockedPreviewToSide',
when: 'editorLangId == markdown && !notebookEditorFocused',
group: 'navigation',
"command": "markdown.showLockedPreviewToSide",
"when": "editorLangId == markdown && !notebookEditorFocused",
"group": "navigation"
},
{
command: 'markdown.showSource',
when: 'markdownPreviewFocus',
group: 'navigation',
"command": "markdown.showSource",
"when": "markdownPreviewFocus",
"group": "navigation"
},
{
command: 'markdown.showPreviewSecuritySelector',
when: 'editorLangId == markdown && !notebookEditorFocused',
"command": "markdown.showPreviewSecuritySelector",
"when": "editorLangId == markdown && !notebookEditorFocused"
},
{
command: 'markdown.showPreviewSecuritySelector',
when: 'markdownPreviewFocus',
"command": "markdown.showPreviewSecuritySelector",
"when": "markdownPreviewFocus"
},
{
command: 'markdown.preview.toggleLock',
when: 'markdownPreviewFocus',
"command": "markdown.preview.toggleLock",
"when": "markdownPreviewFocus"
},
{
command: 'markdown.preview.refresh',
when: 'editorLangId == markdown && !notebookEditorFocused',
"command": "markdown.preview.refresh",
"when": "editorLangId == markdown && !notebookEditorFocused"
},
{
command: 'markdown.preview.refresh',
when: 'markdownPreviewFocus',
"command": "markdown.preview.refresh",
"when": "markdownPreviewFocus"
}
]
},
"keybindings": [
{
"command": "markdown.showPreview",
"key": "shift+ctrl+v",
"mac": "shift+cmd+v",
"when": "editorLangId == markdown && !notebookEditorFocused"
},
{
"command": "markdown.showPreviewToSide",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorLangId == markdown && !notebookEditorFocused"
}
],
"configuration": {
"type": "object",
"title": "Markdown",
"order": 20,
"properties": {
"markdown.styles": {
"type": "array",
"items": {
"type": "string"
},
keybindings: [
"default": [],
"description": "%markdown.styles.dec%",
"scope": "resource"
},
"markdown.preview.breaks": {
"type": "boolean",
"default": false,
"description": "%markdown.preview.breaks.desc%",
"scope": "resource"
},
"markdown.preview.linkify": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.linkify%",
"scope": "resource"
},
"markdown.preview.fontFamily": {
"type": "string",
"default": "-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif",
"description": "%markdown.preview.fontFamily.desc%",
"scope": "resource"
},
"markdown.preview.fontSize": {
"type": "number",
"default": 14,
"description": "%markdown.preview.fontSize.desc%",
"scope": "resource"
},
"markdown.preview.lineHeight": {
"type": "number",
"default": 1.6,
"description": "%markdown.preview.lineHeight.desc%",
"scope": "resource"
},
"markdown.preview.scrollPreviewWithEditor": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.scrollPreviewWithEditor.desc%",
"scope": "resource"
},
"markdown.preview.markEditorSelection": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.markEditorSelection.desc%",
"scope": "resource"
},
"markdown.preview.scrollEditorWithPreview": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.scrollEditorWithPreview.desc%",
"scope": "resource"
},
"markdown.preview.doubleClickToSwitchToEditor": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.doubleClickToSwitchToEditor.desc%",
"scope": "resource"
},
"markdown.preview.openMarkdownLinks": {
"type": "string",
"default": "inPreview",
"description": "%configuration.markdown.preview.openMarkdownLinks.description%",
"scope": "resource",
"enum": [
"inPreview",
"inEditor"
],
"enumDescriptions": [
"%configuration.markdown.preview.openMarkdownLinks.inPreview%",
"%configuration.markdown.preview.openMarkdownLinks.inEditor%"
]
},
"markdown.links.openLocation": {
"type": "string",
"default": "currentGroup",
"description": "%configuration.markdown.links.openLocation.description%",
"scope": "resource",
"enum": [
"currentGroup",
"beside"
],
"enumDescriptions": [
"%configuration.markdown.links.openLocation.currentGroup%",
"%configuration.markdown.links.openLocation.beside%"
]
},
"markdown.trace": {
"type": "string",
"enum": [
"off",
"verbose"
],
"default": "off",
"description": "%markdown.trace.desc%",
"scope": "window"
}
}
},
"configurationDefaults": {
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false
}
},
"jsonValidation": [
{
command: 'markdown.showPreview',
key: 'shift+ctrl+v',
mac: 'shift+cmd+v',
when: 'editorLangId == markdown && !notebookEditorFocused',
},
{
command: 'markdown.showPreviewToSide',
key: 'ctrl+k v',
mac: 'cmd+k v',
when: 'editorLangId == markdown && !notebookEditorFocused',
},
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
}
],
configuration: {
type: 'object',
title: 'Markdown',
order: 20,
properties: {
'markdown.styles': {
type: 'array',
items: {
type: 'string',
},
default: [],
description: '%markdown.styles.dec%',
scope: 'resource',
},
'markdown.preview.breaks': {
type: 'boolean',
default: false,
description: '%markdown.preview.breaks.desc%',
scope: 'resource',
},
'markdown.preview.linkify': {
type: 'boolean',
default: true,
description: '%markdown.preview.linkify%',
scope: 'resource',
},
'markdown.preview.fontFamily': {
type: 'string',
default:
"-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif",
description: '%markdown.preview.fontFamily.desc%',
scope: 'resource',
},
'markdown.preview.fontSize': {
type: 'number',
default: 14,
description: '%markdown.preview.fontSize.desc%',
scope: 'resource',
},
'markdown.preview.lineHeight': {
type: 'number',
default: 1.6,
description: '%markdown.preview.lineHeight.desc%',
scope: 'resource',
},
'markdown.preview.scrollPreviewWithEditor': {
type: 'boolean',
default: true,
description: '%markdown.preview.scrollPreviewWithEditor.desc%',
scope: 'resource',
},
'markdown.preview.markEditorSelection': {
type: 'boolean',
default: true,
description: '%markdown.preview.markEditorSelection.desc%',
scope: 'resource',
},
'markdown.preview.scrollEditorWithPreview': {
type: 'boolean',
default: true,
description: '%markdown.preview.scrollEditorWithPreview.desc%',
scope: 'resource',
},
'markdown.preview.doubleClickToSwitchToEditor': {
type: 'boolean',
default: true,
description: '%markdown.preview.doubleClickToSwitchToEditor.desc%',
scope: 'resource',
},
'markdown.preview.openMarkdownLinks': {
type: 'string',
default: 'inPreview',
description:
'%configuration.markdown.preview.openMarkdownLinks.description%',
scope: 'resource',
enum: ['inPreview', 'inEditor'],
enumDescriptions: [
'%configuration.markdown.preview.openMarkdownLinks.inPreview%',
'%configuration.markdown.preview.openMarkdownLinks.inEditor%',
"markdown.previewStyles": [
"./media/markdown.css",
"./media/highlight.css"
],
},
'markdown.links.openLocation': {
type: 'string',
default: 'currentGroup',
description:
'%configuration.markdown.links.openLocation.description%',
scope: 'resource',
enum: ['currentGroup', 'beside'],
enumDescriptions: [
'%configuration.markdown.links.openLocation.currentGroup%',
'%configuration.markdown.links.openLocation.beside%',
"markdown.previewScripts": [
"./media/index.js"
],
"workerMain": "./dist/browser/extension.js"
},
'markdown.trace': {
type: 'string',
enum: ['off', 'verbose'],
default: 'off',
description: '%markdown.trace.desc%',
scope: 'window',
"browser": "./dist/browser/extension"
},
"defaultPkgNlsJSON": {
"displayName": "Markdown Language Features",
"description": "Provides rich language support for Markdown.",
"markdown.preview.breaks.desc": "Sets how line-breaks are rendered in the markdown preview. Setting it to 'true' creates a <br> for newlines inside paragraphs.",
"markdown.preview.linkify": "Enable or disable conversion of URL-like text to links in the markdown preview.",
"markdown.preview.doubleClickToSwitchToEditor.desc": "Double click in the markdown preview to switch to the editor.",
"markdown.preview.fontFamily.desc": "Controls the font family used in the markdown preview.",
"markdown.preview.fontSize.desc": "Controls the font size in pixels used in the markdown preview.",
"markdown.preview.lineHeight.desc": "Controls the line height used in the markdown preview. This number is relative to the font size.",
"markdown.preview.markEditorSelection.desc": "Mark the current editor selection in the markdown preview.",
"markdown.preview.scrollEditorWithPreview.desc": "When a markdown preview is scrolled, update the view of the editor.",
"markdown.preview.scrollPreviewWithEditor.desc": "When a markdown editor is scrolled, update the view of the preview.",
"markdown.preview.title": "Open Preview",
"markdown.previewSide.title": "Open Preview to the Side",
"markdown.showLockedPreviewToSide.title": "Open Locked Preview to the Side",
"markdown.showSource.title": "Show Source",
"markdown.styles.dec": "A list of URLs or local paths to CSS style sheets to use from the markdown preview. Relative paths are interpreted relative to the folder open in the explorer. If there is no open folder, they are interpreted relative to the location of the markdown file. All '\\' need to be written as '\\\\'.",
"markdown.showPreviewSecuritySelector.title": "Change Preview Security Settings",
"markdown.trace.desc": "Enable debug logging for the markdown extension.",
"markdown.preview.refresh.title": "Refresh Preview",
"markdown.preview.toggleLock.title": "Toggle Preview Locking",
"configuration.markdown.preview.openMarkdownLinks.description": "Controls how links to other markdown files in the markdown preview should be opened.",
"configuration.markdown.preview.openMarkdownLinks.inEditor": "Try to open links in the editor",
"configuration.markdown.preview.openMarkdownLinks.inPreview": "Try to open links in the markdown preview",
"configuration.markdown.links.openLocation.description": "Controls where links in markdown files should be opened.",
"configuration.markdown.links.openLocation.currentGroup": "Open links in the active editor group.",
"configuration.markdown.links.openLocation.beside": "Open links beside the active editor."
},
},
configurationDefaults: {
'[markdown]': {
'editor.wordWrap': 'on',
'editor.quickSuggestions': false,
},
},
jsonValidation: [
{
fileMatch: 'package.json',
url: './schemas/package.schema.json',
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json",
"media/highlight.css",
"media/index.js",
"media/markdown.css",
"media/pre.js",
"media/preview-dark.svg",
"media/preview-light.svg",
"README.md",
"icon.png",
"schemas/package.schema.json",
"dist/browser/extension.js"
],
'markdown.previewStyles': [
'./media/markdown.css',
'./media/highlight.css',
],
'markdown.previewScripts': ['./media/index.js'],
workerMain: './dist/browser/extension.js',
},
},
defaultPkgNlsJSON: {
displayName: 'Markdown Language Features',
description: 'Provides rich language support for Markdown.',
'markdown.preview.breaks.desc':
"Sets how line-breaks are rendered in the markdown preview. Setting it to 'true' creates a <br> for newlines inside paragraphs.",
'markdown.preview.linkify':
'Enable or disable conversion of URL-like text to links in the markdown preview.',
'markdown.preview.doubleClickToSwitchToEditor.desc':
'Double click in the markdown preview to switch to the editor.',
'markdown.preview.fontFamily.desc':
'Controls the font family used in the markdown preview.',
'markdown.preview.fontSize.desc':
'Controls the font size in pixels used in the markdown preview.',
'markdown.preview.lineHeight.desc':
'Controls the line height used in the markdown preview. This number is relative to the font size.',
'markdown.preview.markEditorSelection.desc':
'Mark the current editor selection in the markdown preview.',
'markdown.preview.scrollEditorWithPreview.desc':
'When a markdown preview is scrolled, update the view of the editor.',
'markdown.preview.scrollPreviewWithEditor.desc':
'When a markdown editor is scrolled, update the view of the preview.',
'markdown.preview.title': 'Open Preview',
'markdown.previewSide.title': 'Open Preview to the Side',
'markdown.showLockedPreviewToSide.title': 'Open Locked Preview to the Side',
'markdown.showSource.title': 'Show Source',
'markdown.styles.dec':
"A list of URLs or local paths to CSS style sheets to use from the markdown preview. Relative paths are interpreted relative to the folder open in the explorer. If there is no open folder, they are interpreted relative to the location of the markdown file. All '\\' need to be written as '\\\\'.",
'markdown.showPreviewSecuritySelector.title':
'Change Preview Security Settings',
'markdown.trace.desc': 'Enable debug logging for the markdown extension.',
'markdown.preview.refresh.title': 'Refresh Preview',
'markdown.preview.toggleLock.title': 'Toggle Preview Locking',
'configuration.markdown.preview.openMarkdownLinks.description':
'Controls how links to other markdown files in the markdown preview should be opened.',
'configuration.markdown.preview.openMarkdownLinks.inEditor':
'Try to open links in the editor',
'configuration.markdown.preview.openMarkdownLinks.inPreview':
'Try to open links in the markdown preview',
'configuration.markdown.links.openLocation.description':
'Controls where links in markdown files should be opened.',
'configuration.markdown.links.openLocation.currentGroup':
'Open links in the active editor group.',
'configuration.markdown.links.openLocation.beside':
'Open links beside the active editor.',
},
pkgNlsJSON: {},
nlsList: [],
extendConfig: {},
mode: 'public',
};
"mode": "public"
}

View File

@ -0,0 +1,433 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "references-view",
"version": "1.0.0"
},
"packageJSON": {
"name": "references-view",
"publisher": "ms-vscode",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-references-view"
},
"displayName": "%displayName%",
"description": "%description%",
"icon": "media/icon.png",
"activationEvents": [
"onCommand:references-view.find",
"onCommand:references-view.findReferences",
"onCommand:references-view.findImplementations",
"onCommand:references-view.showCallHierarchy",
"onCommand:references-view.showTypeHierarchy",
"onCommand:editor.action.showReferences",
"onView:references-view.tree"
],
"contributes": {
"configuration": {
"properties": {
"references.preferredLocation": {
"description": "%config.references.preferredLocation%",
"type": "string",
"default": "peek",
"enum": [
"peek",
"view"
],
"enumDescriptions": [
"%config.references.preferredLocation.peek%",
"%config.references.preferredLocation.view%"
]
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "references-view",
"icon": "$(references)",
"title": "%container.title%"
}
]
},
"views": {
"references-view": [
{
"id": "references-view.tree",
"name": "%view.title%",
"when": "reference-list.isActive"
}
]
},
"commands": [
{
"command": "references-view.findReferences",
"title": "%cmd.references-view.findReferences%",
"category": "%cmd.category.references%"
},
{
"command": "references-view.findImplementations",
"title": "%cmd.references-view.findImplementations%",
"category": "%cmd.category.references%"
},
{
"command": "references-view.clearHistory",
"title": "%cmd.references-view.clearHistory%",
"category": "%cmd.category.references%",
"icon": "$(clear-all)"
},
{
"command": "references-view.clear",
"title": "%cmd.references-view.clear%",
"category": "%cmd.category.references%",
"icon": "$(clear-all)"
},
{
"command": "references-view.refresh",
"title": "%cmd.references-view.refresh%",
"category": "%cmd.category.references%",
"icon": "$(refresh)"
},
{
"command": "references-view.pickFromHistory",
"title": "%cmd.references-view.pickFromHistory%",
"category": "%cmd.category.references%"
},
{
"command": "references-view.removeReferenceItem",
"title": "%cmd.references-view.removeReferenceItem%",
"icon": "$(close)"
},
{
"command": "references-view.copy",
"title": "%cmd.references-view.copy%"
},
{
"command": "references-view.copyAll",
"title": "%cmd.references-view.copyAll%"
},
{
"command": "references-view.copyPath",
"title": "%cmd.references-view.copyPath%"
},
{
"command": "references-view.refind",
"title": "%cmd.references-view.refind%",
"icon": "$(refresh)"
},
{
"command": "references-view.showCallHierarchy",
"title": "%cmd.references-view.showCallHierarchy%",
"category": "Calls"
},
{
"command": "references-view.showOutgoingCalls",
"title": "%cmd.references-view.showOutgoingCalls%",
"category": "Calls",
"icon": "$(call-outgoing)"
},
{
"command": "references-view.showIncomingCalls",
"title": "%cmd.references-view.showIncomingCalls%",
"category": "Calls",
"icon": "$(call-incoming)"
},
{
"command": "references-view.removeCallItem",
"title": "%cmd.references-view.removeCallItem%",
"icon": "$(close)"
},
{
"command": "references-view.next",
"title": "%cmd.references-view.next%",
"enablement": "references-view.canNavigate"
},
{
"command": "references-view.prev",
"title": "%cmd.references-view.prev%",
"enablement": "references-view.canNavigate"
},
{
"command": "references-view.showTypeHierarchy",
"title": "%cmd.references-view.showTypeHierarchy%",
"category": "Types"
},
{
"command": "references-view.showSupertypes",
"title": "%cmd.references-view.showSupertypes%",
"category": "Types",
"icon": "$(type-hierarchy-super)"
},
{
"command": "references-view.showSubtypes",
"title": "%cmd.references-view.showSubtypes%",
"category": "Types",
"icon": "$(type-hierarchy-sub)"
},
{
"command": "references-view.removeTypeItem",
"title": "%cmd.references-view.removeTypeItem%",
"icon": "$(close)"
}
],
"menus": {
"editor/context": [
{
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider",
"group": "0_navigation@1"
},
{
"command": "references-view.findImplementations",
"when": "editorHasImplementationProvider",
"group": "0_navigation@2"
},
{
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider",
"group": "0_navigation@3"
},
{
"command": "references-view.showTypeHierarchy",
"when": "editorHasTypeHierarchyProvider",
"group": "0_navigation@4"
}
],
"view/title": [
{
"command": "references-view.clear",
"group": "navigation@3",
"when": "view == references-view.tree && reference-list.hasResult"
},
{
"command": "references-view.clearHistory",
"group": "navigation@3",
"when": "view == references-view.tree && reference-list.hasHistory && !reference-list.hasResult"
},
{
"command": "references-view.refresh",
"group": "navigation@2",
"when": "view == references-view.tree && reference-list.hasResult"
},
{
"command": "references-view.showOutgoingCalls",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == callHierarchy && references-view.callHierarchyMode == showIncoming"
},
{
"command": "references-view.showIncomingCalls",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == callHierarchy && references-view.callHierarchyMode == showOutgoing"
},
{
"command": "references-view.showSupertypes",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == typeHierarchy && references-view.typeHierarchyMode != supertypes"
},
{
"command": "references-view.showSubtypes",
"group": "navigation@1",
"when": "view == references-view.tree && reference-list.hasResult && reference-list.source == typeHierarchy && references-view.typeHierarchyMode != subtypes"
}
],
"view/item/context": [
{
"command": "references-view.removeReferenceItem",
"group": "inline",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.removeCallItem",
"group": "inline",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.removeTypeItem",
"group": "inline",
"when": "view == references-view.tree && viewItem == type-item"
},
{
"command": "references-view.refind",
"group": "inline",
"when": "view == references-view.tree && viewItem == history-item"
},
{
"command": "references-view.removeReferenceItem",
"group": "1",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.removeCallItem",
"group": "1",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.removeTypeItem",
"group": "1",
"when": "view == references-view.tree && viewItem == type-item"
},
{
"command": "references-view.refind",
"group": "1",
"when": "view == references-view.tree && viewItem == history-item"
},
{
"command": "references-view.copy",
"group": "2@1",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.copyPath",
"group": "2@2",
"when": "view == references-view.tree && viewItem == file-item"
},
{
"command": "references-view.copyAll",
"group": "2@3",
"when": "view == references-view.tree && viewItem == file-item || view == references-view.tree && viewItem == reference-item"
},
{
"command": "references-view.showOutgoingCalls",
"group": "1",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.showIncomingCalls",
"group": "1",
"when": "view == references-view.tree && viewItem == call-item"
},
{
"command": "references-view.showSupertypes",
"group": "1",
"when": "view == references-view.tree && viewItem == type-item"
},
{
"command": "references-view.showSubtypes",
"group": "1",
"when": "view == references-view.tree && viewItem == type-item"
}
],
"commandPalette": [
{
"command": "references-view.removeReferenceItem",
"when": "never"
},
{
"command": "references-view.removeCallItem",
"when": "never"
},
{
"command": "references-view.removeTypeItem",
"when": "never"
},
{
"command": "references-view.copy",
"when": "never"
},
{
"command": "references-view.copyAll",
"when": "never"
},
{
"command": "references-view.copyPath",
"when": "never"
},
{
"command": "references-view.refind",
"when": "never"
},
{
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider"
},
{
"command": "references-view.clear",
"when": "reference-list.hasResult"
},
{
"command": "references-view.clearHistory",
"when": "reference-list.isActive && !reference-list.hasResult"
},
{
"command": "references-view.refresh",
"when": "reference-list.hasResult"
},
{
"command": "references-view.pickFromHistory",
"when": "reference-list.isActive"
},
{
"command": "references-view.next",
"when": "never"
},
{
"command": "references-view.prev",
"when": "never"
}
]
},
"keybindings": [
{
"command": "references-view.findReferences",
"when": "editorHasReferenceProvider",
"key": "shift+alt+f12"
},
{
"command": "references-view.next",
"when": "reference-list.hasResult",
"key": "f4"
},
{
"command": "references-view.prev",
"when": "reference-list.hasResult",
"key": "shift+f4"
},
{
"command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider",
"key": "shift+alt+h"
}
]
},
"browser": "./dist/extension.js"
},
"defaultPkgNlsJSON": {
"displayName": "Reference Search View",
"description": "Reference Search results as separate, stable view in the sidebar",
"config.references.preferredLocation": "Controls whether 'Peek References' or 'Find References' is invoked when selecting code lens references",
"config.references.preferredLocation.peek": "Show references in peek editor.",
"config.references.preferredLocation.view": "Show references in separate view.",
"container.title": "References",
"view.title": "Results",
"cmd.category.references": "References",
"cmd.references-view.findReferences": "Find All References",
"cmd.references-view.findImplementations": "Find All Implementations",
"cmd.references-view.clearHistory": "Clear History",
"cmd.references-view.clear": "Clear",
"cmd.references-view.refresh": "Refresh",
"cmd.references-view.pickFromHistory": "Show History",
"cmd.references-view.removeReferenceItem": "Dismiss",
"cmd.references-view.copy": "Copy",
"cmd.references-view.copyAll": "Copy All",
"cmd.references-view.copyPath": "Copy Path",
"cmd.references-view.refind": "Rerun",
"cmd.references-view.showCallHierarchy": "Show Call Hierarchy",
"cmd.references-view.showOutgoingCalls": "Show Outgoing Calls",
"cmd.references-view.showIncomingCalls": "Show Incoming Calls",
"cmd.references-view.removeCallItem": "Dismiss",
"cmd.references-view.next": "Go to Next Reference",
"cmd.references-view.prev": "Go to Previous Reference",
"cmd.references-view.showTypeHierarchy": "Show Type Hierarchy",
"cmd.references-view.showSupertypes": "Show Supertypes",
"cmd.references-view.showSubtypes": "Show Subtypes",
"cmd.references-view.removeTypeItem": "Dismiss"
},
"pkgNlsJSON": {},
"nlsList": [],
"extendConfig": {},
"webAssets": [
"package.json"
],
"mode": "public"
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,337 @@
module.exports = {
"extension": {
"publisher": "alex-ext-public",
"name": "web-scm",
"version": "0.0.9"
},
"packageJSON": {
"name": "web-scm",
"publisher": "alex-ext-public",
"version": "0.0.9",
"displayName": "web-scm",
"description": "SCM for Web",
"activationEvents": [
"*"
],
"kaitianContributes": {
"workerMain": "./out/worker/index.js"
},
"contributes": {
"commands": [
{
"command": "git.commit",
"title": "git commit",
"icon": "$(check)",
"category": "Git"
},
{
"command": "git.refresh",
"title": "git refresh",
"icon": "$(refresh)",
"category": "Git"
},
{
"command": "git.branch",
"title": "create branch",
"icon": "$(branch)",
"category": "Git"
},
{
"command": "git.branchFrom",
"title": "create branch from",
"icon": "$(branch)",
"category": "Git"
},
{
"command": "git.openFile",
"title": "git open file",
"icon": "$(go-to-file)",
"category": "Git"
},
{
"command": "git.stage",
"title": "git stage",
"icon": "$(add)",
"category": "Git"
},
{
"command": "git.clean",
"title": "git clean",
"icon": "$(discard)",
"category": "Git"
},
{
"command": "git.cleanAll",
"title": "git cleanAll",
"icon": "$(discard)",
"category": "Git"
}
],
"menus": {
"scm/title": [
{
"command": "git.commit",
"group": "navigation",
"when": "scmProvider == webscm"
},
{
"command": "git.refresh",
"group": "navigation",
"when": "scmProvider == webscm"
},
{
"command": "git.branch",
"when": "scmProvider == webscm"
},
{
"command": "git.branchFrom",
"when": "scmProvider == webscm"
}
],
"scm/resourceState/context": [
{
"command": "git.openFile",
"when": "scmProvider == webscm",
"group": "inline"
},
{
"command": "git.clean",
"when": "scmProvider == webscm",
"group": "inline"
}
],
"scm/resourceGroup/context": [
{
"command": "git.cleanAll",
"when": "scmProvider == webscm",
"group": "inline"
}
],
"scm/change/title": [
{
"command": "git.cleanAll",
"when": "originalResourceScheme == git"
}
]
},
"colors": [
{
"id": "gitDecoration.addedResourceForeground",
"description": "%colors.added%",
"defaults": {
"light": "#587c0c",
"dark": "#81b88b",
"highContrast": "#1b5225",
"highContrastLight": "#374e06"
}
},
{
"id": "gitDecoration.modifiedResourceForeground",
"description": "%colors.modified%",
"defaults": {
"light": "#895503",
"dark": "#E2C08D",
"highContrast": "#E2C08D",
"highContrastLight": "#895503"
}
},
{
"id": "gitDecoration.deletedResourceForeground",
"description": "%colors.deleted%",
"defaults": {
"light": "#ad0707",
"dark": "#c74e39",
"highContrast": "#c74e39",
"highContrastLight": "#ad0707"
}
},
{
"id": "gitDecoration.renamedResourceForeground",
"description": "%colors.renamed%",
"defaults": {
"light": "#007100",
"dark": "#73C991",
"highContrast": "#73C991",
"highContrastLight": "#007100"
}
},
{
"id": "gitDecoration.untrackedResourceForeground",
"description": "%colors.untracked%",
"defaults": {
"light": "#007100",
"dark": "#73C991",
"highContrast": "#73C991",
"highContrastLight": "#007100"
}
},
{
"id": "gitDecoration.ignoredResourceForeground",
"description": "%colors.ignored%",
"defaults": {
"light": "#8E8E90",
"dark": "#8C8C8C",
"highContrast": "#A7A8A9",
"highContrastLight": "#8e8e90"
}
},
{
"id": "gitDecoration.stageModifiedResourceForeground",
"description": "%colors.stageModified%",
"defaults": {
"light": "#895503",
"dark": "#E2C08D",
"highContrast": "#E2C08D",
"highContrastLight": "#895503"
}
},
{
"id": "gitDecoration.stageDeletedResourceForeground",
"description": "%colors.stageDeleted%",
"defaults": {
"light": "#ad0707",
"dark": "#c74e39",
"highContrast": "#c74e39",
"highContrastLight": "#ad0707"
}
},
{
"id": "gitDecoration.conflictingResourceForeground",
"description": "%colors.conflict%",
"defaults": {
"light": "#ad0707",
"dark": "#e4676b",
"highContrast": "#c74e39",
"highContrastLight": "#ad0707"
}
},
{
"id": "gitDecoration.submoduleResourceForeground",
"description": "%colors.submodule%",
"defaults": {
"light": "#1258a7",
"dark": "#8db9e2",
"highContrast": "#8db9e2",
"highContrastLight": "#1258a7"
}
}
],
"keybindings": [
{
"command": "git.commit",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "scmRepository"
}
],
"workerMain": "./out/worker/index.js"
}
},
"defaultPkgNlsJSON": {
"common.cancel": "Cancel",
"common.certain": "Certain",
"alex.git.refresh": "git refresh",
"alex.git.inputBox.placeholder": "Message ({0} commit and push directly)",
"changes": "Changes",
"staged.changes": "Staged Changes",
"merge.changes": "Merge Changes",
"untracked.changes": "Untracked Changes",
"git.title.workingTree": "{0} (WorkingTree)",
"git.title.untracked": "{0} (Untracked)",
"git.title.deleted": "{0} (Deleted)",
"git.title.added": "{0} (Added)",
"git error details": "Git Error",
"deleted": "Deleted",
"added": "Added",
"modified": "Modified",
"diff": "Diff",
"discard": "Discard Changes",
"confirm delete": "Are you sure you want to DELETE {0}?\nThis is IRREVERSIBLE!\nThis file will be FOREVER LOST if you proceed.",
"restore file": "Restore file",
"confirm restore": "Are you sure you want to restore {0}?",
"confirm discard": "Are you sure you want to discard changes in {0}?",
"delete file": "Delete file",
"delete files": "Delete Files",
"restore files": "Restore files",
"confirm restore multiple": "Are you sure you want to restore {0} files?",
"confirm discard multiple": "Are you sure you want to discard changes in {0} files?",
"warn untracked": "This will DELETE {0} untracked files!\nThis is IRREVERSIBLE!\nThese files will be FOREVER LOST.",
"there are untracked files single": "The following untracked file will be DELETED FROM DISK if discarded: {0}.",
"there are untracked files": "There are {0} untracked files which will be DELETED FROM DISK if discarded.",
"confirm discard all 2": "{0}\n\nThis is IRREVERSIBLE, your current working set will be FOREVER LOST.",
"yes discard tracked": "Discard 1 Tracked File",
"yes discard tracked multiple": "Discard {0} Tracked Files",
"discardAll": "Discard All {0} Files",
"confirm discard all single": "Are you sure you want to discard changes in {0}?",
"confirm discard all": "Are you sure you want to discard ALL changes in {0} files?\nThis is IRREVERSIBLE!\nYour current working set will be FOREVER LOST if you proceed.",
"discardAll multiple": "Discard 1 File",
"confirm delete multiple": "Are you sure you want to DELETE {0} files?\nThis is IRREVERSIBLE!\nThese files will be FOREVER LOST if you proceed.",
"commit message": "Commit message",
"provide commit message": "Please provide a commit message",
"commit success": "Commit to {0} success \n Whether to go to {1} to create a PR",
"commit failed": "Commit failed",
"confirm stage files with merge conflicts": "Are you sure you want to stage {0} files with merge conflicts",
"confirm stage file with merge conflicts": "Are you sure you want to stage {0} with merge conflicts?"
},
"pkgNlsJSON": {
"zh-CN": {
"common.cancel": "取消",
"common.certain": "确定",
"common.toplatform": "提交成功,是否去 {0} 创建 PR",
"alex.git.refresh": "git refresh",
"alex.git.inputBox.placeholder": "消息({0} 直接提交并推送) ",
"changes": "更改",
"staged.changes": "暂存的更改",
"merge.changes": "合并的更改",
"untracked.changes": "未追踪的更改",
"git.title.workingTree": "{0} (工作树)",
"git.title.untracked": "{0} (未追踪)",
"git.title.deleted": "{0} (已删除)",
"git.title.added": "{0} (新增)",
"git error details": "Git Error",
"deleted": "已删除",
"added": "新增",
"modified": "修改",
"diff": "更改",
"discard": "放弃更改",
"confirm delete": "确定要删除 {0} 吗?",
"restore file": "恢复文件",
"confirm restore": "确认是否还原 {0}",
"confirm discard": "确定要放弃 {0} 中更改吗?",
"delete file": "删除文件",
"delete files": "删除文件",
"restore files": "还原文件",
"confirm restore multiple": "确认还原 {0} 个文件?",
"confirm discard multiple": "确认放弃在 {0} 个文件中的更改?",
"warn untracked": "确认删除 {0} 个文件!\nT此操作不可撤消!文件将被永久删除。",
"there are untracked files single": "若放弃下面未跟踪的文件,其将被从硬盘上删除: {0}。",
"there are untracked files": "若放弃 {0} 个未跟踪的文件,其将被从硬盘上删除。",
"confirm discard all 2": "{0}\n\n此操作不可撤销你当前的工作集将会永远丢失。",
"yes discard tracked": "放弃1个文件",
"yes discard tracked multiple": "放弃 {0} 个追踪的文件",
"discardAll": "放弃 所有 {0} 个文件",
"confirm discard all single": "确定放弃 {0} 中的更改吗?",
"confirm discard all": "确定要放弃在 {0} 个文件中的所有更改吗?此操作不可撤销!你当前的工作集将会永远丢失。",
"discardAll multiple": "放弃1个文件",
"confirm delete multiple": "确认删除 {0} 个文件!\nT此操作不可撤消!文件将被永久删除。",
"commit message": "提交信息",
"provide commit message": "请输入提交信息",
"commit success": "向分支 {0} 提交成功",
"commit failed": "提交失败",
"confirm stage files with merge conflicts": "确定要暂存含有合并冲突的 {0} 个文件吗?",
"confirm stage file with merge conflicts": "确定要暂存含有合并冲突的 {0} 吗?"
}
},
"nlsList": [
{
"filename": "package.nls.zh-cn.json",
"languageId": ".zh-cn"
}
],
"extendConfig": {},
"webAssets": [
"package.json",
"out/worker/index.js"
],
"mode": "public"
}

View File

@ -3,6 +3,8 @@ export const ExtensionCommand={
linkToCommit : 'code.blame.linktocommit',
onActive : 'code.blame.extension.active',
setPerference : 'code.blame.setPerference',
acrToggleBlame : 'code.blame.acrToggleBlame',
getBlameData : 'code.blame.getBlameData',
}
export default class IDEPlugin {

View File

@ -0,0 +1,11 @@
.kt-dialog-buttonWrap .kt-dialog-buttonWrap button{
color: #fff;
}
.alex-root{
position: fixed;
}
.ide-overlay .quick-open-overlay quick-open-container{
top: 0px!important;
}

View File

@ -0,0 +1,57 @@
export const PLUGIN_ID = "alex-app";
let handleHashChange;
export const activate = ({ commands }) => {
let ignoreHash = null;
commands.registerCommand(
"code-service.replace-browser-url",
(path) => {
console.log('path:'+path);
let pathArr=path.split('/');
if(pathArr[3]=='blob'){
pathArr[3]='webIDE/tree'
}
const fullPath = pathArr.join('/');
window.history.replaceState(null, "", fullPath);
}
);
// scm 使 en-us
// TODO alex
commands.registerCommand(
'alex.env.language',
() => {
return 'zh-cn'
}
),
commands.registerCommand(
"code-service.replace-browser-url-hash",
(hash) => {
console.log(11111);
if (hash !== window.location.hash) {
ignoreHash = hash;
const { href } = window.location;
const hashIndex = href.indexOf("#");
const url = hashIndex === -1 ? href : href.slice(0, hashIndex);
window.location.replace(`${url}${hash}`);
}
}
);
[
'workbench.action.closePanel',
'workbench.action.closeSidebar',
'vscode.setEditorLayout',
].map((id) => commands.registerCommand(id , () =>{}));
handleHashChange = () => {
const { hash } = window.location;
if (ignoreHash === hash) return;
ignoreHash = null;
commands.executeCommand("code-service.set-line-hash", hash);
};
window.addEventListener("hashchange", handleHashChange);
};
export const deactivate = () => {
window.removeEventListener("hashchange", handleHashChange);
};

View File

@ -0,0 +1,75 @@
export const ExtensionCommand={
toggleBlame : 'code.blame.toggleBlame',
linkToCommit : 'code.blame.linktocommit',
onActive : 'code.blame.extension.active',
setPerference : 'code.blame.setPerference',
acrToggleBlame : 'code.blame.acrToggleBlame',
getBlameData : 'code.blame.getBlameData',
}
export const SlotLocation = {
top: 'top',
left: 'left',
right: 'right',
main: 'main',
statusBar: 'statusBar',
bottom: 'bottom',
extra: 'extra',
float: 'float',
action: 'action',
};
export default class IDEPlugin {
// // @ts-ignore
// commands: IPluginAPI['commands'];
// onActivate: () => void;
// linkToCommit: (commitId: string) => void;
/**
* 插件 ID用于唯一标识插件
*/
PLUGIN_ID = 'antcode-communication';
constructor(onActive, linkToCommit) {
this.onActivate = onActive;
this.linkToCommit = linkToCommit;
}
/**
* 激活插件
*/
activate = (ctx) => {
const { commands, context } = ctx;
this.commands = commands;
context.subscriptions.push(
commands.registerCommand(ExtensionCommand.onActive, () => {
this.onActivate();
}),
commands.registerCommand(ExtensionCommand.linkToCommit, (params) => {
const { commitId } = params;
this.linkToCommit(commitId);
})
);
};
/**
* 注销插件可在此时机清理副作用
*/
deactivate() {}
/**
* 修改配置项
* @param name 配置项名称
* @param value
* @param global 是否全局生效
*/
setPerference(name, value, global) {
this.commands.executeCommand(
ExtensionCommand.setPerference,
name,
value,
!!global
);
}
}

View File

@ -0,0 +1,72 @@
import localforage from 'localforage';
export const PLUGIN_ID = 'web-scm';
export const activate = ({ commands }) => {
console.log(localforage);
if (!localforage.supports(localforage.INDEXEDDB)) {
throw new Error('[SCM] IndexedDB Not Support');
}
// IndexedDB
localforage.config({
driver: localforage.INDEXEDDB,
name: 'WEB_SCM',
storeName: 'WEB_SCM_TABLE',
});
commands.registerCommand('web-scm.localforage.get', async (key) => {
return await localforage.getItem(key);
});
commands.registerCommand(
'web-scm.localforage.set',
async (key, value) => {
return await localforage.setItem(key, value);
}
);
commands.registerCommand(
'web-scm.localforage.remove',
async (key, valye) => {
return await localforage.removeItem(key);
}
);
commands.registerCommand(
'web-scm.localforage.removeModify',
async (key, value) => {
return await localforage.removeItem(key);
}
);
commands.registerCommand('web-scm.localforage.clear', async () => {
return await localforage.clear();
});
commands.registerCommand(
'web-scm.localforage.iterate',
async (basePath) => {
const files = [];
await localforage.iterate((value, key) => {
if (key.startsWith(basePath)) {
if (key.endsWith(':MODIFY')) {
files.push(value);
}
// if (
// value.type === Status.ADDED ||
// value.type === Status.UNTRACKED
// ) {
// } else if (value.type === Status.DELETED) {
// } else if (value.type === Status.MODIFIED) {
// }
}
});
return files;
}
);
commands.registerCommand("web-scm.windowOpen", async (path) => {
window.open(path);
});
commands.registerCommand("web-scm.yuyanlog", (code, msg, extra) => { });
};

View File

@ -0,0 +1,152 @@
import React , { useEffect, useState, useMemo }from 'react';
import { AppRenderer, requireModule } from 'alex';
import { SlotLocation } from './plugins/idePlugin';
import css from './extensions/alex-ext-public.css-language-features-worker.js';
import html from './extensions/alex-ext-public.html-language-features-worker.js';
import json from './extensions/alex-ext-public.json-language-features-worker.js';
import markdown from './extensions/alex-ext-public.markdown-language-features-worker.js';
import typescript from './extensions/alex-ext-public.typescript-language-features-worker.js';
import anycode from './extensions/alex-ext-public.anycode.js';
import anycodeCSharp from './extensions/alex-ext-public.anycode-c-sharp.js';
import anycodeCpp from './extensions/alex-ext-public.anycode-cpp.js';
import anycodeGo from './extensions/alex-ext-public.anycode-go.js';
import anycodeJava from './extensions/alex-ext-public.anycode-java.js';
import anycodePhp from './extensions/alex-ext-public.anycode-php.js';
import anycodePython from './extensions/alex-ext-public.anycode-python.js';
import anycodeRust from './extensions/alex-ext-public.anycode-rust.js';
import anycodeTypescript from './extensions/alex-ext-public.anycode-typescript.js';
import codeRunner from './extensions/alex-ext-public.code-runner-for-web.js';
import emmet from './extensions/alex-ext-public.emmet.js';
import codeswing from './extensions/alex-ext-public.codeswing.js';
import referencesView from './extensions/alex-ext-public.references-view.js';
import gitlens from './extensions/alex-ext-public.gitlens.js';
import graph from './extensions/alex-ext-public.git-graph.js';
import imagePreview from './extensions/alex-ext-public.image-preview.js';
import webSCM from './extensions/alex-ext-public.web-scm.js';
import * as SCMPlugin from './plugins/web-scm.plugin';
import * as AlexApp from './plugins/alex-app.plugin';
import './index.scss';
const CodeServiceModule = requireModule(
'@alipay/alex-code-service'
).CodeServiceModule;
const CodeAPIModule = requireModule('@alipay/alex-code-api').CodeAPIModule;
const layoutConfig = {
[SlotLocation.top]: {
modules: ['@opensumi/ide-menu-bar'],
},
[SlotLocation.action]: {
modules: [''],
},
[SlotLocation.left]: {
modules: [
'@opensumi/ide-explorer',
//
// '@opensumi/ide-search',
'@opensumi/ide-extension-manager',
'@opensumi/ide-scm',
],
},
[SlotLocation.main]: {
modules: ['@opensumi/ide-editor'],
},
[SlotLocation.bottom]: {
modules: ['@opensumi/ide-output', '@opensumi/ide-markers'],
},
[SlotLocation.statusBar]: {
modules: ['@opensumi/ide-status-bar'],
},
[SlotLocation.extra]: {
modules: ['breadcrumb-menu'],
},
};
// const platformConfig = {
// gitlink: {
// owner: 'Gitlink',
// name: 'forgeplus',
// refPath: '',
// commit: '',
// },
// };
const platform = 'gitlink';
// let pathParts = location.pathname.split('/').filter(Boolean);
// const config = platformConfig[platform];
// if (pathParts[1]) {
// config.owner = pathParts[1];
// }
// if (pathParts[2]) {
// config.name = pathParts[2];
// }
// config.refPath = pathParts.slice(3).join('/');
const WebIDE = ( props) => {
const { match: { params: { owner, projectsId, branchName } }, } = props;
return (<AppRenderer
appConfig={{
plugins: [SCMPlugin, AlexApp],
modules: [
CodeServiceModule.Config({
platform: platform,
owner: owner,
name: projectsId,
refPath: 'tree/'+branchName,
commit: '',
hash: window.location.hash,
gitlink: {
// webpack
// endpoint: '/code-service',
// endpoint:''
origin: 'https://testforgeplus.trustie.net',
endpoint: 'https://testforgeplus.trustie.net'
},
}),
CodeAPIModule,
// StartupModule,
],
extensionMetadata: [
css,
html,
json,
markdown,
typescript,
// TODO
gitlens,
graph,
imagePreview,
webSCM,
referencesView,
codeswing,
emmet,
anycodeCSharp,
anycodeCpp,
anycodeGo,
anycodeJava,
anycodePhp,
anycodePython,
anycodeRust,
anycodeTypescript,
anycode,
codeRunner,
],
workspaceDir: `${platform}/${owner}/${projectsId}`,
layoutConfig,
defaultPreferences: {
'general.theme': 'opensumi-light',
},
}}
runtimeConfig={{
biz: 'alex',
// scm
scmFileTree: true,
}}
/>
)};
export default WebIDE;

View File

@ -364,3 +364,20 @@ button.btngrey{
color: #666666;
}
}
.newContainer {
.newTab,.newBtn{
position: relative;
}
.newBtnImg{
background-image: url('../Images/newIcon.png');
background-size: 100% 100%;
width: 29px;
height: 13px;
position: absolute;
right:-14px;
top:-7px;
}
.newTab .newBtnImg{
right:-19px;
}
}