Skip to content

Commit

Permalink
Merge pull request #3 from spectriclabs/feat-xm-language-server-linter
Browse files Browse the repository at this point in the history
Update package.json to match our azuredev publisher name
  • Loading branch information
desean1625 authored Oct 17, 2024
2 parents cca9010 + 49c9323 commit 3a70d7c
Show file tree
Hide file tree
Showing 5 changed files with 935 additions and 188 deletions.
4 changes: 4 additions & 0 deletions xm-language/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ npx vsce publish

https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix

## Orginization Managment
How to add edit remove plugins from the market place that are associated with spectric
https://marketplace.visualstudio.com/manage/publishers/spectriclabs

131 changes: 74 additions & 57 deletions xm-language/package.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,49 @@
{
"name": "xmidas-language",
"displayName": "Xmidas",
"description": "Language support for xmidas macro language",
"publisher": "spectric-labs",
"icon": "./xmidas-128.png",
"version": "0.0.3",
"engines": {
"vscode": "^1.75.0"
},
"main": "client/out/extension.js",
"categories": [
"Programming Languages"
],
"repository": {
"name": "xmidas-language",
"displayName": "Xmidas",
"description": "Language support for xmidas macro language",
"publisher": "SpectricLabs",
"icon": "./xmidas-128.png",
"version": "0.0.4",
"engines": {
"vscode": "^1.75.0"
},
"main": "client/out/extension.js",
"categories": [
"Programming Languages"
],
"repository": {
"type": "git",
"url": "https://github.com/spectriclabs/xmextras"
},
"activationEvents": [
"onLanguage:xmidas",
"onLanguage:xm-macro"
],
"contributes": {
"languages": [
{
"id": "xmidas",
"aliases": [
"xmidas",
"xm-macro"
],
"extensions": [
".txt",
".mcr",
".mm"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "xmidas",
"scopeName": "source.xmidas",
"path": "./syntaxes/xm-macro.tmLanguage.json"
}
],"configuration": {
"activationEvents": [
"onLanguage:xmidas",
"onLanguage:xm-macro"
],
"contributes": {
"languages": [
{
"id": "xmidas",
"aliases": [
"xmidas",
"xm-macro"
],
"extensions": [
".txt",
".mcr",
".mm"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "xmidas",
"scopeName": "source.xmidas",
"path": "./syntaxes/xm-macro.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Xmidas Settings",
"properties": {
Expand All @@ -52,21 +53,22 @@
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"xmidasLanguageServer.disabledLintPlugins": {
"xmidasLanguageServer.disabledLintPlugins": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Comma seperated list of rules to disable"
},
"xmidasLanguageServer.xmDiskPaths": {

"type": "array",
"items": {
"type": "string"
},
"default": ["/opt/xmidas/xm-5_4_x/xm", "/opt/xmidas/xm-5_4_x/xmopts"],
"description": "List of XMDisk and option tree paths"

"xmidasLanguageServer.xmDiskPaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"/opt/xmidas/xm-5_4_x/xm",
"/opt/xmidas/xm-5_4_x/xmopts"
],
"description": "List of XMDisk and option tree paths"
},
"xmidasLanguageServer.trace.server": {
"scope": "window",
Expand All @@ -81,22 +83,37 @@
}
}
}
}, "scripts": {
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@vscode/vsce": "^2.27.0",
"@types/mocha": "^9.1.0",
"devDependencies": {
"@vscode/vsce": "^2.27.0",
"@types/mocha": "^9.1.0",
"@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"mocha": "^9.2.1",
"typescript": "^4.8.4"
}
}
},
"__metadata": {
"isApplicationScoped": false,
"installedTimestamp": 1721400109201,
"pinned": false,
"source": "gallery",
"id": "155d2612-06e4-4b66-8238-910f5029ac75",
"publisherId": "bbe195f7-6cea-44ca-8b9b-c0d817c45647",
"publisherDisplayName": "Spectric Labs",
"targetPlatform": "undefined",
"updated": true,
"isPreReleaseVersion": false,
"hasPreReleaseVersion": false,
"preRelease": false
}
}
Loading

0 comments on commit 3a70d7c

Please sign in to comment.