diff --git a/headless-services/spring-boot-language-server/build.sh b/headless-services/spring-boot-language-server/build.sh index 995aac236..9c5bf4644 100755 --- a/headless-services/spring-boot-language-server/build.sh +++ b/headless-services/spring-boot-language-server/build.sh @@ -4,4 +4,4 @@ set -e -f ../pom.xml \ -pl spring-boot-language-server \ -am \ - clean install + clean install -DskipTests diff --git a/vscode-extensions/commons-vscode/icons/boot-icon.svg b/vscode-extensions/commons-vscode/icons/boot-icon.svg new file mode 100644 index 000000000..3183d7108 --- /dev/null +++ b/vscode-extensions/commons-vscode/icons/boot-icon.svg @@ -0,0 +1,8 @@ + + + + + Asset 1 + + \ No newline at end of file diff --git a/vscode-extensions/commons-vscode/src/highlight-service.ts b/vscode-extensions/commons-vscode/src/highlight-service.ts index cd7915166..a6e4b4310 100644 --- a/vscode-extensions/commons-vscode/src/highlight-service.ts +++ b/vscode-extensions/commons-vscode/src/highlight-service.ts @@ -28,9 +28,18 @@ export class HighlightService { constructor() { this.DECORATION = VSCode.window.createTextEditorDecorationType({ // textDecoration: "underline", - gutterIconPath: path.resolve(__dirname, "../icons/boot-icon.png"), - gutterIconSize: "contain", - outline: "#32BA56 dotted thin" + // gutterIconPath: path.resolve(__dirname, "../icons/boot-icon.png"), + // gutterIconSize: "contain", + // outline: "#32BA56 dotted thin", + before: { + contentIconPath: path.resolve(__dirname, "../icons/boot-12.png"), + margin: '2px 2px 0px 0px' + }, + backgroundColor: 'rgba(109,179,63,0.25)', + borderColor: 'rgba(109,179,63,0.25)', + borderSpacing: '4px', + borderRadius: '4px', + borderWidth: '4px' }); this.highlights = new Map(); } @@ -49,6 +58,7 @@ export class HighlightService { let highlights : Range[] = this.highlights.get(uri) || []; let decorations = highlights.map(hl => toDecoration(hl)); editor.setDecorations(this.DECORATION, decorations); + editor.setDecorations(this.DECORATION, decorations); } } }