forked from mariuspopovici/starlimsvscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"vscode-starlims","displayName":"STARLIMS VS Code Extension","description":"Unofficial dictionary explorer (and more) for STARLIMS.","license":"SEE LICENSE IN LICENSE.md","version":"1.2.80","icon":"resources/extension/starlimsvscode.png","publisher":"MariusPopovici","author":{"name":"Marius Popovici, Christoph Döllinger, Jan Bouecke"},"keywords":["STARLIMS","SSL","STARLIMS Scripting Language"],"repository":{"type":"git","url":"https://github.com/mariuspopovici/starlimsvscode"},"engines":{"vscode":"^1.81.0"},"categories":["Other","SCM Providers","Programming Languages","Themes"],"activationEvents":[],"main":"./dist/extension.js","contributes":{"viewsContainers":{"activitybar":[{"id":"STARLIMSVSCode","title":"STARLIMS VS Code","icon":"resources/extension/star_gray.png","alwaysShow":true}]},"views":{"STARLIMSVSCode":[{"id":"STARLIMSMainTree","name":"STARLIMS Enterprise"},{"id":"STARLIMSCheckedOutTree","name":"Checked Out Items"}]},"commands":[{"command":"STARLIMS.Refresh","title":"Refresh Explorer"},{"command":"STARLIMS.CheckOut","title":"Check Out"},{"command":"STARLIMS.Checkin","title":"Check In"},{"command":"STARLIMS.Connect","title":"Connect to STARLIMS"},{"command":"STARLIMS.Compare","title":"Compare with Remote Version"},{"command":"STARLIMS.RunScript","title":"Run Script"},{"command":"STARLIMS.RunDataSource","title":"Run Data Source"},{"command":"STARLIMS.Save","title":"Save File"},{"command":"STARLIMS.ClearLog","title":"Clear Log"},{"command":"STARLIMS.selectEnterpriseItem","title":"Refresh Log"},{"command":"STARLIMS.Search","title":"Search for Items...","icon":{"dark":"resources/dark/search.svg","light":"resources/light/search.svg"}},{"command":"STARLIMS.ShowTreeView","title":"Show/Refresh Tree View","icon":{"dark":"resources/dark/treeview.svg","light":"resources/light/treeview.svg"}},{"command":"STARLIMS.OpenForm","title":"Open Form"},{"command":"STARLIMS.Add","title":"Add new...","icon":{"dark":"resources/dark/add.svg","light":"resources/light/add.svg"}},{"command":"STARLIMS.Delete","title":"Delete","icon":{"dark":"resources/dark/delete.svg","light":"resources/light/delete.svg"}},{"command":"STARLIMS.OpenXFDForm","title":"Open Form"},{"command":"STARLIMS.DebugForm","title":"Debug Form"},{"command":"STARLIMS.SendNameToEditor","title":"Send To Editor"},{"command":"STARLIMS.GenerateTableSelect","title":"Generate SELECT"},{"command":"STARLIMS.GenerateTableInsert","title":"Generate INSERT"},{"command":"STARLIMS.GenerateTableUpdate","title":"Generate UPDATE"},{"command":"STARLIMS.GenerateTableDelete","title":"Generate DELETE"},{"command":"STARLIMS.GoToServerScript","title":"Server Script"},{"command":"STARLIMS.GoToClientScript","title":"Client Script"},{"command":"STARLIMS.GoToDataSource","title":"Data Source"},{"command":"STARLIMS.GoToForm","title":"Form (Code Behind)"},{"command":"STARLIMS.GoToItem","title":"Autodetect Item Type"},{"command":"STARLIMS.GetCheckedOutItems","title":"Refresh my checked out items","icon":{"dark":"resources/dark/refresh.svg","light":"resources/light/refresh.svg"}},{"command":"STARLIMS.GetAllCheckedOutItems","title":"View checked out items of all users","icon":{"dark":"resources/dark/users.svg","light":"resources/light/users.svg"}},{"command":"STARLIMS.CheckInAllItems","title":"Check in all my items","icon":{"dark":"resources/dark/checkinall.svg","light":"resources/light/checkinall.svg"}},{"command":"STARLIMS.UndoCheckOut","title":"Undo Check Out"},{"command":"STARLIMS.RefreshLogChannel","title":"Refresh"},{"command":"STARLIMS.ClearLogChannel","title":"Clear"},{"command":"STARLIMS.GlobalCodeSearch","title":"Search in Code...","icon":{"dark":"resources/dark/codesearch.svg","light":"resources/light/codesearch.svg"}},{"command":"STARLIMS.setPassword","title":"Set user password"},{"command":"STARLIMS.Rename","title":"Rename"},{"command":"STARLIMS.Move","title":"Move"}],"keybindings":[{"command":"STARLIMS.GoToItem","key":"f11","when":"editorTextFocus && (resourceDirname =~ /SLVSCODE/ && editorLangId != 'log' && editorLangId != 'SLSQL') || (inOutput && editorLangId == 'Log')"},{"command":"STARLIMS.RunScript","key":"f5","when":"editorTextFocus && resourceDirname =~ /SLVSCODE/ && editorLangId == 'SSL' && !(resourcePath =~ /DataSources/)"},{"command":"STARLIMS.RunDataSource","key":"f5","when":"editorTextFocus && resourceDirname =~ /SLVSCODE/ && (editorLangId == 'SLSQL' || resourcePath =~ /DataSources/)"},{"command":"STARLIMS.DebugForm","key":"f5","when":"editorTextFocus && resourceDirname =~ /SLVSCODE/ && resourcePath =~ /HTMLForms/"},{"command":"STARLIMS.OpenForm","key":"ctrl+f5","when":"editorTextFocus && resourceDirname =~ /SLVSCODE/ && resourcePath =~ /Forms/"},{"command":"STARLIMS.RefreshLogChannel","key":"f5","when":"inOutput && editorLangId == 'Log'"},{"command":"STARLIMS.ClearLogChannel","key":"ctrl+f5","when":"inOutput && editorLangId == 'Log'"},{"command":"STARLIMS.GlobalCodeSearch","key":"ctrl+alt+f","when":"view == STARLIMSMainTree || (editorTextFocus && resourceDirname =~ /SLVSCODE/)"}],"menus":{"view/title":[{"command":"STARLIMS.ShowTreeView","when":"view == STARLIMSMainTree","group":"navigation"},{"command":"STARLIMS.Search","when":"view == STARLIMSMainTree","group":"navigation"},{"command":"STARLIMS.GlobalCodeSearch","when":"view == STARLIMSMainTree","group":"navigation"},{"command":"STARLIMS.Add","when":"view == STARLIMSMainTree","group":"navigation"},{"command":"STARLIMS.Delete","when":"view == STARLIMSMainTree","group":"navigation"},{"command":"STARLIMS.GetCheckedOutItems","when":"view == STARLIMSCheckedOutTree","group":"navigation"},{"command":"STARLIMS.GetAllCheckedOutItems","when":"view == STARLIMSCheckedOutTree","group":"navigation"},{"command":"STARLIMS.CheckInAllItems","when":"view == STARLIMSCheckedOutTree","group":"navigation"}],"view/item/context":[{"command":"STARLIMS.Refresh","when":"view == STARLIMSMainTree","group":"z_navigation"},{"command":"STARLIMS.RunScript","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && (viewItem == SS || viewItem == APPSS)","group":"run"},{"command":"STARLIMS.RunDataSource","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && (viewItem == DS || viewItem == APPDS)","group":"run"},{"command":"STARLIMS.CheckOut","when":"view == STARLIMSMainTree && viewItem != SERVERLOG && viewItem != CATEGORY && viewItem != APP && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY","group":"sourceControl"},{"command":"STARLIMS.Checkin","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && viewItem != SERVERLOG && !(viewItem =~ /CAT/) && viewItem != APP && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY","group":"sourceControl"},{"command":"STARLIMS.UndoCheckOut","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && viewItem != SERVERLOG && !(viewItem =~ /CAT/) && viewItem != APP && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY","group":"sourceControl"},{"command":"STARLIMS.selectEnterpriseItem","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && viewItem == SERVERLOG"},{"command":"STARLIMS.OpenForm","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && (viewItem == HTMLFORMXML || viewItem == HTMLFORMCODE)","group":"run"},{"command":"STARLIMS.DebugForm","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && (viewItem == HTMLFORMXML || viewItem == HTMLFORMCODE)","group":"run"},{"command":"STARLIMS.Delete","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && viewItem != SERVERLOG && viewItem != APPLICATION && !(viewItem =~ /category/i)","group":"addRemove"},{"command":"STARLIMS.Add","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && (viewItem =~ /cat/i || viewItem != APPLICATION) && viewItem != TABLE && viewItem != SERVERLOG && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY","group":"addRemove"},{"command":"STARLIMS.OpenXFDForm","when":"(view == STARLIMSMainTree || view == STARLIMSCheckedOutTree) && (viewItem == XFDFORMXML || viewItem == XFDFORMCODE)","group":"run"},{"command":"STARLIMS.SendNameToEditor","when":"view == STARLIMSMainTree && viewItem == TABLE","group":"all"},{"command":"STARLIMS.GenerateTableSelect","when":"view == STARLIMSMainTree && viewItem == TABLE","group":"table"},{"command":"STARLIMS.GenerateTableInsert","when":"view == STARLIMSMainTree && viewItem == TABLE","group":"table"},{"command":"STARLIMS.GenerateTableUpdate","when":"view == STARLIMSMainTree && viewItem == TABLE","group":"table"},{"command":"STARLIMS.GenerateTableDelete","when":"view == STARLIMSMainTree && (viewItem == TABLE)","group":"table"},{"command":"STARLIMS.Rename","when":"view == STARLIMSMainTree && viewItem != SERVERLOG && viewItem != CATEGORY && viewItem != TABLE && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY","group":"addRemove"},{"command":"STARLIMS.Move","when":"view == STARLIMSMainTree && viewItem != SERVERLOG && viewItem != CATEGORY && viewItem != TABLE && viewItem != ENT_TABLES_DATABASE && viewItem != ENT_TABLES_DICTIONARY && !(viewItem =~ /cat/i)","group":"addRemove"}],"explorer/context":[{"command":"STARLIMS.Compare","when":"view != STARLIMS","group":"sourceControl"},{"command":"STARLIMS.CheckOut","when":"view == STARLIMSMainTree","group":"sourceControl"},{"command":"STARLIMS.Checkin","when":"view == STARLIMSMainTree","group":"sourceControl"}],"editor/context":[{"command":"STARLIMS.Compare","when":"resourceDirname =~ /SLVSCODE/ && !editorReadonly && editorLangId != 'log'","group":"sourceControl"},{"command":"STARLIMS.RunScript","when":"resourceDirname =~ /SLVSCODE/ && editorLangId == 'SSL' && !(resourcePath =~ /DataSources/)","group":"run"},{"command":"STARLIMS.RunDataSource","when":"resourceDirname =~ /SLVSCODE/ && (editorLangId == 'SLSQL' || (editorLangId == 'SSL' && resourcePath =~ /DataSources/))","group":"run"},{"command":"STARLIMS.selectEnterpriseItem","when":"resourceDirname =~ /SLVSCODE/ && editorLangId == 'log'"},{"command":"STARLIMS.ClearLog","when":"resourceDirname =~ /SLVSCODE/ && editorLangId == 'log'"},{"command":"STARLIMS.OpenXFDForm","when":"resourceDirname =~ /SLVSCODE/ && resourcePath =~ /XFDForms/"},{"command":"STARLIMS.OpenForm","when":"resourceDirname =~ /SLVSCODE/ && resourcePath =~ /HTMLForms/","group":"run"},{"command":"STARLIMS.DebugForm","when":"resourceDirname =~ /SLVSCODE/ && resourcePath =~ /HTMLForms/","group":"run"},{"command":"STARLIMS.CheckOut","when":"resourceDirname =~ /SLVSCODE/ && editorLangId != 'log'","group":"sourceControl"},{"command":"STARLIMS.Checkin","when":"resourceDirname =~ /SLVSCODE/ && editorLangId != 'log'","group":"sourceControl"},{"command":"STARLIMS.UndoCheckOut","when":"resourceDirname =~ /SLVSCODE/ && editorLangId != 'log'","group":"sourceControl"},{"submenu":"STARLIMS.GoTo","when":"resourceDirname =~ /SLVSCODE/ && editorLangId != 'log' && editorLangId != 'SLSQL'","group":"navigation"},{"submenu":"STARLIMS.ServerLog","when":"inOutput && editorLangId == 'Log'","group":"ServerLog"}],"STARLIMS.GoTo":[{"command":"STARLIMS.GoToItem","group":"navigation"},{"command":"STARLIMS.GoToServerScript","group":"navigation"},{"command":"STARLIMS.GoToClientScript","group":"navigation"},{"command":"STARLIMS.GoToDataSource","group":"navigation"},{"command":"STARLIMS.GoToForm","group":"navigation"}],"STARLIMS.ServerLog":[{"command":"STARLIMS.RefreshLogChannel","group":"ServerLog"},{"command":"STARLIMS.ClearLogChannel","group":"ServerLog"}]},"submenus":[{"id":"STARLIMS.GoTo","label":"Go to"},{"id":"STARLIMS.ServerLog","label":"STARLIMS Log"}],"configuration":[{"type":"object","title":"STARLIMS VSCode Configuration","properties":{"STARLIMS.url":{"type":"string","default":"","description":"STARLIMS Installation URL. For example:https://my.starlims.server.com/STARLIMS/"},"STARLIMS.user":{"type":"string","default":"","description":"STARLIMS User Name"},"STARLIMS.userPassword":{"type":"null","description":"STARLIMS User Password. This value is not stored in the settings file.","markdownDescription":"[Set Password](command:STARLIMS.setPassword)"},"STARLIMS.rootPath":{"type":"string","default":"","description":"Root path for downloaded STARLIMS files. For example:C:\\STARLIMS\\. SLVSCODE will be appended to this path."},"STARLIMS.browser":{"type":"string","enum":["chrome","msedge"],"enumDescriptions":["Google Chrome","Microsoft Edge"],"default":"chrome","description":"Browser to use for debugging STARLIMS forms. Possible values:chrome, msedge"},"STARLIMS.urlSuffix":{"type":"string","default":"lims","description":"The web service request url suffix. Use lims2 with older versions of the STARLIMS Technology Platform which don't recognize the HTTPServices web.config setting key"}}}],"languages":[{"id":"SSL","aliases":["Starlims Scripting Language","ssl"],"extensions":[".ssl",".srvscr"],"configuration":"./language-configuration-ssl.json"},{"id":"SLSQL","aliases":["Starlims SQL","slsql"],"extensions":[".slsql"],"configuration":"./language-configuration-slsql.json"}],"grammars":[{"language":"SLSQL","scopeName":"source.slsql","path":"./syntaxes/slsql.tmLanguage.json"},{"language":"SSL","scopeName":"source.ssl","path":"./syntaxes/ssl.tmLanguage.json"}],"snippets":[{"language":"SSL","path":"./snippets/snippets.json"}],"themes":[{"label":"SSL Language Theme (Dark)","uiTheme":"vs-dark","path":"./themes/SSL Theme-color-theme.json"}]},"scripts":{"vscode:prepublish":"npm run package","compile":"webpack","watch":"webpack --watch","package":"webpack --mode production --devtool hidden-source-map","compile-tests":"tsc -p . --outDir out","watch-tests":"tsc -p . -w --outDir out","pretest":"npm run compile-tests && npm run compile && npm run lint","lint":"eslint src --ext ts","test":"node ./out/test/runTest.js","build":"(rm -rf out || true) && mkdir out && cp package.json out && cd ./src/backend && ./create-packages.sh && cd ../.. && vsce package","build-windows":"if exist out rmdir /s /q out & mkdir out & copy package.json out & cd .\\src\\backend & .\\create-packages.sh & cd ..\\.. & vsce package","vsce":"vsce"},"devDependencies":{"@types/glob":"^7.2.0","@types/jsdom":"^21.1.1","@types/mocha":"^9.1.1","@types/node":"^14.18.54","@types/node-fetch":"^2.6.4","@types/vscode":"^1.81.0","@types/vscode-webview":"^1.57.1","@types/xmldom":"^0.1.31","@typescript-eslint/eslint-plugin":"^5.62.0","@typescript-eslint/parser":"^5.62.0","@vscode/test-electron":"^2.3.4","copy-webpack-plugin":"^11.0.0","css-loader":"^6.8.1","esbuild":"^0.17.19","eslint":"^8.46.0","glob":"^7.2.3","mocha":"^9.2.2","run-script-os":"^1.1.6","style-loader":"^3.3.3","ts-loader":"^9.4.4","typescript":"^4.9.5","webpack":"^5.88.2","webpack-cli":"^4.10.0"},"dependencies":{"@vscode/webview-ui-toolkit":"^1.2.2","@xmldom/xmldom":"^0.7.13","jsdom":"^22.1.0","node-fetch":"^2.6.12","react":"^18.2.0"}} |