{ "name": "topas-editor", "publisher": "johnsoevans", "displayName": "TOPAS Editor", "description": "Interface to TOPAS powder diffraction software", "repository": { "type": "git", "url": "https://github.com/johnsoevans/topas-editor" }, "license": "MIT", "version": "1.1.6", "icon": "assets/te_icon_128.png", "engines": { "vscode": "^1.93.0" }, "extensionDependencies": [ "usernamehw.commands", "jca02266.align-columns", "rylogic.rylogic-textaligner-vscode" ], "extensionPack": [], "categories": [ "Other" ], "activationEvents": [ "onStartupFinished" ], "main": "./dist/extension.js", "contributes": { "commands": [ { "command": "topas-editor.TopasArchive", "title": "Topas archive file" }, { "command": "topas-editor.TopasToggleHoverHelp", "title": "Topas toggle hover help" }, { "command": "topas-editor.TopasRefreshHoverHelp", "title": "Topas refresh hover help" }, { "command": "topas-editor.TopasImportCIF", "title": "Topas import CIF" }, { "command": "topas-editor.TopasOxfordImportCIF", "title": "Topas Oxford import CIF" }, { "command": "topas-editor.TopasInsertFilename", "title": "Topas get filename" }, { "command": "topas-editor.TopasInsertStructure", "title": "Topas insert structure" }, { "command": "topas-editor.TopasSaveSet", "title": "Topas save and set as INP file" }, { "command": "topas-editor.TopasCreateInpFile", "title": "Topas create INP file" }, { "command": "topas-editor.TopasOxfordCreateInpFile", "title": "Topas Oxford create INP file" }, { "command": "topas-editor.TopasSearchINP", "title": "Topas search for INP file with text string" }, { "command": "topas-editor.TopasInpFromTemplate", "title": "Topas create an INP file from a template" }, { "command": "topas-editor.TopasMolToInp", "title": "Topas create INP file from MOL" }, { "command": "topas-editor.TopasOpenExamples", "title": "Topas open an example file" }, { "command": "topas-editor.TopasTest", "title": "Topas test command" }, { "command": "topas-editor.TopasMenuSetup", "title": "Topas menu setup" }, { "command": "topas-editor.TopasSetDirectory", "title": "Topas set directory" }, { "command": "topas-editor.TopasResetVersion", "title": "Topas reset version number for testing" }, { "command": "topas-editor.TopasMessage", "title": "Topas test message" }, { "command": "topas-editor.TopasRemoveEsds", "title": "Topas remove esds/limits from INP file" }, { "command": "topas-editor.TopasToggleComment", "title": "Topas toggle comment block on or off" }, { "command": "topas-editor.TopasToggleDecoration", "title": "Topas toggle xdd/str line decorations ctrl-td" }, { "command": "topas-editor.TopasRunTC", "title": "Topas run TC" }, { "command": "topas-editor.TopasOpenOut", "title": "Topas open out file" }, { "command": "topas-editor.TopasReadHoverHelp", "title": "Topas read all hover help text" }, { "command": "topas-editor.TopasRemoveRefinedMarker", "title": "Topas remove refined marker flags" }, { "command": "topas-editor.TopasAddMyMenus", "title": "Topas add user menus after an update" }, { "command": "topas-editor.TopasHelp", "title": "Topas show help file" }, { "command": "topas-editor.TopasShowSetup", "title": "Topas show setup and environment variables" }, { "command": "topas-editor.TopasOutputLines", "title": "Topas insert output lines automatically from c_matrix" }, { "command": "topas-editor.TopasOutputHeader", "title": "Topas create column heading line from Out() lines" }, { "command": "topas-editor.TopasRefineAtoms", "title": "Topas refine atom cooordinates" }, { "command": "topas-editor.TopasToAdp_5", "title": "Topas convert coordinates to ADP_5 format" }, { "command": "topas-editor.TopasBeqByType", "title": "Topas set one beq per atom type" }, { "command": "topas-editor.TopasPlotAllPy", "title": "Topas plot all results python" }, { "command": "topas-editor.TopasLivePlotPy", "title": "Topas live plot results python" }, { "command": "topas-editor.TopasInsertFileTextArg", "title": "Topas Insert Text with Argument", "arguments": [ { "name": "caseFlag", "description": "Specify the case flag (lam, templates, none)", "type": "string" } ] }, { "command": "topas-editor.TopasImportCIFFabio", "title": "Topas import molecular CIF by Fabio" }, { "command": "topas-editor.TopasInsertPeakFittingBlock", "title": "Topas insert peak fitting block by Fabio" }, { "command": "topas-editor.TopasCreatePeakFitFile", "title": "Topas create peak fit file by Fabio" } ], "submenus": [ { "id": "topas-editor.submenu", "label": "topas-editor commands" } ], "languages": [ { "id": "topas", "aliases": [ "TOPAS" ], "extensions": [ ".inp", ".inc", ".out", ".str", ".lam", ".log", ".inp0", ".binp" ], "configuration": "./syntaxes/language-configuration.json" } ], "grammars": [ { "language": "topas", "scopeName": "source.topas", "path": "./syntaxes/topas.tmLanguage.json" } ], "themes": [ { "label": "Topas light", "uiTheme": "vs", "path": "./themes/topas-light-theme.json" }, { "label": "Topas dark", "uiTheme": "vs-dark", "path": "./themes/topas-dark-theme.json" }, { "label": "Topas technical reference", "uiTheme": "vs", "path": "./themes/topas-techref-theme.json" } ], "keybindings": [ { "key": "ctrl+t ctrl+a", "command": "Run TOPAS Academic [ctrl-ta]" }, { "key": "ctrl+t ctrl+b", "command": "Run Bruker TOPAS [ctrl-tb]" }, { "key": "ctrl+t ctrl+c", "command": "Run TC on INP [ctrl-tc]" }, { "command": "topas-editor.TopasToggleDecoration", "key": "ctrl+t ctrl-d" }, { "command": "topas-editor.TopasRemoveEsds", "key": "ctrl+t ctrl-e", "when": "editorTextFocus" }, { "key": "ctrl+t ctrl+f", "command": "topas-editor.TopasSearchINP" }, { "key": "ctrl+t ctrl+h", "command": "topas-editor.TopasToggleHoverHelp" }, { "command": "topas-editor.TopasImportCIF", "key": "ctrl+t ctrl-i", "when": "editorTextFocus" }, { "command": "TOPAS Light/Dark toggle [ctrl-tl]", "key": "ctrl+t ctrl-l" }, { "command": "topas-editor.TopasOpenOut", "key": "ctrl+t ctrl-o", "when": "editorTextFocus" }, { "command": "topas-editor.TopasRemoveRefinedMarker", "key": "ctrl+t ctrl+r", "when": "editorTextFocus" }, { "command": "topas-editor.TopasSaveSet", "key": "ctrl+t ctrl+s", "when": "editorTextFocus" }, { "command": "topas-editor.TopasInpFromTemplate", "key": "ctrl+t ctrl+t", "when": "editorTextFocus" }, { "command": "topas-editor.TopasRefreshHoverHelp", "key": "ctrl+t ctrl+q", "when": "editorTextFocus" }, { "command": "topas-editor.TopasMenuSetup", "key": "ctrl+t ctrl+u" }, { "key": "ctrl+t ctrl+w", "command": "TOPAS wiki" }, { "command": "topas-editor.TopasArchive", "key": "ctrl+t ctrl+x", "when": "editorTextFocus" }, { "command": "topas-editor.TopasToggleComment", "key": "ctrl+t ctrl+/", "when": "editorTextFocus" } ], "menus": { "editor/context": [ { "submenu": "topas-editor.submenu", "group": "0000Topas" } ], "topas-editor.submenu": [ { "command": "topas-editor.TopasSaveSet", "when": "editorTextFocus", "group": "01TopasInteract" }, { "command": "topas-editor.TopasArchive", "when": "editorTextFocus", "group": "01TopasInteract" }, { "command": "topas-editor.TopasImportCIF", "when": "editorTextFocus", "group": "02TopasEditInp" }, { "command": "topas-editor.TopasRemoveEsds", "when": "editorTextFocus", "group": "03TopasEditInp" }, { "command": "topas-editor.TopasToggleComment", "when": "editorTextFocus", "group": "03TopasEditInp" }, { "command": "topas-editor.TopasOutputLines", "when": "editorTextFocus", "group": "02TopasEditInp" }, { "command": "topas-editor.TopasOutputHeader", "when": "editorTextFocus", "group": "02TopasEditInp" }, { "command": "topas-editor.TopasRefineAtoms", "when": "editorTextFocus", "group": "02TopasEditInp" }, { "command": "topas-editor.TopasBeqByType", "when": "editorTextFocus", "group": "02TopasEditInp" }, { "command": "topas-editor.TopasRemoveRefinedMarker", "when": "editorTextFocus", "group": "03TopasEditInp" } ] }, "configuration": { "title": "TOPAS Editor Settings", "properties": { "topas.directory": { "type": "string", "default": "", "description": "Path to the TOPAS directory." }, "topas-editor.decorations.enabled": { "type": "boolean", "default": true, "description": "Enable horizontal decorations above key lines (e.g., 'str', 'xdd')." }, "topas-editor.hoverHelp.enabled": { "type": "boolean", "default": true, "description": "Enable hover help for TOPAS keywords." } } } }, "scripts": { "vscode:prepublish": "npm run build", "build": "npm run clean && esbuild src/extension.ts --bundle --platform=node --external:vscode --outfile=dist/extension.js", "clean": "rimraf dist", "watch": "esbuild src/extension.ts --bundle --platform=node --external:vscode --outfile=dist/extension.js --watch", "typecheck": "tsc --noEmit", "lint": "eslint src", "pretest": "npm run typecheck && npm run lint", "test": "vscode-test", "package": "npm run build && vsce package" }, "devDependencies": { "@types/mocha": "^10.0.7", "@types/node": "20.x", "@types/vscode": "^1.93.0", "@typescript-eslint/eslint-plugin": "^8.3.0", "@typescript-eslint/parser": "^8.3.0", "@vscode/test-cli": "^0.0.10", "@vscode/test-electron": "^2.4.1", "esbuild": "^0.25.5", "eslint": "^9.9.1", "rimraf": "^6.0.1", "typescript": "^5.5.4" }, "dependencies": { "@vscode/vsce": "^3.6.0" }, "__metadata": { "installedTimestamp": 1769272406007, "targetPlatform": "undefined", "size": 997030 } }