Skip to content

Commit 2014599

Browse files
committed
init(repo): initial commit for the repository
0 parents  commit 2014599

51 files changed

Lines changed: 11467 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/update.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: update_server
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 1 * *"
7+
jobs:
8+
update-server:
9+
permissions:
10+
contents: write
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: 18
20+
21+
- name: Set up Java
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: "temurin"
25+
java-version: "21"
26+
27+
- name: Set up Maven
28+
uses: stCarolas/setup-maven@v5
29+
with:
30+
maven-version: 3.8.2
31+
32+
- name: Verify Node and Java
33+
run: |
34+
node --version
35+
java -version
36+
mvn --version
37+
38+
- name: Update artifacts
39+
env:
40+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
41+
run: |
42+
make update
43+
44+
- name: Commit changes
45+
env:
46+
COMMIT_MSG: |
47+
bump(version): Update server artifacts
48+
run: |
49+
git config user.email "actions@github"
50+
git config user.name "Github Actions"
51+
git add .
52+
git diff --quiet && git diff --staged --quiet || (git commit -m "${COMMIT_MSG}"; git push origin HEAD:${GITHUB_REF})

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
**/node_modules/
2+
.DS_Store
3+
target/
4+
bin/
5+
out/
6+
**/lib
7+
**/*.vsix
8+
.vscode-test/
9+
vscode-java-*.vsix
10+
packages/
11+
dist
12+
**/.settings
13+
**/.classpath
14+
**/.project
15+
**/.checkstyle
16+
test-resources/
17+
**/.gradle

.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib

.npmignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
src/
2+
node_modules/
3+
vscode-java-dependency/
4+
tsconfig.json
5+
*.map
6+
.tags
7+
.DS_Store
8+
webpack.config.js
9+
esbuild.js
10+
yarn.lock
11+
yarn-error.log
12+
.github
13+
.eslintrc.js
14+
.prettierrc

CHANGELOG.md

Lines changed: 348 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.PHONY: update
2+
update:
3+
./scripts/update.sh

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# General
2+
3+
Fork of [vscode-java-dependency](https://github.com/microsoft/vscode-java-dependency) to works with
4+
[coc.nvim](https://github.com/neoclide/coc.nvim).
5+
6+
## Manage Dependencies
7+
8+
You can work with JAR files directly without any build tools. Go to `JAVA PROJECTS` view, find the `Referenced Libraries` node and click the
9+
`+` icon: If you want to fine-tune this, go to `settings.json` and look for the `java.project.referencedLibraries` entry.
10+
11+
```json
12+
"java.project.referencedLibraries": [
13+
"library/**/*.jar",
14+
"/home/username/lib/foo.jar"
15+
]
16+
```
17+
18+
You can tell that the glob pattern is supported. And here's more - you can include/exclude certain files, and attach source JARs:
19+
20+
```json
21+
"java.project.referencedLibraries": {
22+
"include": [
23+
"library/**/*.jar",
24+
"/home/username/lib/foo.jar"
25+
],
26+
"exclude": [
27+
"library/sources/**"
28+
],
29+
"sources": {
30+
"library/bar.jar": "library/sources/bar-src.jar"
31+
}
32+
}
33+
```
34+
35+
## Settings
36+
37+
| Setting Name | Description | Default Value |
38+
| -------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------- |
39+
| `java.dependency.showMembers` | Specify whether to show the members in the Java Projects explorer. | `false` |
40+
| `java.dependency.autoRefresh` | Specify whether to automatically sync the change from editor to the Java Projects explorer. | `true` |
41+
| `java.dependency.refreshDelay` | The delay time (ms) the auto refresh is invoked when changes are detected. | `2000ms` |
42+
| `java.dependency.packagePresentation` | Specify how to display the package. Supported values are: `flat`, `hierarchical`. | `flat` |
43+
| `java.project.explorer.showNonJavaResources` | When enabled, the explorer shows non-Java resources. | `true` |

0 commit comments

Comments
 (0)