diff --git a/.vscodeignore b/.vscodeignore index 710d1c6..7d9dbc8 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -1,13 +1,17 @@ .vscode/** .vscode-test/** out/test/** src/** .gitignore vsc-extension-quickstart.md **/tsconfig.json **/.eslintrc.json **/*.map **/*.ts *.vsix NOTES +RELATED +TODO .arc* +.pinterest-linters/ +.gitmodules diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..56bb0d3 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ + +## [1.0.0] - August 2020 + +- Initial release +- Shows lint in editor diff --git a/README.md b/README.md index 7e45ec3..e92d615 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,33 @@ # Arcanist: A VSCode Extension An extension for getting some of [Phabricator/Arcanist](https://phacility.com/phabricator/) features integrated with Visual Studio Code. ## Features -- Show arc-lint notes in editor +* Show arc-lint notes in editor ![arc lint](images/lint.png) -- Recognize Arcanist files as JSON - +* Recognize Arcanist files as JSON ## Requirements This extension requires Arcanist to be installed and configured for the directory you work in; `arc` and all your linters should be in the PATH for vscode to be able to run them. \ Only reasonably recent versions of Arcanist are supported. ## Known Issues * Lints do not update as you type - you must save a file for changes to take effect. Lints also might drift when making large changes. -* Most lints only show up as 3-characters-squiggle, which is hard to see. +* Most lints only show up as 3-characters-squiggle, which is hard to see.\ We suggest users install the `usernamehw.errorlens` extension. ## Disclaimers This extension is not affiliated with, nor is it supported by, [Phacility](https://phacility.com/) or the Phabricator project. All trademarks are property of their respective owners. diff --git a/RELATED b/RELATED index fb5186c..8e86ba9 100644 --- a/RELATED +++ b/RELATED @@ -1,21 +1,20 @@ -Related: +These are all the extensions I could find that refer to phabricator/Arcanist: + - https://marketplace.visualstudio.com/items?itemName=jdxcode.arcanist-vscode - - Format file by arc-lint - - Last update 11-2019 + - Format file by arc-lint + - Last update 11-2019 - https://marketplace.visualstudio.com/items?itemName=christianvuerings.vscode-phabricator - - Autocomplete users and projects - - List accepted diffs with build status - - Notify about ready to land diffs - - Good as editor for arc-diff message - - Last update 07-2020 - - has icon + - Autocomplete users and projects + - List accepted diffs with build status + - Notify about ready to land diffs + - Good as editor for arc-diff message + - Last update 07-2020 - https://marketplace.visualstudio.com/items?itemName=PranaySingh.phabview - - generate diffusion link, copy to clipboard - - Last update 02-2020 + - generate diffusion link, copy to clipboard + - Last update 02-2020 - https://marketplace.visualstudio.com/items?itemName=mezzode.arc-browse - - runs arc browse ? - - Last update 02-2019 - - has icon + - runs arc browse ? + - Last update 02-2019 - https://marketplace.visualstudio.com/items?itemName=matt-good.phabricator-links - - converts `T1234`, etc., to a hyperlink - - Last update 03-2018 + - converts `T1234`, etc., to a hyperlink + - Last update 03-2018 diff --git a/images/lint.png b/images/lint.png new file mode 100644 index 0000000..713ff94 Binary files /dev/null and b/images/lint.png differ diff --git a/package.json b/package.json index c9bbbd9..8bd478f 100644 --- a/package.json +++ b/package.json @@ -1,80 +1,87 @@ { - "name": "arc-vscode", - "displayName": "arc vscode", - "description": "Arcanist (Phabricator) support for VSCode", - "version": "0.0.1", + "name": "arcanist", + "displayName": "Arcanist", + "description": "Phabricator/Arcanist support for VSCode", + "publisher": "avive", + "version": "1.0.0", "engines": { "vscode": "^1.46.0" }, "categories": [ "Other" ], + "keywords": ["Phabricator"], + "license": "MIT", "activationEvents": [ "workspaceContains:**/.arclint", "workspaceContains:**/.arcconfig" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "arc-vscode.clearLint", "title": "Clear all arc-lint messages" }, { "command": "arc-vscode.lintEverything", "title": "arc lint --everything" } ], "configuration": { "title": "Arcanist", "properties": { "arc-vscode.lint.maxDiagnosticsLevel": { "type": "string", "default": "error", "enum": [ "error", "warning", "info", "hint" ], "description": "The maximum level a lint can appear at." } } }, "languages": [ { "id": "json", "extensions": [ ".arcconfig", ".arclint", ".arcrc", ".arcunit" ] } ] }, + "repository": { + "type": "git", + "url": "https://github.com/avivey/arc-vscode.git" + }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "lint": "eslint src --ext ts", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "test": "node ./out/test/runTest.js" }, "devDependencies": { "@types/vscode": "^1.46.0", "@types/glob": "^7.1.1", "@types/mocha": "^7.0.2", "@types/node": "^13.11.0", "eslint": "^6.8.0", "@typescript-eslint/parser": "^2.30.0", "@typescript-eslint/eslint-plugin": "^2.30.0", "glob": "^7.1.6", "mocha": "^7.1.2", "typescript": "^3.8.3", "vscode-test": "^1.3.0" }, "dependencies": { "execa": "^4.0.2" } }