Skip to content

Commit

Permalink
settings configuration keys for BJLS logging
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeiShmidman authored Dec 22, 2021
1 parent d8f3659 commit 7bbee72
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/cache@v2
with:
path: |
./bazel-vscode-0.0.4.vsix
./bazel-vscode-0.0.5.vsix
key: ${{ env.cache-name }}-${{ github.run_id }}
publish:
needs: [build]
Expand All @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/cache@v2
with:
path: ./bazel-vscode-0.0.4.vsix
path: ./bazel-vscode-0.0.5.vsix
key: ${{ env.cache-name }}-${{ github.run_id }}
- name: Create tag
if: contains(github.ref, 'master')
Expand All @@ -67,8 +67,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bazel-vscode-0.0.4.vsix
asset_name: bazel-vscode-0.0.4.vsix
asset_path: ./bazel-vscode-0.0.5.vsix
asset_name: bazel-vscode-0.0.5.vsix
asset_content_type: application/octet-stream
- name: Publish Release
if: contains(github.ref, 'master')
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 25 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publisher": "salesforce",
"repository": "https://github.com/salesforce/bazel-vscode",
"description": "bazel-vscode",
"version": "0.0.4",
"version": "0.0.5",
"engines": {
"vscode": "^1.46.0"
},
Expand All @@ -29,6 +29,30 @@
".*\\.bazelproject$",
".*\\.java$"
],
"configuration": {
"title": "BJLS",
"properties": {
"java.import.bazel.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Bazel importer.",
"scope": "window"
},
"java.bjls.log.level": {
"type": "string",
"enum": ["debug", "warn", "info", "error"],
"default": "info",
"description": "The severity of logging messages (debug, warn, info, error)",
"scope": "window"
},
"java.bjls.log.extended": {
"type": "boolean",
"default": true,
"description": "Enable/disable the extended logging into <user_home>/bef.log file.",
"scope": "window"
}
}
},
"commands": [
{
"command": "bazelimport.menus.viewtitle",
Expand Down

0 comments on commit 7bbee72

Please sign in to comment.